Linux Basic Five

Source: Internet
Author: User

1. File operation     stat  display file or file system status         touch         access time         modify time        change time         -C: Do not create empty file         -a: Modify access time only          -m: Modify only modified time         -T:STAMP [CC] Yymmddhhmm.ss           2. User and Rights Management       User: Resource allocation, one of the core elements of the security permissions model      password: User authentication          Create user         ueradd  adduser             -u  uid: Specify uid             -g &nbsp GID: Specify user base Group ID, group must already exist             -G   GID: Specify user extra group, group must already exist             -d     &NBSP: Specifies the user directory, which does not exist in advance             -c    " ": Specify comment information             -s     &NBSP: Specifies the default shell (with path), specifying the use of shell         that appears in the/etc/shells file     -M    &NBSP: When creating a user, force the home directory to be created              -M    &NBSP: When creating a user, the home directory is not created              -D    &NBSP: Create a new default value for the user


Linux Basic Five

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.