In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1. Difference between instruction > and > >
Directive >: if the file exists, overwrite the contents of the original file; if the original file does not exist, create the file, and then add information.
Directive > >: the contents of the original file will not be overwritten and will be appended to the end of the file.
two。 Basic grammar (understand the difference between > and > >)
Basic syntax function description ls-l > filename list contents written to file ls-l > filename list contents appended to the end of file cat file 1 > file 2 overwrite the contents of file 1 to file 2 echo "contents" > filename write the contents to the file
3. Example:
Ls-l > filename:
Ls-l > > filename:
Other commands are similar. Without repeating it, you can verify it by yourself.
The above is the Linux instruction file coverage and file additional detailed interpretation and integration introduced to you by the editor. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply to you in time. Thank you very much for your support to the website!
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.