In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains the "how to use the Linux pwd and dirs directory view commands", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in-depth, together to study and learn "how to use Linux pwd and dirs directory view commands" it!
Pwd displays the current directory
-L-- logical
Show current directory
-P,-- physical
Displays the actual physical address of the current directory
-- help help
-- version version
Example:
The code is as follows:
[root@rudder home] # pwd # shows the current directory
/ home
The [root@web mail] # pwd-P # directory is a soft connection that shows the actual physical address
/ var/spool/mail
[root@web mail] # pwd-L #-L display, logical address
/ var/mail
Dirs: displaying records in the catalog stack
Grammar: dirs [- clpv] [+ N] [- N]
Parameters:
+ n the current directory shall prevail, showing the directory with the nth stroke from the left.
-n the current directory shall prevail, showing the catalogue of the nth pen from the right.
-l displays the complete record of the directory.
Example 1
The code is as follows:
[root@rudder home] # dirs
/ home
Example 2
The code is as follows:
[root@localhost zhangy] # dirs # display directory stack
/ home/zhangy / usr
[root@localhost zhangy] # dirs-1
/ home/zhangy
[root@localhost zhangy] # dirs + 1
/ usr
Thank you for your reading, the above is "how to use the Linux pwd and dirs directory view commands" content, after the study of this article, I believe you on how to use Linux pwd and dirs directory view commands in this problem have a deeper understanding, the specific use of the situation also needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
The rearm count is reset to 5 http://www.vdnieuwenhof.eu/2014/03/reset-windows-rearm-count/http://b
© 2024 shulou.com SLNews company. All rights reserved.