Linux Basic Commands Tutorial

There are many common Linux commands that will be helpful to you, if you ever even use the command line interface in Linux. Most average users just use the graphical user interface instead which usually has many tools and front-ends to Linux common commands. This Linux tutorial on command commands will help even the average user in case X server crashes, fails, is not properly configured, etc. So continue reading for some of the more common Linux bash commands.

Some of the more common Linux shell commands are listed below for more information on each command you can always run man [command] and this will bring up the manpage for that command, you can also click on the commands listed for some common examples and syntax.

First before I list them any syntax in [] will need some kind of input from you normally, for example:

man [command] you will want to actually replace [command] with the shell command you want to read the man page for: man ls will give you the man page for the Linux shell command ls.

  • linux ls command – is used to list files on the filesystem.
  • file – command that will check the filetype, this will output to you what the file type is no matter what the extension is.
  • mkdir command – used to make directories on the filesystem.
  • cd – is used for changing into a different directory in the Linux shell
  • cp – is the Linux copy command, this shell command is used to copy files|directories from one location on the filesystem to another.
  • mv – the Linux terminal command to move files|directories. Like the cp command, but deletes the original source.
  • rm – shell command in Linux to remove files|directories.
  • Linux cat command- this command is used to print|view the contents of a file to the screen|terminal.
  • grep – command used to search|find contents of a file and print|view on your terminal|screen.
  • Linux more and less – commands that will allow you to read output of files, unlike cat that will output the entire file at once, even if it is too large for your terminal more and less will output only as many lines as the shell you are in can output, and allow you to scroll through the file contents.
  • chown – Linux command to change ownership of a file|directory.
  • Linux chmod – command that allows you to change mode of user access|permissions, basically set read, write, and execute permissions.
  • Linux ps – lists the current running processes on your Linux system
  • Linux kill and killall commands – used to kill|terminate running processes

Comment Linux tutorial or Leave a Trackback

15 Comments

  1. humayun
    Posted May 8, 2009 at 12:36 am | Linux tutorial comment

    i want to learn

  2. Farhana
    Posted July 15, 2009 at 1:31 am | Linux tutorial comment

    plz try to give example for understanding

  3. Posted July 17, 2009 at 5:34 pm | Linux tutorial comment

    If you click on one of the commands it will give you more detailed information and also give examples as well. Thanks.

  4. veena
    Posted July 22, 2009 at 8:28 am | Linux tutorial comment

    send some more new commands

  5. Posted July 28, 2009 at 1:42 pm | Linux tutorial comment

    Yes, I need to add some more commands on here, I will be adding them soon, it’s just hard for 1 person to add information here. I will be adding more basic Linux commands soon. The next step I want to add some tutorials on bash scripting. After that will probably be some information on setting up servers and such. Thanks!

  6. josh
    Posted February 22, 2010 at 4:34 pm | Linux tutorial comment

    can u add more

  7. Posted February 26, 2010 at 5:27 pm | Linux tutorial comment

    yes, I will be adding more soon, it’s just hard to add as much as I want to with only myself writing currently. I have a few more basic Linux command tutorials to write and then I will start working on a little more advanced commands, scripting, configurations and such.. check back regulary to see if I have written any more tutorials.. I think I have 2-3 already written just have to edit them, spelling, grammer, etc before I publish them. Thanks for reading my Linux tutorials and have a great day!

  8. elango
    Posted February 4, 2011 at 5:26 am | Linux tutorial comment

    sir i need all linux commands.but now show the part of command only.this is not good.bad things

  9. souji
    Posted June 1, 2011 at 7:36 am | Linux tutorial comment

    Hi, could you give me links for Basic linux tutorial

  10. Roberto
    Posted July 19, 2011 at 11:51 pm | Linux tutorial comment

    but now show the part of command only.this is not good.they are very happy to learn of linux tutorial and learning or command in linux

  11. Posted July 21, 2011 at 5:50 pm | Linux tutorial comment

    Roberto,
    Click on the command and it will show the entire tutorial.

  12. ed AKA gray
    Posted August 24, 2011 at 10:05 am | Linux tutorial comment

    Thank you. I’ve “intended” to look into Linux for quite some time, but the familiar is all too comfortable. Yesterday, 10 year old XP crashed lost everything; haven’t been able to install update SP3(needed to use my other programs and features. The comfort zone was destroyed.What I’ve been looking for in the blogs, has been the “X” (begin here). I wasn’t tossed in the water, I taught myself how to swim (neither method, I recommend). A lesson or two would make the water more inviting.

  13. tenzin kunsang
    Posted October 6, 2011 at 3:18 am | Linux tutorial comment

    hay i like to know more abt the command line breefly abt the cmmand line with example

  14. madhavi
    Posted August 16, 2012 at 5:45 am | Linux tutorial comment

    thx…it’s really helpful site..

  15. reedhu
    Posted December 11, 2013 at 11:16 am | Linux tutorial comment

    i need all the linux commands, here is only few of them. please provide more linux commands and make use of the site. thanku

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*