当前位置:网站首页>Rhcsa the next day

Rhcsa the next day

2022-07-04 07:11:00 Where are the peaches

1. Introduce the difference between soft and hard links

Symbolic links are also called soft links , And the original file is not a file . for example Windows Shortcut to ,

Characteristics of action : Find a file in the specified path and access it quickly and easily , Delete source file shortcut cannot be accessed

Create objects : Text files and directory files can be created , And can cross file systems

Hard links , Multiple filenames point to the same Inode

Characteristics of action : Prevent users from deleting by mistake , Backup ( Backup only for file names )

Create objects : Cannot create for catalog file , And can't cross file systems

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 )

 

 

 

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

 

原网站

版权声明
本文为[Where are the peaches]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202141543296192.html