2013-07-17

Newbies always think Linux distros are hard or difficult to understand so far as the terminal is concerned. Most of them nearly went back to the operating system they were using previously. But got used to the system since there are people in the community who are always ready to help newbies.

Almost every Linux geek today have gone through the same thing and knows how it feels to be in the shoes of a newbie.

Since they (advanced users) were also helped by others to get used to things as newbies, the cycle continues. Yes, this is why the community will continue to grow at a rate we can’t even describe.

Today am going to show any Linux newbie who is finding things very difficult with the terminal.

NOTE: The angle brackets (< and >) in this tutorial are not part of the commands. (Please do not type them)

1. whoami

The command above when separated into individual words reads “Who am I”. This is just asking someone who knows your name already, what is my name? It displays the name of the current user in the terminal.

2. ls

ls is used to list the contents of a directory.  Some options that can be added to ls are ; -l which prints out a long list, -a shows hidden files, -r sort listing in the reverse way, -t sort list by time (last modified)

3. mkdir

mkdir is used to create a new directory (new folder) ie.

4. pwd

pwd (print working directory) prints out the path of the current working directory.

5. mv

mv is used move (rename) files.

6. man

man finds and displays the manual of a command.

It also display its own manual. ie

7. cd

Changes working directory to the specified directory after cd. cd without any parameter changes directory to HOME directory of user. 

To move one step up the current directory, use:

8. rm

rm is used to remove or delete files. Removing a file on Linux is permanent, recovering it might be very difficult. Using options such as –r recursive and –f force are very dangerous. Always, the rm command is used in the format rm –i. The option –i prompts to see whether you are sure or not.

Type y for Yes or n for No and press Enter.

9. cal

This displays calendar, mostly the current month and day. It can also be used in addition with any year to view the full calendar of that year. ie $ cal 2013 , displays the full 12 months calendar for the year 2013.

10. date

Prints out the current date in a long format including time zone

---------------------------------------------------------------------
10 Commands Every Linux Newbie Should Know – Part 1

Show more