In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
1. File name and its specification
1) File name length: segment file name system: 14 length: 512
2) available characters for file name: case, number, underscore (_), decimal point (.)
. The initial file is a hidden file
The suffix in the file name does not represent the file type
2 、 touch
1) format: touch 123
2) function:
(1) create a file (the file does not exist)
(2) modify the file access time (the file exists and is updated to the current time)
3 、 cp
1) cp source destination
2) function: copy files
3) option
-I: target file exists, request confirmation
-r: copy the directory to the new directory
Cp Source 1 Source 2 mesh (multiple sources, the destination must be a directory)
4 、 mv
1) mv source destination
2) function: move files, rename
3) description: the number of files remains unchanged
Mv 1.exe / home/npp/1.txt move and rename
5. Ln link file
1) ln file1 file2
2) establish a link
3) after the link, the link owner and permissions remain unchanged
6 、 cat
1) cat file1 file2
2) display the contents of the file: you can only see the last 23 lines
3) ctrl+s is suspended and ctrl+q resumes
4) will be locked by garbled codes.
7. More (pg)
1) display the contents of the file on a split screen
8 、 rm
1) rm file
2) Delete files
3) option
-I: give a confirmation before deletion
-r: delete the entire directory structure
-f: forcibly delete without prompting
9. Lp print file
1) lp file1
2) print
3) option
-d specify to print lp-d lp2 file1 on the printer
-m send an email notification to the user after the printing is completed
-n printed copies: lp-N2 file1
-s cancel the on-screen prompt
-t prints the specified title on the cover of the document
-w display the prompt message on the terminal after the printing is completed
4) lpstat: displays the print request and printer status in the printing system
5) cancel
Cancel printer3-1522 undo the printing of the specified request number
Cancel printer3 revokes all requests on the specified printer
6) pr file formatted output file
10. Cut cut the contents of the file
1)-f specify the location of the field
2)-c specify the location of the column
3)-d specifies the field delimiter. Default is tab.
Student1 tty03 Sep 04 08:36
Student2 tty06 Sep 04 09:36
Student3 tty02 Sep 04 10:36
Cut-F1 user_list displays all the contents of the file
Cut-d ""-f 1J 2 user_list displays the user name and terminal number
Cut-c 26-30 user_list display time
11. Paste connection file
1) paste
2)-d: specify the delimiter. Default: tabs
3) paste-d:file1 file2
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.