mkdir rm touch mv

mkdir -p test1 / test2 create multiple directories recursively

mkdir 777 test created directory permissions to 777 -m

mkdir -v print each message to create a directory, txt 

rm delete files does not delete the directory

rm -r delete a directory

rm -i before deleting asked to remove

touch -- -q

rm - -q -q delete files

rmdir to delete empty directories

mv test1 test2 file renamed, will become test1 test2

mv test1.txt test1 move the file test.txt will move to test1

Music Videos test1.txt test2.txt test3 test2.txt and moved to the test1.txt test3

 

Guess you like

Origin www.cnblogs.com/dinglei0001/p/12549472.html