In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article shows you [. /] and [.] in Linux. What is the difference between them, the content is concise and easy to understand, it will definitely brighten your eyes. I hope you can gain something through the detailed introduction of this article.
/ refers to the root directory, which is similar to the location of my computer on Windows.
. / refers to the current directory where the user is located.
As follows:
[rootetc] # pwd/etc [rootetc] # cd / [root /] # pwd/ [root /] # cd / etc [rootetc] # cd. / [rootetc] # pwd/etc [rootetc] #
Here are some tips for using the linux cd command:
(1) cd enters the user's home directory
(2) cd ~ enter the user's home directory
(3) cd-return to the directory where you were before entering this directory
(4) cd.. Return to the previous directory
(5) cd.. Return to the upper two-level directory
(6) cd! $uses the parameter of the previous command as the cd parameter
. To execute means to execute this file.
. / a.sh means to execute a file in the current directory, such as there is a script a.sh in the current directory, then. / file means to execute it.
. Current working directory
. / is also the current working directory, but it is usually followed by a script file to execute the script.
What is Linux system Linux is a free-to-use and free-spread UNIX-like operating system, is a POSIX-based multi-user, multi-task, multi-threaded and multi-CPU operating system, using Linux can run major Unix tools, applications and network protocols.
The above contents are [. /] and [.] in Linux. What's the difference between them? have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
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
© 2024 shulou.com SLNews company. All rights reserved.