Shell Essays
I. learn about Shell Programming knowledge Reserve
I told you before, leave homework for everyone. Linux System command application;
Vi/vim Editor's proficiencyin the use of SSH client software settings;
basic services, System services Ntp,crond, network services:NFS,RSYNC,INOTIFY,SERSYNC,SSH,LANMP.
Add: Three ways to empty the log:
Note : You can not delete (log) files at work, but only empty the files!
two. creation and execution of shell scripts
1. the first line of the script is generally:#!/bin/bash or #!/bin/sh;
the execution of a 2.shell script is usually performed using bashscript-name or sh script-name;
3. executing the script under the current path, the execution of the shell script usually takes the ./script-name.
Shell Script Execution Instructions ( recommended ) :
Example: XX * * * * /bin/bash/tmp/scripts/bak.sh>/dev/null 2 > 1
This article is from the "Empty Valley Orchid" blog, please be sure to keep this source http://2489843.blog.51cto.com/2479843/1538414