Linux Shell Script Programming learning notes and combat

Source: Internet
Author: User

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

Shell Basics
  • Terminal printing , arithmetic operations , frequently used variables
  • Search for a specific string under the specified folder and highlight matching keywords under Linux
  • Get standard input from a keyboard or file [Read command]
  • descriptive descriptors and redirects for files
  • arrays , associative arrays, and aliases use
  • function definition, run, pass-through and recursive functions
  • conditional test Operation and flow control statement
  • 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 transfer filter, command combination tool [Xargs command]
  • Character conversion, deletion, and compression tools [TR command]
  • Sort, single, and repeat the text [sort, uniq command]
  • Slice file name extract file extension or extract file name [%, percent and #, # #]
  • Shell - like and 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 random-sized files and cut arbitrary-sized files [DD, split, csplit commands]
  • Comparison of Linux files , the intersection of text files, difference sets and differences [COMM Command]
  • download site files or Web pages using commands [wget, Lynx command]
  • Advanced Network Tools under the command line [Curl Command]
  • Monitor file and folder access information and record [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 the time information that is spent on a command's run [times command]
  • Data archiving and decompression [Tar,cpio,gzip,bzip,lzma,zip]
Shell Combat
    • One linuxserver uploading 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

Linux Shell Script Programming learning notes and combat

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.