This article mainly introduces 4 methods of executing the shell script and the difference introduction, this article explained the relative path way, the absolute path way, the Bash command call, the relative or the absolute way as well as the next
The process used by git in a team project
1. First from a git remote repository to the clone project to the local
git clone warehouse Address
2. Create a development Branch
Normally we write code that does not write on the master
Du command
Disk Management
The du command also looks at the usage space, but unlike the DF command, the Linux du command is a view of the space used by files and directory disks, or there are some differences from the DF command.
Grammar
du
The Linux shell can be user-defined, and can be invoked randomly in a shell script. Here's how it's defined, and what the call needs to pay attention to.
First, define the shell function (define functions)
Grammar:
[Function] funname [()]
RPM Execution Installation package
Binary package (Binary) as well as source code package (sources) two. The binary package can be installed directly on the computer, and the source code package will be automatically compiled and installed by RPM.
I'm obsessed with the Shell, and I like to watch the characters jump in the Black Console interface, and strangely, I didn't become a Linux/unix programmer, but just a bad egg to write a CGI program. What do people call "PHP programmers"?
Network and Monitoring commands are similar to these: hostname, ping, ifconfig, Iwconfig, netstat, nslookup, traceroute, Finger, telnet, ethtool for viewing linux server IP addresses , Manage server network configuration, establish the network link
Sometimes a shell script is used to execute a series of programs sequentially. Some programs do not immediately exit after the stop, for example, there is a tomcat hung, even with the kill-9 command has not been an instant to end.
So if the shell
Shell Input/Output redirectionMost UNIX system commands accept input from your terminal and send the resulting output back to?? to your terminal. A command usually reads the input from a place called the standard input, which, by default, happens to
#SHELL编程基础一 (Multiple method evaluation 1+2+: +100)# #为什么要学好shellShell scripting language is an important tool to implement Linux system management and automation operations, and the core of Linux system and basic application software mostly involve
sed means Stream editor used as a filter in shell scripts and makefile is very common Sed not only supports the normal form. It has some other powerful features.Let me give you a sample to see if there is any way to solve it.hello
This article explains the advanced knowledge of shell variables.The following is a summary of the knowledge points, about the practice, this article does not involve, but also the small partners to practice their own!For special positional parameter
The main command for the following script is:CD $TARGET _dir/$YEAR/$MONTH/$DAY; tar-g $TARGET _dir/snapshot-czvf $FILES ${source_dir[@]} # #创建好的备份目录中, execute backup command, Here is an example of a complete
Rman backup is easy to use and inexpensive for Oracle database backup and recovery. For non-catalog mode, it is undoubtedly the first choice to embed Rman scripts into shell scripts and then use crontab to make small database database backups. This
The problem is to choose the old boy teacher blog inside of the problem, extrapolate of which also extended two questions.Old boy teacher's blog address http://oldboy.blog.51cto.com/2561410/1718607Anyway1. Use the shell or Python to write a square
Arithmetic operations in the shell require no spaces between numbers and operators;Special symbols do not need to be escaped;If the arithmetic expression contains other variables, you do not need to use the $ reference;General arithmetic operations:+
Note: Depending on the number of web logs or network connections, monitor the number of concurrent connections for an IP or PV to 100 in a short timethat is, call the firewall command to seal off the corresponding IP, monitoring frequency every 3
User InformationThe first thing you should do when you install Git is to set up your user name and email address. This is important because each Git commit will use this information and it will be written to each of your commits and cannot be
assignments and operations in the shell are string-handling by default, and here are a few special ways to do mathematical operations in the shell. In the future when you can see, hehe1. Examples of error methodsAVar=1+1Echo $varThe result of the
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