Get the App
SLTechnology News&Howtos  ›  Servers  › 

VI. Traditional IDC deployment website

Shulou Source: shulou.com Published: 2022-06-03 01:06:39 11月15日 Update

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.

Tags: File time search file name size cursor content command condition directory three things permissions types terminals paths links such as use support traditional Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia MariaDB Shulou Information Apple Microsoft