Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Use the readlink command of linux to find out where the symbolic link points

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you the use of linux's readlink command to find out the location of the symbolic link, I hope you will learn a lot after reading this article, let's discuss it together!

Readlink is a common tool in Linux system, which is mainly used to find out the location that symbolic links point to.

Syntax format: readlink [parameters] [file]

Common parameters:

Reference example

View the soft chain file, the real file:

[root@linuxcool] # ll / etc/system-release lrwxrwxrwx. 1 root root 14 May 21 01:56 / etc/system-release-> centos-release [root@linuxcool ~] # readlink-f / etc/system-release/etc/centos-release after reading this article, I believe you have some understanding of using linux's readlink command to find out the location of the symbolic link. Want to know more about it. Welcome to follow the industry information channel. Thank you for reading!

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report