Unix Linux | File system

Source: Internet
Author: User

1. ls [options ] [file ] Displays the file information in the directory

      • -A show all files (including hidden files)
      • -L View details about the file's properties, size, and more
      • -al View all files and their attribute information in the current directory
      • -D Display Directory property information
      • -ld displaying permissions and property information for a directory
      • -f,-classify When displaying directory entries, add a/

2. chown[option] [parameter] to change the owner of a file or directory and the group to which it belongs

3. find[options] [parameters] are used to locate files under the specified directory. Any string that precedes the parameter will be treated as the name of the directory you want to find. If you use this command without setting any parameters, the Find command looks for subdirectories and files under the current directory. and displays all the subdirectories and files that are found. (Http://man.linuxde.net/find)

      • -atime<24 hours;: Finds files or directories that have been accessed at a specified time, in 24-hour terms;
      • DayStart: Calculate the time from today;

The 4.cut[option] [parameter] is used to display the specified part of the row, deleting the specified field in the file. Cut is often used to display the contents of a file, similar to the following type command. (http://man.linuxde.net/cut)

      • -B: Displays only the contents of the direct range specified in the row;
      • -C: Displays only the characters of the specified range in the row;
      • -D: Specifies the delimiter for the field, and the default field delimiter is "tab";
      • -F: Displays the contents of the specified field;


    

Unix Linux | File system

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.