In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "the foundation of Shell and string operation". The explanation content in this article is simple and clear, easy to learn and understand. Please follow the idea of Xiaobian to study and learn "the foundation of Shell and string operation" together.
Shell Foundation: www.runoob.com/linux/linux-shell.html
Shell find command: justcoding.iteye.com/blog/1948003
Shell string operation: www.cnblogs.com/gaochsh/p/6901809.html
#!/ usr/bin/bashfind /c/Users/Administrator/Desktop/apache-tomcat-8.5.40/webapps/* -maxdepth 0 -name "panda-*" | xargs rm -rf#!/ usr/bin/bashrmTargetDir="/c/Users/Administrator/Desktop/war/*"originDir="/d/WORKSPACE/intelljIdea/dinganhua/pzh3/code-pzh3/panda-*/target/*"targetDir="/c/Users/Administrator/Desktop/war"rm -rf $rmTargetDirfind $originDir -maxdepth 0 -name "panda-*.war" | xargs -i cp {} $targetDirfor filename in $(find $rmTargetDir -maxdepth 0 -name "panda-*.war")do newfilename=${filename/-0.0.1-SNAPSHOT/} mv $filename $newfilenamedone Thank you for reading, the above is the "Shell foundation and string operation" content, after the study of this article, I believe we have a deeper understanding of the Shell foundation and string operation, the specific use of the situation also needs to be verified. Here is, Xiaobian will push more articles related to knowledge points for everyone, welcome to pay attention!
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.