In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
IT technology is vast, with gradual learning, in order to do less repetitive learning, it is necessary to record bits and pieces of knowledge of self-study Shell.
Use () in shell:
The command is put into () (command), and the execution of the command is one-time and will not affect the current environment. # (command) opens a child SHELL. After the command is executed, the child SHELL ends its life, and the pid of this child SHELL is equal to the pid of the parent SHELL, and the variables defined by the parent SHELL can be used)
The execution of the command in {command 1; command 2;} will affect the current environment
When the command is put into () and the command is put into {}, multiple commands are executed as a whole, the difference is that () enabling sub-shell does not affect the current environment, {} does not enable sub-shell and will affect the current environment.
IT technology is vast, with gradual learning, in order to do less repetitive learning, it is necessary to record bits and pieces of knowledge of self-study Shell.
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.