In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article shows you how to Linux.shell summary, the content is concise and easy to understand, can definitely brighten your eyes, through the detailed introduction of this article, I hope you can get something.
# system predefined variables
$0: script file name
$1-9: 1st-9th command line argument name
$#: number of command line parameters
$@: all command line arguments
$*: all command line arguments
$?: the exit status of the previous command, which can be used to get the function return value
$: executed process ID
# numerical operation format (pay attention to spaces)
Masks $[m + 1]
Let m=m+1 # with no spaces
((M + 1))
# if statement format
VAR=10#-eq equal to #-ne not equal to #-gt greater than #-ge greater than or equal to #-lt less than #-le less than or equal to if [$VAR-eq 10] then echo "true" else echo "false" fi
# case statement format
NAME= "sqldeveloper" case $NAME in "LINUX") echo "This is Linux";; "sqldeveloper") echo "This is sqldeveloper";; *) echo "other";; esac
# for Loop format
For ((I = 1; I)
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.