- About 3,000 commands in Linux, need to master and familiar with sixty or seventy commands, each command to knock at least 3 times
- Ls-alh
- A show all files including hidden files
- H Display user-friendly file size
- L Display the file details
- -rw-r--r--
- First bit-Indicates file type
- -Represents a file
- D indicates directory
- L indicates a soft connection file
- 9 bits in the back, every three bits for a whole
- Rw-u owner Readable writable
- r--g belongs to group only readable
- r--o others are only readable
- R Read W write x executable
- Next is the file reference count file size file last modified time
- Mkdir-p
- Pwd
- Rm-rf
- The character interface of Linux is no Recycle Bin, deleted can be really no
- Cp-a = cp-pdr
- Connected directories, file attributes copied together
- -D If the source file is a linked file, copy the link property
- ln-s [Source file] [destination file] Generate link file
- What are the differences between soft links and hard links?
- Soft links are somewhat similar to shortcuts under Windows
- Hard links are real duplicates and can be seen as the same file
- Use more soft links in real-world applications
Linux File processing commands