博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Linux 中的硬链接与软连接有什么区别
阅读量:4227 次
发布时间:2019-05-26

本文共 167 字,大约阅读时间需要 1 分钟。

相同点

使用大部分的命令(rm 除外)对Linux 的硬链接和软连接进行操作, 都会对实体文件有影响

不同点

  1. 硬链接基本上和文件本身一样, 当所有指向实体文件的硬链接都被删除的话,实体文件也会被删掉
    软连接被删除对实体文件无影响
  2. 硬链接无法引用目录, 无法引用外部磁盘分区的文件
  3. 实体文件移动位置, 硬链接依然有效, 软连接则成坏链接

转载地址:http://jvnqi.baihongyu.com/

你可能感兴趣的文章
A Guide to MATLAB Object-Oriented Programming
查看>>
Outlook 2007: Beyond the Manual
查看>>
SharePoint 2007 User's Guide: Learning Microsoft's Collaboration and Productivity Platform
查看>>
Word 2007: Beyond the Manual
查看>>
An Introduction to Testing Web Applications with twill and Selenium
查看>>
Accelerated VB 2005
查看>>
Pro Access 2007
查看>>
Excel 2007: Beyond the Manual
查看>>
Windows Vista: Beyond the Manual
查看>>
DotNetNuke For Dummies
查看>>
PCI Compliance: Understand and Implement Effective PCI Data Security Standard Compliance
查看>>
Flash CS3 For Dummies
查看>>
Professional ASP.NET 2.0 AJAX
查看>>
Security+ Study Guide
查看>>
Programming Interviews Exposed: Secrets to Landing Your Next Job
查看>>
Linksys WRT54G Ultimate Hacking
查看>>
Professional Rootkits
查看>>
Financial Applications using Excel Add-in Development in C/C++
查看>>
Learning Joomla! Extension Development: Creating Modules, Components, and Plugins with PHP
查看>>
How to Cheat at IIS 7 Server Administration
查看>>