Preview

20 Basic Linux Command Line Tricks And Tips For Newbies

Satisfactory Essays
Open Document
Open Document
498 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
20 Basic Linux Command Line Tricks And Tips For Newbies
20 Basic Linux Command Line Tricks And Tips For Newbies
There is nothing easier in Linux than to work from its command line. So, here we bring some short tips and tricks on Linux command line so that you can experience the true power of Linux!
One of the most useful and powerful tool any Linux user has, is the command line. Although the terminal often scares people away, we aim to make it a comfortable zone for you (particularly the newbies). So if you have decided to take the first step forward, we are here to extend help. Here we demonstrate some of the most useful day-to-day commands and tips. Try on and have fun!
1. Everything in Linux is a file including the hardware and even the directories.
2. # : Denotes the super(root) user
3. $ : Denotes the normal user
4. /root: Denotes the super user’s directory
/home: Denotes the normal user’s directory.
5. Switching between Terminals
§ Ctrl + Alt + F1-F6: Console login
§ Ctrl + Alt + F7: GUI login
6. The Magic Tab: Instead of typing the whole filename if the unique pattern for a particular file is given then the remaining characters need not be typed and can be obtained automatically using the Tab button.
7. ~(Tilde): Denotes the current user’s home directory
8. Ctrl + Z: To stop a command that is working interactively without terminating it. 9. Ctrl + C: To stop a command that is not responding. (Cancellation).
10. Ctrl + D: To send the EOF( End of File) signal to a command normally when you see ‘>’.
11. Ctrl + W: To erase the text you have entered a word at a time.
12. Up arrow key: To redisplay the last executed command. The Down arrow key

can be used to print the next command used after using the Up arrow key previously. 13. The history command can be cleared using a simple option –c (clear).
14. cd : The cd command can be used trickily in the following ways: cd : To switch to the home user cd * : To change directory to the first file in the directory (only if the first file is a directory) cd .. : To move back

You May Also Find These Documents Helpful

Related Topics