Linux Learning Notes

Source: Internet
Author: User
Tags parent directory

[[Email protected]~]# root: Currently logged in user localhost: hostname ~: Current user's initial directory location #: Represents Super User $: The home directory of the normal user administrator is/roo     T ordinary user/home/username Command Format command [options] [parameters] [] can be added without the-a display all files, including hidden files-L display detailed file-D View Directory Properties ls-ld/etc/ -H User-friendly display file size-I display inode multiple options can be put a piece write-a-l =-al-l Details permission 10 bit-rw-r--r--first bit represents file type "-" normal File "D" directory "L" soft Connect back 9 bits, each three for a group of U owners G-owned group O other people R Read W write x executeLs-lh-rw-r--r--. 1 root root 1.2k January 18:18 install.log "." The number that represents the ACL permission point indicates the reference count (the file was called several times) the first root indicates that the owner of the second root indicates that the owning group 1.2k size is the last modification time. Files that begin with are hidden files recursively creating directories mkdir-p Dir1/dir2 Ctr L+l Clear CD ~ Enter home directory CD into home directory CD-go to the last directory CD. Enter the parent directory PWD displays the current directory location RM-RF [file name or directory] Date display time copy command: CPCP [options] [source file or directory] [destination directory] Option:-r copy Directory-p file attributes Copy-D If the source file is a link, copy the Link property-a equivalent to-PDR MV [source file or directory] [target directory] if the source and destination files are renamed in the same directory, not in the same directory is cut

Linux Learning Notes

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.