访问手机版  

Linux常用命令|Linux培训学习|考试认证|工资待遇与招聘,认准超级网工!

招聘|合作 登陆|注册

网络工程师培训

当前位置:网络工程师 > 技术课程 > linux > 热点关注 > linux常用命令

Linux命令-readlink

时间:2019-06-17

linux简单命令大全_linux命令大全_linux命令大全 root

帮助文档:

Usage: readlink [OPTION]... FILE...

Print value of a symbolic link or canonical file name

-f, --canonicalize canonicalize by following every symlink in

every component of the given name recursively;

linux命令大全_linux简单命令大全_linux命令大全 root

all but the last component must exist

-e, --canonicalize-existing canonicalize by following every symlink in

every component of the given name recursively,

all components must exist

-m, --canonicalize-missing canonicalize by following every symlink in

linux简单命令大全_linux命令大全_linux命令大全 root

every component of the given name recursively,

without requirements on components existence

-n, --no-newline do not output the trailing delimiter

-q, --quiet,

-s, --silent suppress most error messages

linux简单命令大全_linux命令大全_linux命令大全 root

-v, --verbose report error messages

-z, --zero separate output with NUL rather than newline

--help display this help and exit

--version output version information and exit

$ readlink /usr/bin/awk  
/etc/alternatives/awk  ----> 其实这个还是一个符号连接  
$ readlink /etc/alternatives/awk  
/usr/bin/gawk  ----> 这个才是真正的可执行文件  

linux命令大全_linux简单命令大全_linux命令大全 root

ln命令,它的功能是为某一个文件在另外一个位置建立一个同步的链接。

转到你的相应文件夹(~/downloads 目录)linux命令大全,将文件按照占用磁盘空间大小排序,然后将不需要的文件通通删除吧。(10)智能文件分析功能,对于删除掉的数据进行按文件头来进行恢复linux命令大全,扫描到的这些文件可能会和扫描到目录里面文件有重合,本软件能智能识别重复的文件,把重复出现的文件自动剔除,避免文件重复恢复占用磁盘空间。智能文件分析功能,对于删除掉的数据进行按文件头来进行恢复,扫描到的这些文件可能会和扫描到目录里面文件有重合,本软件能智能识别重复的文件,把重复出现的文件自动剔除,避免文件重复恢复占用磁盘空间。

 ln [参数][源文件或目录][目标文件或目录]

软链接:

硬链接:

命令参数

必要参数:

选择参数: