2020-02-18

File system management related commands
pwd: print working directory, print the current working directory
cd: change directory, change the current working directory
mkdir: make directory, create a folder
rmdir: remove directory, delete empty folders, you can delete any use rm -rf folder rename: rename files
mv: move, move files
chmod: change mode, modify the file permissions attributes of
chown: change ownership, the owner of the property to modify the file's
Touch:
LS: list list, print file information, common parameters -a ( all, view all files, including hidden files) and -l ln: link, create a link file is divided into soft links (ie a symbolic link, to bring -s parameter) and hard links two kinds rm: remove, delete normal files, common parameters -f and -r
TRUNCATE: cutting file, commonly used parameters -s
vi / vim: Linux system comes with a text editor to
touch: time to modify the file attributes of
man: manual, manual
of each command
command name + space ( (0 or more, a plurality of parameters can write) command parameters to a + or more spaces)
file path written in the form of - representing the current user's home directory
/ Root shows
the absolute path: based on relative positioning path root: positioning, a dot based on the current directory of the current directory, two dots (...) indicates the parent directory of the current directory (.)

发布了1 篇原创文章 · 获赞 0 · 访问量 40

Guess you like

Origin blog.csdn.net/weixin_45212504/article/details/104372995