Professional Documents
Culture Documents
10 Basic Linux Commands That Every Linux Newbies Should Remember PDF
10 Basic Linux Commands That Every Linux Newbies Should Remember PDF
(/)
HOME (/HOME.HTML) LINUX STORE (/LINUX-STORE.HTML) VIDEO TUTORIALS (/VIDEO-TUTORIALS.HTML) Search
LINUX THEMES (/LINUX-THEMES.HTML) FAQS (/FAQS.HTML) ADVERTISE (/ADVERTISE.HTML) CONTACT US (/CONTACT-US.HTML) MORE...
(https://www.facebook.com/linuxandubuntuof
(https://www.twitter.com/linuxandubuntu)
(https://www.instagram.com/mohdsohai
(https://www.linkedin.com/in/mohd
(https://www.
(http://www.pinterest.co
(https://plus.google
ickr.com/peop
(http://feeds.f
(https://
cia
http://www.linuxandubuntu.com/home/10-basic-linux-commands-that-every-linux-newbies-should-remember 1/5
08/06/2018 10 Basic Linux Commands That Every Linux Newbies Should Remember
1. sudo
This SuperUserDo is the most important command Linux newbies will use. Every single command
that needs root's permission, need this sudo command. You can use sudo before each command that (http://www.linuxandubuntu.com/home/how-
2. ls (list)
Just like the other, you often want to see anything in your directory. With list command, the terminal
will show you all the les and folders of the directory that you're working in. Let's say I'm in the
/home folder and I want to see the directories & les in /home. (http://www.linuxandubuntu.com/home/5-
lightweight-linux-for-old-computers)
/home$ ls 5 Lightweight Linux For Old Computers
(http://www.linuxandubuntu.com/home/5-
ls in /home returns the following -
lightweight-linux-for-old-computers)
imad lost+found
3. cd (http://www.linuxandubuntu.com/home/10-
basic-linux-commands-that-every-linux-
Changing directory (cd) is the main command that always be in use in terminal. It's one of the most
newbies-should-remember)
Linux basic commands. Using this is easy. Just type the name of the folder you want to go in from
10 Basic Linux Commands That Every Linux
your current directory. If you want to go up just do it by giving double dots (..) as the parameter.
Newbies Should Remember
(http://www.linuxandubuntu.com/home/10-
Let's say I'm in /home directory and I want to move in usr directory which is always in the /home.
basic-linux-commands-that-every-linux-
Here is how I can use cd commands -
newbies-should-remember)
/home $ cd usr
/home/usr $
(http://www.linuxandubuntu.com/home/6-best-
4. mkdir linux-distributions-for-programming)
6 Best Linux Distributions For Programming
Just changing directory is still incomplete. Sometimes you want to create a new folder or subfolder.
(http://www.linuxandubuntu.com/home/6-best-
You can use mkdir command to do that. Just give your folder name after mkdir command in your
linux-distributions-for-programming)
terminal.
~$ mkdir folderName
5. cp
copy-and-paste is the important task we need to do to organize our les. Using cp will help you to
copy-and-paste the le from terminal. First, you determine the le you want to copy and type the
destination location to paste the le.
$ cp src des
Note: If you're copying les into the directory that requires root permission for any new le, then
you'll need to use sudo command.
6. rm
rm is a command to remove your le or even your directory. You can use -f if the le need root
permission to be removed. And also you can use -r to do recursive removal to remove your folder.
http://www.linuxandubuntu.com/home/10-basic-linux-commands-that-every-linux-newbies-should-remember 2/5
08/06/2018 10 Basic Linux Commands That Every Linux Newbies Should Remember
$ rm myfile.txt
7. apt-get
This command differs distro-by-distro. In Debian based Linux distributions, to install, remove and
upgrade any package we've Advanced Packaging Tool (APT) package manager. The apt-get command
will help you installing the software you need to run in your Linux. It is a powerful command-line tool
Linux And Ubuntu
which can perform installation, upgrade, and even removing your software. google.com/+Linuxandubuntuweb
8. grep
Notice : Please be careful, after translation
You need to nd a le but you don't remember its exact location or the path. grep will help you to
commands will change.
solve this problem. You can use the grep command to help nding the le based on given keywords.
10. powero
And the last one is poweroff. Sometimes you need to poweroff directly from your terminal. This
command will do the task. Don't forget to add sudo at the beginning of the command since it needs
root permission to execute poweroff.
$ sudo poweroff
Conclusion
As I mentioned when I started off the article that these 10 basic Linux
(https://en.wikipedia.org/wiki/Linux) commands will not make you a Linux geek immediately. It'll
help you to start using Linux at this early stage. With these basic Linux commands, start using Linux
and set your target to learn 1-3 commands daily. So it's all for this article. I hope it helped you. Share
with us interesting and useful commands in the comment section below and don't forget to share
this article with your friends.
Related articles
http://www.linuxandubuntu.com/home/10-basic-linux-commands-that-every-linux-newbies-should-remember 3/5
08/06/2018 10 Basic Linux Commands That Every Linux Newbies Should Remember
Like 79 Tweet
Comments (//www.linuxandubuntu.com/home/10-basic-linux-commands-that-every-linux-newbies-should-
remember#comments)
11 Comments www.linuxandubuntu.com
1 Login
Sort by Best
Recommend 11 ⤤ Share
Name
I'm not trying to be critical for the sake of being critical but would recommend that you get a
friend or colleague who reads and writes English proficiently to proofread before you publish.
You should have a friend proofread it. I'm not being mean, just giving you feedback.
△ ▽ • Reply • Share ›
Joe seems therefore to be excessive. But I would be happy to learn what I have
missed.
http://www.linuxandubuntu.com/home/10-basic-linux-commands-that-every-linux-newbies-should-remember 5/5