Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

VI. Traditional IDC deployment website

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report