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

See what the linux environment variable command is

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Today, what the editor shares with you is to see what the linux environment variable command is. I believe many people do not know much about it. In order to let you know more about the linux environment variable command, I have summarized the following contents for you. Let's look down together. I'm sure you'll get something.

First execute the following command:

[root@zcwyou ~] # echo $PATH

The output is as follows:

/ usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin

If there are two executable files with the same name in two different directories, shell will run the directory included by the environment variable in PATH, using the C2C or C3C command:-G0G, with an output similar to the following: / usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin

If there are two executable files with the same name in two different directories, shell will run the file in the first directory in the PATH environment variable.

On the view of linux environment variable command is shared here, I hope that the above content can have a certain reference value, you can learn to apply. If you like this article, you might as well share it for more people to see.

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