Linux operating system and command Part 1

Source: Internet
Author: User
Tags clear screen stdin

1. Installation and flow of Linux systems

(1) Download VMware Workstation with Linux system (CentOS version, Redhat version, Ubuntu version ...) Mirror

(2) Detailed installation see Youdao cloud notes.

2.linux Basic Command operation

Research technology: Create value for yourself, change your life  instead of simply to live Linux basics: POSIX unified systematization Call Standard  --ctrl+alt+f[1~6]  //switch virtual machine multiuser who   //view multi-user  whoami//view Current User Ctrl+l = = Clear  //clear screen echo ' 12344 ' | passwd--stdin user name   //stdin standard input  //echo write back/bin directory Used to store the common executable file/s (uper) Bin directory is  used to store the system executable Linux system principle: All Files command has: Option parameter command SDA=SCSI disk [a-c] HDD root user's home directory--->/ Root normal user's home directory---/homecd= (change directory) ~/  /home directory of current user-  //Last directory Touch//Create file rm= (remove) Delete-   R  Delete directory   -RF//Delete all directories   mkdir  -p Recursive create file directory pwd//view current path Ctrl+e jump to the end of the command CTRL + a  jumps to the beginning of the command. Oldboy   //. Identify as hidden files

  

See which users are working on the system//WHO//For the question and answer delimiterModification current time is August 26, 2018 11:28//date-s ' 2018-08-26 11:28 ' view October 2015 calendar//CAL 10 2015 use two methods to view LS life        Instructions for use//ls--help man ls clear screen clear ctrl-l use "Useradd Tom" command to create a new Tom user, set the password for Tom user "123"//Useradd Tom echo ' 123 ' |     passwd--stdin Tom Switch the current user to Tom/Su Tom view the username//WhoAmI created by the current login Linux system WG//mkdir WG uses absolute path method to create a new file in the WG directory A.txt Touch/wg/a.txt into the WG directory//CD WG lists the contents of the current directory in long list//ls-l Delete empty directory Wg01//RM-RF wg01 go to the previous working directory//CD. Force Delete non-empty directory WG//RM-RF WG copy/etc/passwd to the current directory, named File1//CP/ETC/PASSWD. /file1 read-only view of the contents of the File1 file//cat file1 man file1 see which users are working on the system//WHO modified the current time is August 26, 2018 1 1:28//date-s ' 2018-08-26 11:28 ' view October 2015 calendar//CAL 10 2015 use two methods to view instructions for using the LS command//ls--he LP, man LS clear screen clear/ctrl-l use "Useradd Tom" command to create a new Tom user, set a password for Tom user "123"//Useradd Tom Echo ' 123 ' |     passwd--stdin Tom Switch the current user to Tom/Su Tom view the user name used by the current login Linux systemWhoAmI Creating a directory WG//mkdir WG uses the method of absolute path to create a new file in the WG directory A.txt//touch/wg/a.txt into the WG directory//CD WG lists the contents of the current directory in long list// Ls-l Delete Empty directory Wg01//RM-RF WG01 Enter the previous working directory//CD. Force Delete non-empty directory WG//RM-RF WG copy/etc/passwd to the current directory, named File1//CP/ETC/PASSWD. /file1 read-only view of the contents of the File1 file//cat file1 man file1

  

Linux operating system and command Part 1

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.