One, install the Linux operating system
The beginning of the download of Ubuntu is more troublesome, and then sent to me by the classmate, to be installed. According to the tutorial, there is no problem, just download the more troublesome.
Second, on the study of Linux
1,linux System Introduction and some basic operations
| Key |
Command |
| tab |
Command completion |
| CTRL + C |
Forcibly terminates the current program, but does not cause the terminal to exit |
| Ctrl+s |
Pause the current program, pause and press any key to resume running |
| Ctrl+d |
Keyboard input end or exit terminal |
| CTRL + Z |
Put the current program in the background to run, restore to the foreground for command FG |
2, user and file Rights management
Who commands common parameters
| Parameters |
function |
| -A |
Print can print the |
| -D |
Print the Dead process |
| -M |
with Am I |
| -Q |
Print the current number of logged-in users and user names |
| -U |
Print current logged in user login information |
| -R |
Print Run level |
su< > Switching users
do< > Privilege Level Run command
* * Job * *
3,linux directory and file basic operation
Homework
4, environment variables and file lookup
| Command |
function |
| Declare |
Creating variables |
| = |
Assign value |
| Echo and $ |
Value of reference variable |
| Set |
Displays all variables for the current shell, including the built-in environment variables (related to shell appearance, etc.), user-defined variables, and exported environment variables. |
| Env |
Displays the environment variables that are relevant to the current user, and lets the command run in the specified environment. |
| Export |
Displays variables that are exported from the Shell to an environment variable, and can also be exported to an environment variable by it. |
5, file packaging and decompression
The Zip,-r parameter indicates that the recursive package contains the entire contents of the subdirectory, and the-Q parameter is expressed in quiet mode, that is, no information is output to the screen,-O, which indicates the output file, followed by packaging the output filename. The compression level is expressed in 1-9. 9 means minimum compression.
Rar,unrar Decompression
Tar,-c indicates that a tar package file is created, and-F is used to specify the file name created.
6, file operations and Disk Management
DF, view the disk capacity.
Mount, command mount disk to directory tree
mount [Options] [source] [directory]
Mount [-o [Operation Options]] [-t file system type] [-w|--rw|--ro] [File system source] [Mount Point]
Help commands under the 7,linux
Help, display the command's pieces to assist with the information.
Man, show more details than help.
Info, more details.
20165222 preparatory work 3 Linux installation and learning