Linux directory structure and file permissions

Source: Internet
Author: User
Instructions for installing banner: First step: sudo apt-get update

Step two: sudo apt-get install Sysvbanner

It worked

Create new user directive: sudo adduser user name Switch user instruction: Su-l user name

Create multiple file commands at once: First step: Touch love{1..10}linux.txt Second step: LS *.txt

View file directive: Ls-l

Modify the file owner between two users

FHS standard document The first step sudo apt-get update the second step of sudo apt-get install the tree target path using the CD command allows you to switch directories, which are used within Linux. Represents the current directory,.. Indicates the previous level of the directory (* * Note, remember our previous section, as described in. The beginning of the file is hidden files, so the two directories must also be hidden, you can use the LS-A command to view the hidden file),-Indicates the last directory, ~ usually represents the current user's "home" directory. Use the PWD command to get the current path (absolute path).

Linux directory structure and file permissions

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.