table of Contents
- cd
- ls/ll
- pwd
- whoami
- clear
- mkdir
- rmdir
- mv
- vim
1, cd command
cd command is one of the whole linux common commands, is to switch folders in windows, we can click on the drive letter folder to check their desired folder, although you can also linux, but this by clicking to switch will be greatly reducing the efficiency of our work, while some linux distributions there is no graphical interface, so we have to learn how to switch by cd file folders to find what we want
2, ls and ll command
ls and ll command is very basic commands, ls displays all files in the current directory, but there are limitations, is the hidden files and permissions of some files, etc. will not be displayed, it will show more and ll, permissions, and. files will always be displayed
3, pwd command
A very simple command, was to show the path of the current file, preventing you forget to switch the folder to which
4, whoami command
The short answer is also a command to display the current working user
5, clear command
Clear Page command interface if you spend too much, you can use this command to clear the screen
6, mkdir command to create an empty folder
mkdir to create an empty folder, create a folder directly into and create folders recursively.
7, rmdir to delete empty folders
rmdir can delete a folder, but only if the folder is empty.
8, mv command
The first function is a function to move the file to another folder
The second function is the function of renaming a folder
9, vim command
Editing features, we often use this feature to modify a file
Enter the edit page Home Yao An insert edit to display i
Exit edit mode, first press esc then add: in connection parameters, where information can refer to withdraw my blog look at the corresponding parameters
10, touch creates the file
We often used to create the files, such as txt format