In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article is about what $means in linux. The editor thought it was very practical, so I shared it with you as a reference. Let's follow the editor and have a look.
The $in linux, that is, the "command prompt", is where you can enter a command. The command prompt may prompt the current user for some information. Under linux, the user will be prompted for the current directory and the current user.
Attached:
The name of the execution of the $0 program
The nth parameter value of this program, natively 1.. 9
$* all parameters of this program, this option can have more than 9 parameters.
$# the number of parameters of this program
$PID of this program (ID number of the current process in which the script is running)
$! The PID that executed the previous background instruction (the process ID number of the last process running in the background)
$? The return value of executing the previous instruction (displays the exit status of the last command. 0 means there is no error, and any other value indicates an error)
$- displays the current options used by shell, with the same function as the set command
$@ is similar to $*, but can be used as an array
Thank you for reading! So much for sharing what $means in linux. I hope the above content can be of some help to you so that you can learn more knowledge. If you think the article is good, you can share it and let more people see it.
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.