Project release, write a shell script to start the project, including the start of the project, turn off the restart, including the project log output to the specified file, not for anything else, just for the next project release, you can directly
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
When vim modifies a file, it exits with such an error. The logs are as follows:It's not a big problem, it's just that when I got into the pit ssh, I was really taken into the pit.# 强制退出并保存:wq!No :!wq , I do not know whether the fate of the small
#man date to see the Help file for date#date Get the current time#date-D " -1week" +%y%m%d get last Sunday issue (Day,month,year,hour)#date--date= " -24 hour" +%y%m%d Ibid.date_now= ' date+%s ' shell script to assign variable valuesPercent output%
One: Cause(0) Perhaps because of a momentary impulse you start to focus on and learn shell programming, but also because the "hearsay" shell is very powerful, but also because of the charm of shell programming, but also because as a coder of the
From:http://www.nginx.cn/1934.htmlWhere the shell script needs to interact with the here document is the implementation, but some commands require the user to manually go on the interaction such as passwd, SCPIt is very painful to eliminate user
Overview of methods for batch renaming of Linux shells0. Batch rename with graphics software like Gprename1. Remove all the. Bak suffixes:Rename ' s/\.bak$//' *.bak2. Modify the. jpe file suffix to. jpg:Rename ' s/\.jpe$/\.jpg/' *.jpe3. Change the
--from "Brother Bird's Linux private dish"There is also a very useful feature in Bash's operating environment, which is the wildcard character (wildcard)! It's even easier for us to use bash to process data! Below is a list of some common wildcard
On the code:#!/bin/bash#engine server Install#write by guojr#set Engine server Dirjdk=jdk-6u34-linux-x64-rpm.binchmod o+x $JDK & & Echo-e "\ n" |/$jdk;(cat >/etc /profile;source/etc/profile;Echo-e "\ n" |./$JDK; This is the most critical step. Skip
Linux Shell variables Mathematical operationsAbstract:1) The Linux shell uses let, [], (()) Three operators to manipulate shell variables for simple basic operations;2) The Linux shell uses expr and BC two programs to achieve advanced operations;1,
command-line Options•-h output Help information•-R ip_address connected to a specific genymotion virtual appliance•-C "command" executes the given command in the native shell environment and then returns•-F Executes the contents of the file, with
1. Unix Shell functions A shell is a program that manages processes and runs programs. All the common shells have 3 main functions: (1) running the program; (2) Managing inputs and outputs (3) Programmable The shell is also a programming language
#!/bin/shAccount and password can is change to what do you wanna!#author Chuanglan#修改为您的accountAccount= ""#修改为您的pwPassword= "a.123456"#手机号码, Format (area code + mobile number), for example: 8615800000000, where 86 is China's area codeMobile= "8615800
Fly2015For the FSG shell, has not been contacted before is the first contact, this time to shelling the program is still my love cracking forum to crack the training of 3 of the program. For this shell toss for a while, and later was taken care of. 1
Today, let's learn about Common Unix shell commands. We all know that Unix shell is not only a user interaction interface, but alsoProgramDesign Language: when the system registers, it will execute a Unix shell command file. profile, which will give
Refer to: Linux commands, editors, and shell programming, and advanced programming in UNIX environment
Both exec and source are Bash Internal commands (builtins commands). Enter man exec or man source in Bash to view all internal command
Shell script debugging technology Cao Yuzhong (caoyuz@cn.ibm.com ),
Software Engineer, IBM China Development Center
I. Preface
Shell programming is widely used in the Unix/Linux World. Mastering shell programming is also the only way to become an
Skype is currently the most powerful IM + VoIP Software on the planet, and now it has changed the way of life for 0.28 billion people around the world. You deserve it! :)
Official site of Skype: http://skype.tom.com/
Skype Global Site:
Reprinted from: http://blog.csdn.net/fox_lht/archive/2010/09/20/5897336.aspx7. Compound commands
Except for the simplest script, you rarely want to execute every command. Executing a group of commands or repeating a group of commands several times
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.