Unix:(提纲)关于目录和文件的操作
2014-08-05 16:37
423 查看
参考文献:Harley Hahns:Guide to Unix and Linux, Chap 24,25
目录的操作:
——》you can change your "working directory" by using "cd" (change directory) command;
——》moving around directories: cd, pwd
——》make & remove a directory (folder): mkdir, rmdir
——》moving
or renaming a director : mv
——》using
the directory stack
——》display
information about a directory : ls
——》checking
file types: file
——》space
usage of a file: ls -s
——》an
important point: The amount of disk space used by a file is not the same as the amount of data in the file
——》wildcards
——》displaying
a directory tree : tree
******************************************************************************************************************
文件的操作:chap 25
——》creating a file : vi | redirect | cp
——》copying
a file : cp
——》copy
a directory and all of its files to another directory
——》move
a file to a different directory: mv
rename a file of directory : mv
——》delete
a file: rm
——》delete an entire directory tree: rm -r
——》FILE
PERMISSIONS
目录的操作:
——》you can change your "working directory" by using "cd" (change directory) command;
——》moving around directories: cd, pwd
——》make & remove a directory (folder): mkdir, rmdir
——》moving
or renaming a director : mv
——》using
the directory stack
——》display
information about a directory : ls
——》checking
file types: file
——》space
usage of a file: ls -s
——》an
important point: The amount of disk space used by a file is not the same as the amount of data in the file
——》wildcards
——》displaying
a directory tree : tree
******************************************************************************************************************
文件的操作:chap 25
——》creating a file : vi | redirect | cp
——》copying
a file : cp
——》copy
a directory and all of its files to another directory
——》move
a file to a different directory: mv
rename a file of directory : mv
——》delete
a file: rm
——》delete an entire directory tree: rm -r
——》FILE
PERMISSIONS
相关文章推荐
- 关于目录和文件路径的操作函数
- c++ Builder 关于文件和目录的操作
- Linux学习(一)---关于文件和目录的基本操作命令
- 【Unix/Linux】【命令】【文件,目录操作工具】搜索文件——find命令
- 关于文件、目录操作的函数
- [IOS]关于文件(文件目录)的读写操作
- 【Unix/Linux】【命令】【文件,目录操作工具】创建目录——mkdir命令
- 计算机系统:关于Unix文件系统,对硬盘的操作等
- 【Unix/Linux】【命令】【文件,目录操作工具】移动,重命名文件,目录——mv命令
- unix文件和目录操作的函数stat()、fstat()、lstat()、access()、umask()函数
- Linux下关于文件&&目录操作的命令小结
- Python中关于文件和目录的操作[转]
- 【Unix/Linux】【命令】【文件,目录操作工具】删除文件或目录——rm命令
- UNIX常用命令-目录及文件操作命令
- 关于Unix/Linux之Inode之我见----------Unix环境高级编程--目录、文件
- unix下面目录的详细操作(包括实现给定目录遍历下面所有文件)
- 《UNIX-Shell编程24学时教程》读书笔记Chap3,4 文件,目录操作
- UNIX基本命令-目录及文件操作
- UNIX环境编程学习笔记(12)——文件I/O之目录操作
- Delphi中关于文件、目录操作的函数