find scripts to find and basic training

Scripting /root/bin/systeminfo.sh, display the current host system information, including host name, IPv4 address, operating system version, kernel version, CPU type, memory zoomed lower, and zoomed ⼩ hard
find scripts to find and basic training
to script / root / bin / backup .sh, will be achieved for each date / etc / backup of Contents to the / root / etcYYYY-mm-dd are
find scripts to find and basic training
scripted /root/bin/disk.sh, displayed values is largest current hard disk partition space Use of interest
find scripts to find and basic training
prepared script sumspace.sh, passing two files path as a parameter to the script, the calculation of these two files in the sum of all the empty white ⾏ ##
find scripts to find and basic training
scripting sumfile.sh, statistics / etc, / var, / usr a total of Contents how many ⼀ level submenus of Contents and file
find scripts to find and basic training
scripting hostping.sh, to accept IPv4 address ⼀ host of parameters as whether the test can be connected. If the ping, the Tips Use households "to access the IP address"; if not ping is successful, Tips Use households "The IP address is not accessible"
find scripts to find and basic training
scripting /root/bin/checkdisk.sh, check disk partition space Using the rate and inode, if more than 80%, to broadcast warning issued Wide-space will be full
find scripts to find and basic training
scripting per.sh, determine the current user to specify parameters Using the file, and whether or not to write unreadable
find scripts to find and basic training

Whether written script excute.sh, determine the parameters of files as ordinary files sh suffix, and if so, can add all Face Perform permission or Tips Using household comes in handy script files
find scripts to find and basic training
scripting createuser.sh, achieve the following functions: the Use one uses one user name as a parameter, if the Use user-specified parameters exists to monitor its presence, or add it; Using information such as the user's id number displayed to add
find scripts to find and basic training
scripting /root/bin/yesorno.sh, Using the user input START Tips yes or no, and user input determines Use START is yes or no, or other information
find scripts to find and basic training
scripting /root/bin/filetype.sh, the user determines Use Entering text path member, which displayed files element type (normal, of Contents, links to other file type)
find scripts to find and basic training
scripting /root/bin/checkint.sh, Using parameters determined whether the user input is a positive integer START
find scripts to find and basic training
find the / var directory under the root of the main, and is a group of All files mail the
find scripts to find and basic training
Find / does not belong to root under var directory, lp, all files gdm's
find scripts to find and basic training
look inside / under var directory last week its content modified, while the owner is not root, nor postfix file
find scripts to find and basic training
to find the current does not belong to the system or belong to the main group and the most recent visit was a week File
find scripts to find and basic training
Find / greater than 1M and type etc directory as an ordinary file all documents
find scripts to find and basic training
Find / etc directory files have at least a class of user does not have permission to display only the first 10 rows
find scripts to find and basic training
to find the /etc/init.d directory, all users have execute permission and the other user has write access to the file
find scripts to find and basic training
to find the file in the / etc directory of all users do not have write permission
find scripts to find and basic training

Guess you like

Origin blog.51cto.com/14451139/2426195