redhat 7.6 Common Commands

cp Copy command

diff compare the contents of two files are identical

r represents cp -rvf Copy directory recursively v show detailed steps f Force

ls -ah view a catalog to view hidden files display the file size units k h

less progressive view the content

cat See All

tail look at the last four lines

tail -n 10 to view the last 10 lines of content

View head in front of four lines

See head -n 10 10 front row of content

View more content percentage

mv move or rename files under the same directory and folder names can not be the same

Create a directory mkdir

mkdir {1,2,3] create multiple directories

mkdir -p 1/2/3 create multiple directory

rm -rvf delete command, r directory v f Force the confirmation process when i delete * for all

touch create Wen-chia

 

Guess you like

Origin www.cnblogs.com/MOMING95/p/11564762.html