当前位置:网站首页>Rhcsa day 2
Rhcsa day 2
2022-07-04 02:55:00 【Dd_ five hundred and seventy-seven】
1. Introduce the difference between soft and hard links
2. Create hard and soft link files as required
stay /home Create the file as aaa, And in / Create a soft link file in the directory a.txt; /root Create a hard link file as aa.lnk
3. In the current system / Create under directory 100 File ( File name e.g :abc1..abc100)
4. Introduce ll List what each column of information in a directory is
5. Create directory /test/sysroot Create three files in this directory a,b,c After then sysroot Directory move to /tmp Change the name to sys Ensure that the three files in the directory also exist
6 Delete /tmp/sys/a file .
7. Catalog /tmp Create 4 A catalog , And create one under each of these four directories test Catalog
8. Create a test Catalog , Create a file in this directory , Content writing nano
9. stay /dir Create directory under dir2 And documents file1, Moving files file1 To create test Directory , Put the table of contents 、dir2 Copied to the test Directory
1、
(1) Symbolic links are also called soft links , And the original file is not a file . for example Windows Shortcut to ,
2、
[[email protected] ~]# cd /home
[[email protected] home]# touch aaa
[[email protected] home]# ln -s aaa a.txt
[[email protected] home]# cd /root
[[email protected] ~]# ln /home/aaa aa.lnk

3、
[[email protected] ~]# touch abc{1..100}
4、
1、 The first character represents the file type
2、2-11 Characters represent the permission identifier
3、 The second column indicates the number of hard links
4、 The third and fourth columns represent the users and groups respectively
5、 The fifth column indicates the date of modification or creation
6、 The sixth column indicates the file size
7、 The last column represents the file name

5、
[[email protected] sysroot]# mkdir /test/sysroot
[[email protected] sysroot]# cd /test/sysroot
[[email protected] sysroot]# touch {a,b,c}
[[email protected] sysroot]# mv -f /test/sysroot /tmp/sys

6、

7、
[[email protected] tmp]# mkdir -pv a/test b/test c/test d/test
8、
[[email protected] tmp]# mkdir test
[[email protected] tmp]# cd test/
[[email protected] test]# touch aa
[[email protected] test]# nano aa

9、
[[email protected] ~]# mkdir -p /dir/dir2
[[email protected] ~]# cd /dir/dir2
[[email protected] dir2]# cd ..
[[email protected] dir]# touch file1
[[email protected] dir]# ll
total 0
drwxr-xr-x. 2 root root 6 Feb 12 17:06 dir2
-rw-r--r--. 1 root root 0 Feb 12 17:07 file1
[[email protected] dir]# mv -f file1 /tmp/test/
[[email protected] dir]# cp -a dir2 /tmp/test/

边栏推荐
- Yyds dry goods inventory hand-in-hand teach you the development of Tiktok series video batch Downloader
- Setting methods, usage methods and common usage scenarios of environment variables in postman
- Li Chuang EDA learning notes IX: layers
- Keep an IT training diary 054- opening and closing
- Global and Chinese market of box seals 2022-2028: Research Report on technology, participants, trends, market size and share
- Create real-time video chat in unity3d
- CSCI 2134
- Advanced learning of MySQL -- Application -- index
- Pagoda SSL can't be accessed? 443 port occupied? resolvent
- Take you to master the formatter of visual studio code
猜你喜欢
![Backpropagation formula derivation [Li Hongyi deep learning version]](/img/ef/f76eae39c4f8716a0030a60c85b09c.gif)
Backpropagation formula derivation [Li Hongyi deep learning version]

3D game modeling is in full swing. Are you still confused about the future?

7 * 24-hour business without interruption! Practice of applying multiple live landing in rookie villages

Setting methods, usage methods and common usage scenarios of environment variables in postman

Dare to climb here, you're not far from prison, reptile reverse actual combat case

AI 助力藝術設計抄襲檢索新突破!劉芳教授團隊論文被多媒體頂級會議ACM MM錄用

WP collection plug-in free WordPress collection hang up plug-in

Save Private Ryan - map building + voltage dp+deque+ shortest circuit

1day vulnerability pushback skills practice (3)

Hospital network planning and design document based on GLBP protocol + application form + task statement + opening report + interim examination + literature review + PPT + weekly progress + network to
随机推荐
Pagoda SSL can't be accessed? 443 port occupied? resolvent
2006 translation
MySQL advanced SQL statement (1)
150 ppt! The most complete "fair perception machine learning and data mining" tutorial, Dr. AIST Toshihiro kamishima, Japan
Global and Chinese markets for electroencephalogram (EEG) devices 2022-2028: Research Report on technology, participants, trends, market size and share
Résumé: entropie, énergie libre, symétrie et dynamique dans le cerveau
1day vulnerability pushback skills practice (3)
Database concept and installation
Take you to master the formatter of visual studio code
Node write API
Osnabrueck University | overview of specific architectures in the field of reinforcement learning
7 * 24-hour business without interruption! Practice of applying multiple live landing in rookie villages
Talking about custom conditions and handling errors in MySQL Foundation
基於.NetCore開發博客項目 StarBlog - (14) 實現主題切換功能
Hospital network planning and design document based on GLBP protocol + application form + task statement + opening report + interim examination + literature review + PPT + weekly progress + network to
Imperial cms7.5 imitation "D9 download station" software application download website source code
17. File i/o buffer
Record a problem that soft deletion fails due to warehouse level error
VRRP+BFD
Advanced learning of MySQL -- Application -- index