Home >Operation and Maintenance >Linux Operation and Maintenance >How to use linux commands
How to use Linux commands
Tips for learning terminal commands:
● Not required Memorize common commands by rote. If you use them more, you will naturally remember them
● Don’t try to learn all the commands at once. Some commands are very uncommon. If you encounter them temporarily, you can use Baidu temporarily
● To view the usage of a command, you can use the man command, for example: man ls
command | Corresponding English | function | |
---|---|---|---|
ls | list | View current Contents under the folder | |
pwd | print wrok directory | View the current folder | |
cd [directory name] | change directory | Switch folder | |
touch [file name] | touch | If the file does not exist, create a new file | |
mkdir [Directory name] | make directory | Create directory | |
rm [File name] | remove | Delete the specified file name | ##07 |
clear | Clear the screen (shortcut key ctrl l) |
Linux Getting Started
The above is the detailed content of How to use linux commands. For more information, please follow other related articles on the PHP Chinese website!