10 Basic Linux Commands for Newbies

Home/Linux/10 Basic Linux Commands for Newbies

10 Basic Linux Commands for Newbies




Linux directors cannot live by the GUI interface alone. That is why we’ve compiled the foremost essential UNIX system commands into this convenient guide. We’ve designed this guide specifically for UNIX system managers and system directors as a reference library of solely the foremost helpful utilities. By learning the way to use many straightforward tools, command-line cowards will become the scripting commandos, obtaining the foremost out of UNIX system by capital punishment kernel and shell commands. Relish our guide and take care to post your own UNIX system queries or browse UNIX system answers in our comment section below. If we get a majority on an issue we will go to resolve that issue by making a specific particular post for that.

About Linux

Linux was developed by Linux Torvalds at the University of Helsinki in Finland(Finnish capital). He started its development in 1991. The effort enlarged with volunteers conducive code and documentation over the net. It’s presently developed underneath the GNU public license and is freely out there in source and binary form.

Following are 10 basic commands you can use via CLI:

1. cd

The cd command stands for Change Directory. It allows the user to traverse between the directories. Like if user is in the Downloads directory and wants to change it to Android directory(my android directory is on Desktop).

Syntax: cd path_of_destination_directory

Example: cd Desktop/Android/

2. ls

The ls command stands for List. It allows user to list all the files, folders and directories of the directory one wants to view.

Syntax: ls directory_name/

Example: ls Desktop/

3. mkdir

The mkdir command stands for Make Directory. Like if you have worked on Windows OS you must have Right-clicked on screen -> Clicked on New -> Clicked on Folder but in Linux you have to type mkdir to make a directory at the location you want.

Syntax: mkdir directory_name

Example: mkdir testingdirectory

4. mv

The mv command stands for Move. It allows the user to move a file from one folder or directory to another folder or directory. Even it can move a directory too.

Syntax: mv desired_file path_of_destination

Example: mv Desktop/test.txt Downloads/Android

5. rmdir

The rmdir command stands for Remove Directory. It allows user to remove an existing directory provided the directory should be empty.

Syntax: rmdir directory_name

Example: rmdir Desktop/testingdirectory

6. touch

The touch command is used to make empty files just like you create directories by mkdir command, touch command is used to create files.

Syntax: touch file_name

Example: touch testingfile.txt


7. rm

The rm command stands for Remove. It is basically used to remove files from the Linux system. Whereas you see that rmdir only removes an empty directory while rm command removes both files and directory containing files in it.

Syntax: rm file_name

Example: rm testingfile.txt

8. clear

The clear command will precisely do what it says. Once your UNIX operating system CLI gets all mucked up with varied readouts and info, the clear command clears the screen. Use of the clear command can take the user back to the beginning prompt of no matter directory you’re presently operation in.

Syntax: clear

9. cp

The cp command stands for Copy. It allows user to copy a file from the source directory to the target directory. This command doesn’t work for copying directories.

Syntax: cp source_file target_directory

Example: cp testingfile.txt Downloads/Android

10. find

The find command, as the name suggests search the desired file in the given directory. Like if you want to find testingfile.txt in the Android directory then you have to enter the path to your Android directory and then search for th required file. 

Syntax: find file_name

Example: find Downloads/Android/testingfile.txt

 

By | 2017-05-22T19:27:42+00:00 April 16th, 2017|Linux|18 Comments

About the Author:

18 Comments

  1. Tania Yousaf April 20, 2017 at 5:06 pm - Reply

    Linux can feel like a whole different language! Thank you for the break down. I was just having a conversation with a friend about this the other day and thought it would be so helpful to find a list of commands! Sending your blog over to them ASAP!

    • Sachin Kumar April 21, 2017 at 11:26 am - Reply

      Sure Tania Yousaf, stay tuned for further break downs.. hehe

  2. Modern Home April 20, 2017 at 5:08 pm - Reply

    Oh my,… Linux is not for my brain. even it a free source. I just know linux for the android system.. more than that, Blank!!

    • Sachin Kumar April 21, 2017 at 11:25 am - Reply

      Hehehe, not a problem but if u use it you will find Linux better than any other operating system…

  3. Jessica Deratany April 20, 2017 at 5:32 pm - Reply

    Love the quick reference! Thank you!

  4. Jenna April 20, 2017 at 5:39 pm - Reply

    I feel like I definitely don’t know much of anything about Linux, so I could definitely use some basics. :)

    • Sachin Kumar April 21, 2017 at 11:07 am - Reply

      Ya, you should try for it. You will definitely find it interesting ^_^

  5. Onyinyechi April 20, 2017 at 6:09 pm - Reply

    Nice post! Unfortunately, I know nothing about tech words

    • Sachin Kumar April 21, 2017 at 11:04 am - Reply

      Hehe… no problem, you can get your type in the Trend Feed.

  6. Phaytea April 20, 2017 at 8:32 pm - Reply

    This is new information to me

    • Sachin Kumar April 21, 2017 at 11:00 am - Reply

      I am glad to provide some new information.. Thank you Phaytea

  7. Bethel April 21, 2017 at 1:11 pm - Reply

    Who doesnt love Linux? Thanks for this and the examples you gave make this very helpfulT

  8. Emily April 22, 2017 at 4:19 pm - Reply

    I’m also a beginner here so thanks for the informative post! :)

  9. LinuxHostSupport April 26, 2017 at 4:38 pm - Reply

    Nice list of commands for anyone who wants to learn how to manage Linux through the command line.

  10. cinema box apk April 28, 2017 at 4:22 pm - Reply

    You ought to take part in a contest for one of the best blogs on the web.

    I am going to highly recommend this site!

Leave A Comment

nine + twelve =

Avada WordPress Theme