This article mainly introduces the Linux Shell Script series (ii): The terminal printing instructions, this article focuses on the echo terminal printing, printf terminal print two print out output command, the need for friends can refer to the
Hadoop, distributed large data storage and computing, free open source! Linux based on the students to install a relatively smooth, write a few configuration files can be started, I rookie, so write a more detailed. For convenience, I use three
In the *unix system, the commonly used shell has sh,bash,csh/tcsh, ksh.
SH comes from SystemV Unix, is the traditional Unix shell, until now many system administrators still like to use SH.Bash comes from BSD Unix, the syntax is very similar to C,
We can always see in Android development that the log log content of the program is full of screens, and the information that really makes sense to the developer is submerged in the torrent, leaving developers at a loss and seriously impacting
Content Introduction:
Two kinds of shell script detailed
Operational actions to verify the validity of Rman backup sets
Rman Backup Recovery experiment Operation Warfare Technique
Often listen to some master said, to do a regular Oracle Database
[Root@node1 ~]# Spark-shell--master yarn-client warning:master yarn-client is deprecated since 2.0.
Please use the master "yarn" with specified deploy mode instead.
The Using Spark ' s default log4j profile:org/apache/spark/log4j-defaults.properties
Parameter description
1:$# indicates the number of incoming arguments executed by the script
2:$* indicates that the execute script passes in the argument list
3:$$ represents the Process ID
4:$@ indicates that the execute script passed in all
Follow the Runoob website tutorial to learn the notesLike other languages, the shell can also contain external scripts. This makes it easy to encapsulate some common code as a standalone file. Shell files contain syntax in two forms
.
Environment VariablesThe --bash shell uses environment variables to store system-related data and allows data to be stored in memory. Environment variables are divided into: Global environment variablesLocal environment variables
Note: The comparison string in the shell can only be used = =, ,! =,-Z,-N. When comparing strings, be sure to add X (or a, B, etc.) to the end of the string, because if [$1x = = "AB" x] If there is no X, and "" ", this statement will be translated
Note content:8.6 pipe symbol and job control8.7/8.8 Shell Variables8.9 environment variable configuration fileNote Date:2017.8.158.6 pipe symbol and job control 650) this.width=650; "src="
LInux's Shell has a set of its own flow control statements, including conditional statements (IF), loop statements (For,while), which have a great effect on our usual scripting and command input, which will certainly help us a lot. I. IFIf is a
Echo-e "\033[32;49;1m [done] \033[39;49;0m"Output Result:[Done] The color of the text terminal can be generated by using the ANSI unconventional character sequence. Example:Echo-e "\033[44;37;5m ME \033[0m COOL"The above command sets the background
The anti-quote bit (') is located above the TAB key of the keyboard, to the left of the 1 key. Note the difference between the single quotation mark (') on the left side of the ENTER key.Plays the role of command substitution in Linux. Command
FTP is a common application for accessing files, and it is also used for daily backups. This cyclical effort will undoubtedly need to be done through automated scripting. This system is CentOS7This experiment requires you to do the following:1.
Conditional judgment----Use if ... then----multipleIn the judgment of the same data, what should be done if the data needs to be judged in many different ways? For example, in the sh06.sh script above, we just have to make a $yn judgment (only once
Shell syntax error: unexpected end of file error message
if [ -n "$1" ]then echo "111"else echo "222"fiexit 0
Execute sh my. Sh par and prompt syntax error: unexpected end of file. Why?
Text editing is a file written in notepad in windows and runs
Document directory
From Ubuntu Chinese
RedHat gnome terminal shortcut
Http://huangchao200701.javaeye.com/blog/263002
CommonWin + n switch Background Color StyleAlt + TAB = needless to say.Win + TAB switch if 3D effect is enabledCTRL + ALT +
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service