LINUX File System related commands:
1. To view the file directory command: ls
Parameters: -A : list all files, including hidden files
- H: display files in a way that is easier for humans to read
- L: List Farm data strings, including properties and permissions for files = " ll
- R: together with subdirectories listed together
2 , copy files or directories: CP ( Note:copy shorthand )
parameter: - F: Force replication (do not prompt)
- I.: prompt when overwriting
- P: copied along with the attribute.
- R: recursive replication (along with all content in subdirectories)
- D: Copy the linked file properties.
-A : equivalent to –pdr
3 , deleting files or directories : RM
Parameters: - F Force Delete, do not prompt
- R recursively Delete subdirectories and directories under directory content
- I. Interactive Inquiry, whether to delete
4 , moving files or directories ( rename ) : MV
- F Force Delete, do not prompt
- R recursively Delete subdirectories and directories under directory content
5 , create a directory command: mkdir
6 , delete directory : RmDir
This article is from the "Bean Daddy Blog" blog, please make sure to keep this source http://imlearner.blog.51cto.com/9615100/1969724
Linux file system-related commands