In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
 
            
                     
                
2025-10-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Linux soft connection how to understand, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.
I. soft link creation
1. Create a soft link
Ln-s [target directory] [soft link address] 1 [target directory] refers to the target directory that the soft link points to, and [soft link address] refers to the name of the "shortcut key" file, which is created by instruction. For the following example, the public file does not exist under the data file, but does not exist until the instruction is executed. Example:
Results:
2. Soft link creation requires that there is no file with the same name in the same directory. Just like when you create shortcut keys on the windows desktop, you can't have a file with the same name. When a file with the same name exists in the same directory, the following error is reported:
In the figure above, an error will be reported because there is already a test file in the data directory.
 
2. Delete
Rm-rf [soft link address] 1 in the above instruction, the soft link address cannot contain "/" at the end. When it contains "/", the resource under the soft link target directory is deleted, not the soft link itself. Example:
III. Modification
Ln-snf [new destination directory] [soft link address] 1 here modification refers to modifying the target directory of the soft link example:
This is the end of the explanation on the soft connection of the Linux system, which can be said to be a shortcut key similar to the windows system. For example, you put a folder on the D disk of the windows system on the desktop as a shortcut key.
What are the versions of Linux? the versions of Linux are Deepin, UbuntuKylin, Manjaro, LinuxMint, Ubuntu and so on. Among them, Deepin is one of the best-developed Linux distributions in China; UbuntuKylin is a derivative release based on Ubuntu; Manjaro is a Linux release based on Arch; LinuxMint's default Cinnamon desktop is similar to Windows XP's easy-to-use; Ubuntu is the Linux operating system based on desktop applications.
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.
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.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about

The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r


A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from

Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





 
             
            About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.