Linux study Note 1: Common commands

Source: Internet
Author: User
Linux Study Notes 1: commonly used commands ctrl + alt + (F1-F6) switch to character interface ctrl + alt + F7 switch to graphic interface useradd [] user name add user passwd [] user name change user password su user name... information & nbsp; |
Linux Study Notes 1: commonly used commands ctrl + alt + (F1-F6) switch to character interface ctrl + alt + F7 switch to graphic interface useradd [] user name add user passwd [] user name change user password su user name switch user www.2cto.com cp copy Directory add-r option -f mv cut mkdir-p (parent automatically generates the parent directory) pwd current directory ls-a (including hidden directory files) tar packaging and compression: tar cvf XXX.tar/xx (Directory files to be packaged) package tar xvf XXX unpackage tar cvzf XXX package and compress tar xvzf XXX decompress and unzip uncompress a. zip file chmod change access permission u owner o other user g same group user a all user www.2cto.com and chmod XXX file name forex: chmod 777 HELLO. c. all users get all permissions. rpm [] Installation File name: rpm-ivh XXX. rpm-qa list all installed installation packages rpm-e XXX unmount the installation package mount file mount/dev/cdrom/mnt/umount unmount the find file. /-name 'XXX' | 'XXX * 'www.2cto.com grep search string grep "hello ". /-rn-r search scope includes directory and its sub-files-n list row number ps view all processes kill process man View help information stewen_001

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.