VI. Traditional IDC deployment website
1. Find command
Ctrl l clear screen ctrl d exit terminal ctrl c termination command ctrl u delete everything in front of you move the ctrl e cursor to the last face ctrl a cursor to the front
There are several uses of find:-type search for files or directories-mtime creation time days-mmin creation time minutes-size file size-o or-name file name search-exec
Find usage find + path + search criteria such as file type + file name + creation time
Find / etc/-type-d (f) search criteria are directories or files
Find / etc/-type name ".conf" searches using file names
Find / etc/-type-mtime search by creation time
Find / etc/-type-f-o-mtime-1-o-name ".conf"
Find /-inum inode number to find several hard links that use this iNode number
Stat is used to view files with three time
Mtime= creation time
Atime= recently visited
Recent changes to ctime=
If you change the content of the file, the ctime will change, because you have changed the size, permissions and time of the content of the file, so the ctime will change.
Find / root/-type f-mmin-120-exec ls-l {}\
Find / root/-type f-size-10k-exec ls-lh {}\; check the file size
II. Transfer Linux and Windows files to each other
Must be Xshell or CRT putty does not support also need to install a package yum install-y lrzsz
Upload Linux to Windows using SZ SZ plus file name
The last time Windows went to Linux, use RZ to enter directly.