Linux Commands That A Linux Newbie Should Learn, Know and Remember

Enough with those basic call and text mobile phones. As we would say, its time to move forward and take care of business.

Well, this entry will just give out our thoughts on basic Linux. We all know that Linux has been getting attention due to it because of its flexibility and the “no-licensing” issues that are found on other commercial software.

We have also noticed that Linux has been getting enormous usage and support from SME’s to those huge enterprises who had realized that value of this software to their businesses.

But to a newbie, Linux can be quite frightening. Although all Linux variants these days come with their respective GUIs, it’s a testament to how far Linux has come that users today don’t typically have to use the command line if they don’t want to. Such is the quality of the graphical user interfaces in many modern Linux distributions (or we call them distros)  that there’s simply no need, in general.

Yet the command line can be a highly efficient way of getting things done in the Linux world–it’s often a much simpler, easier and more direct method than clicking through all the menu choices.  In fact, this is the same as using a windows command line, which many Windows users are not familiar with these days.

We  believe fear of the command line is one of the top mistakes newcomers to Linux sometimes make. For that reason, let’s look at some of the main commands any Linux user should know.

1. man

I begin with the “man” command because in many ways it’s the most fundamental. This command is what you should use when you want to learn more about another command.

Essentially, “man” displays online manual pages to provide a basic introduction to the various other commands that are available. Using it can help you understand the functions of those commands as well as how to use them. You can even type “man man” to get the man page for “man” itself.

If you’re ever unsure of a command you’re about to use, try typing “man” along with the command to learn more about exactly what it does.

2. ls

Another fundamental command is “ls,” which displays the contents of your current directory. For example, “ls ~” will show you the files in your home directory.

3. pwd

To find out which directory you’re working in, type “pwd,” which is short for “print working directory.” Typed in the desktop directory, for example, this command will return “~/desktop.”

4. cd

To change the directory you’re in, use this command. To switch to the desktop directory, for instance, you’d type “cd desktop.”

5. mkdir

To create a new directory, this is the command you’d use. For example, “mkdir pictures” will create a directory called “pictures.”

6. find and locate

To search for a file, you can use either “find” or “locate,” both of which are very similar.

7. cp

This is the command to use when you want to create a copy of a file with a new name. Type “cp cats dogs,” for instance, and you’ll get an exact copy of “cats” named “dogs”; the file “cats” will still be there too.

8. mv

With “mv,” you can change the name of a file or move it to another directory–or both. Typing “mv cats dogs” will rename the file “cats” to “dogs,” for example, while typing “mv cats ~/desktop” will move the file “cats” to the desktop directory without renaming it.

9. more

The “more” command allows you to see the contents of a file one screen at a time.

10. kill

When you want to stop an application, there’s no more efficient way to do it. Typically “kill” is used after “ps,” which lets you find out the process ID of what you want to kill.

11. sudo

Part of the reason Linux is so secure is that only the root user has the privileges needed to install or remove applications and make other big changes. To install an application as a regular user, the sudo command can give you those root privileges temporarily. You will, however, have to enter your password.

12. passwd

Need to change your password? Then just type this command at the prompt, and it will ask you to type the current password and then a new one.

Keep in mind that the documentation that goes with the Linux distribution you’re using can probably help. In Ubuntu, for example, the help section  on the command line is a nice place to learn about the various commands and what you can do with them.’s “Getting Started with Linux” tutorial is also a great place to explore.

Either way, learning a few basic commands is a good first step toward getting truly comfortable with Linux. You’ll soon see that the command line really is your friend.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s