Showing posts with label bash. Show all posts
Showing posts with label bash. Show all posts

The Reason Why C Programming Language Was Named C

The first thing that comes to our mind for the term programming language is C. It is a decade old general-purpose high-level programming language which has defied all norms of popularity. The language has been given the name C because it succeeds another language called B.
Cis one of the most popular computer programming languages which has existed since the last 44 years. It was created by the famous American programmer Dennis Ritchie – with the help of Ken Thompson – while working at Bell Labs. Most of us have this curiosity that why is the programming language named after a single alphabet. And why it is C, not any other letter. Anyways, we would have questioned the name of the programming language even if a different letter was used. So, let’s focus on the story instead.
The naming of C doesn’t involve any crunchy fiction story, like in the case the Linux Penguin Tux. It is said Linus Torvalds, the creator of Linux, contracted penguinitis after a man-eating penguin running at 100-miles per hour attacked him.

Because C comes after B

The reason why the language was named “C” by its creator was that it came after B language. Back then, Bell Labs already had a programming language called “B” at their disposal. The B language, a high-level language created by Thompson, was itself an implementation of the programming language BCPL designed by Martin Richards of Cambridge University.
The Unix operating system was originally created at Bell Labs by Ken Thompson, Dennis Ritchie, and others. It was implemented on the PDP-7 (manufactured by Digital Equipment Corporation in 1965) computer using the assembly language. Later, Unix was ported to PDP-11 using assembly language but the developers thought about rewriting it using B language.
The B language fell short of abilities to take benefit of the features offered by the newer member of the PDP series, the PDP-11. That’s when Dennis Ritchie started working on a new high-level programming language taking clues from B language. C had a great influence on the Unix operating system. In fact, most of the Unix system including a big part of its kernel is now available in C language.
C has been improved from time to time since its initial release. That’s the reason it’s still a part of the curriculum in many schools around the world and it is the 2nd popular programming language. The language has been an inspiration to many other programming languages like C++, C#, Java, PHP, etc.
If you have something to add, tell us in the comments below.

29 Highest Paying Programming Languages You Need To Learn In 2017

Willing to learn new software skills and programming languages in 2017? Well, you’re at the right place. According to a career website, skills with lower job openings rank higher on the list of the highest paying programming languages. While Languages like Objective-C, Scala, and Go help one rake in big bucks, evergreen languages like SQL, Java, and C++ continue to create a large number of jobs.
Recently, we told you about the 20 highest paying software skills for developers. Based on the data from the job site Indeed, this showed favorable conditions for software engineers with the knowledge of cloud-based skills. Overall, Amazon Web Services like DynamoDB and MapReduce turned out to be the winner.
Different career-focused websites keep conducting surveys, collecting industry data, and publishing them on their blogs. Recently, I came across a post by the Paysa Blog, which was named Silicon Valley’s Most Valuable Skills.
I found that blog pretty interesting, particularly the coverage of the highest paying programming languages.
The website has listed the highest paying programming languages by average salary and percentage of job vacancies demanding that language. The chart shared below accounts 29 different programming languages. Before examining the details, let’s take a look
This chart clearly shows one trend — the highly compensated skills are listed on the lesser number of job openings. If we think for a moment and apply the universal demand-and-supply principle, this makes sense.
Objective-C, a programming language that’s slowly being replaced by Apple’s open source Swift programming language, appeared on less than 2% listings. It manages to offer developers and engineers a $140,000 annual salary.
The same trend is observed when we look at Verilog, R, and Scala. Strictly salary-wise, here’s the top 15 list:

Highest paying programming languages

  1. Verilog
  2. Scala
  3. Scheme
  4. Objective-C
  5. R
  6. Perl
  7. Go
  8. Python
  9. C++
  10. C
  11. Ruby
  12. LaTeX
  13. Java
  14. MATLAB
  15. Flex
All 29 languages, along with their position listings, can be seen in the chart shared above.
If we take a look at the position listings, we’ll find that SQL leads the chart, followed by Java, JavaScript, C#, and C++. Being the most in-demand language across all job postings, SQL was one of the lowest compensated languages.
Did you find this article interesting? Which languages do you wish to learn in 2017? Feel free to share your views in the comments section below

How To Pick Your First Programming Language (4 Different Ways)

Learning coding from scratch could be a tough task and it could take years of hard work to master a language. So here I am going to address the biggest problem a beginner faces: How to pick up my first programming language?
Recently I came across with a very enriching infographic that addressed the same question. Udacity has utilized the date of the top ten programming languages in the US (provided by IEEE Spectrum) to pick the best programming language for you as a beginner.
The basis on which this infographic is made varies from location, your lifestyle and the potential growth in career after selecting that particular language.
Based on the flexibility, Python or C++ comes first as it allows you work on the variety of fields such as gaming to making of embedded systems. JS or PHP prepares you for a web development career. Similar observations and trends are made based on the average pay per year, geography and popularity.
Take a look at the infographic below:

Did you find this infographic helpful? Share this article with your friends.

Here is How to run Kali Linux on your Android device | Padsa Information

This tutorial mainly created for Linux fans. Follow the given steps below to install Kali Linux on your Android phone.
Step 1: Install Linux Depoly on your Android Mobile.
Step 2: Now launch “Linux Depoly” and click download icon
Step 3: In Depol tab click and change the Distribution to Kali Linux
Step 4: Now Change the VNC settings according to your mobile screen.
Step 5: Once done click Install(Start GNU/Linux installation).
Note: This might take few minutes to be completed.
Tips: Recommended to do it on a Wi-Fi.
Step 6:  After installing Kali Linux now click Reconfiguration button. After that hit Start.
Step 7: Now download and install Android-Vnc-Viewer and enter the details. Once every goes smooth then you can start using Kali Linux.
Don't forget to comment below .

What Is The Difference Between Sudo And Su In Linux? | Padsa information

Many of you might be using sudo and su in terminal every day to accomplish different tasks. While sudo runs a single command with root privileges, su launches another shell instance with the privileges of the intended user. Both, sudo and su, are use to grant root privileges to the users in different manners.
ALinux user comes across sudo and su in terminal very often. If you are a new Linux user, you might be fascinated by the things you can do with sudo and su. Last week, I also told you about a Windows command that you can use to get sudo-like functionality. Sudo and su  provide root privileges in two different ways. But, how are they different? Here, I’ll try to answer this query.
Before telling you the difference, let me tell you the meaning of a root user. The root user in a Linux system has the maximum permissions and he/she can do anything to the systems. Apart from letting a normal user install/delete some package, root user permissions also act as an extra security layer.
Important: One should also note that these functions are used in a different way in different Linux-based operating systems. Most of the things we’ll discuss here are applicable to Ubuntu and its derivatives. They might differ a little bit in other Linux distributions.

Key differences between sudo and su

The su command stands for super user or root user. It executes on a Linux system with no additional options. The user just needs to add root account password. In the terminal, su also lets you access any other user account using the required password. That’s why su also stands for substitute user or switch user. Simply type su followed by the user account name, e.g., sudo fossbytes, and you’ll enter the password for fossbytes. After completing the job, you can exit the root shell by typing exit. Overall, su basically starts another shell instance with the privileges of the intended user.
On the other hand, sudo runs a single command with root permissions. When a user runs a command with sudo, e.g., sudo command, he/she needs to enter the current user account password to run it as root user. Sudo uses a config file (/etc/sudoers) to define the rights of different users. For detailed information on sudo, you can read our detailed article written by Devin — Sudo in Linux
Comparing the both, sudo lets one use the user account password to run system command. On the other hand, su forces one to share the root passwords to other users. Also, sudo doesn’t activate the root shell and runs a single command.

Using sudo and su in Linux distros

Ubuntu was the first widely used Linux distribution that adopted sudo-only approach by default. When one installs Ubuntu Linux, the root account is created without any password. One needs to assign a password to the root account to log in as root. In Ubuntu and many other Debian-based distros, the user needs to remember just a single password. This way, Ubuntu encourages a user to avoid logging in as a root user. In distros like Fedora, a person needs to create different passwords for root and user accounts.
There’s an often-used combination sudo su that Linux users find helpful. First, sudo asks for your password, and, if it’s provided, it runs the next command as a root user. Also, to run a single command as a root user using su, one needs to use this syntax: su -c ‘command’.
Did you find this article helpful? Don’t forget to drop your feedback in the comments section below.

What Programming Languages Should You Learn to Become A Hacker | Padsa Information

Every hacking beginner can have plenty of doubts like: “Which programming language should I learn for Hacking ?”,

Programming Languages For Hacking:

1# For Web App / Pentesting / Hacking:

HTML: Hypertext Markup Language (HTML) is the basics for creating web pages and other information that can be displayed in a web browser. So if you don’t know HTML you should first learn it.
JavaScript: Learning JavaScript. It will help you to understand the basics of Cross Site Scripting.
PHP / SQL: The majority of web applications are written using PHP and MySQL. So it is a must to learn PHP.

2# For Writing/Understanding Exploits, Shell Codes, Rootkits etc:

C & C++: More than 60 % of the exploits you will find on the web are written in C & C ++. Learning C & C++ will help you to understand about Buffer overflows, Stack overflow etc – so learning C and C ++ is a must for every Hacker/Pentester.
Assembly: Learning assembly will help you in Writing/understanding Shell code, it will also help you in Reverse Engineering applications and software’s.

3# For Building Tools And Scripts:

Python: Python is a very powerful high-level language, it’s easy to learn and code, most of the tools and scripts for automation are written in Python. Knowing Python socket programming will help you a lot in Exploit writing.
Ruby: Ruby is an another language which is used to write scripts, tools. Metasploit Framework is written in Ruby. Learning ruby will help you understand the in and outs of MSF.
Bash: Learning Bash is very useful in writing small scripts for automation.
Hope this answers your question.
Comment below if you have any question .