20165222 preparatory work 3 Linux installation and learning

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.