Linux file System: Tree file system, root start, strictly case-sensitive
Ctrl+alt+t Open Terminal
Ctrl+alt+f1 from graphical interface to terminal
Ctrl+alt+f7 back to the graphical interface
PWD Displays the current working directory
The CD changes the directory and returns to the total directory in the sub-directory
LS list the current directory blue is the folder white is the file
Cd.. Return to the previous layer and can be reused, such as CDs. / .. /This way, CD./represents the current directory CD./root back to the root directory
LS View current directory
Ls-l View the details of a file in the current directory
Ls-la view hidden files, hide files with. start
If music and download are on the same level into the download back to music:
The first type: CD. Enter CD music
The second type: CD. /music
tab to complete the name, such as the folder has the beginning of D three files, type cd D after the Double tab key, you can display all the files beginning with D. If there's only one, fill this one.
Download and install the software:
Download: sudo. Apt-get Install software name
Uninstall: sudo. Apt-get remove
Folder modification permissions: sudo chmod-r
File modification permissions: sudo chmod (permissions you want to give) file name
mkdir new Folder
Touch Create a new file
Three ways to write files in Linux: Gedit/cat/vim filename. File type (equivalent to three kinds of software)
Gedit similar to TXT under Windows, various shortcut keys apply
Cat is more trouble is the need to command the interface has written a variety of commands how to use under the terminal to display the contents of the file
Vim is a bit more complicated.
Linux basic commands