Linux Shell Script Programming learning notes and combat

Source: Internet
Author: User

Http://www.1987.name/141.html

Shell Basics
  • Terminal printing , arithmetic operations , common variables
  • Search for specific strings in the specified directory under Linux and highlight matching keywords
  • Get standard input from a keyboard or file [Read command]
  • descriptor and redirection of files
  • arrays , associative arrays, and aliases use
  • function definition, execution, parameters and recursive functions
  • conditional test Actions and Process Control statements
  • Get Time date format and delay [date, sleep command]
  • Internal field delimiter debugging of IFS and Scripts debug
  • Display, read, or splice file contents [Cat command]
  • File lookup and Print file list [find command]
  • Command pass-through filter, command combination tool [Xargs command]
  • Character conversion, deletion, and compression tools [TR command]
  • Sort, single, and repeat the text [sort, uniq command]
  • Split filename Extract file name extension or extract filename [%, percent and #, # #]
  • Shell Regular Expressions vs. grep, SED, awk features
  • Search for text tools in Files [grep command]
  • Split file field by column tool [Cut command]
  • Text Processing flow editor [sed command]
  • Processing text and data [awk programming]
  • Naming methods and random numbers for temporary files [tempfile command]
  • Create files of any size and split files of any size [DD, split, Csplit command]
  • Linux File comparison , text file intersection, difference set and differential [Comm command]
  • Download Web site files or Web pages using commands [wget, Lynx command]
  • Advanced Network Tools under the command line [Curl Command]
  • monitor file and directory access information and log [inotifywait command]
  • Linux system logs related commands, files, and administrative tools [Logrotate, logger commands]
  • Information about current logged-in user, startup log, and startup failure [who, W, users, uptime, last, LASTB commands]
  • Calculate time information for the execution of a command [temporal command]
  • Data archiving and decompression [Tar,cpio,gzip,bzip,lzma,zip]
Shell Combat
    • One Linux server uploads file scripts to multiple servers at the same time
    • Linux VPS, Linux system to prevent DDoS attack scripts
    • Nginx Smooth upgrade script for uninterrupted service
    • Linux/unix view system, hardware, network and other information scripts: summary
    • Simple MySQL Database timed backup shell script

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.