Shell scripting and system variables - Purdue University
Shell scripting and system variables
HORT 59000 Lecture 5
Instructor: Kranthi Varala
Text editors
? Programs built to assist creation and manipulation of text files, typically scripts.
? nano : easy-to-learn, supports syntax highlighting, lacks GUI.
? Emacs : provides basic editing functions but also extendible to add functionality. Supports GUI, extensions provide a wide range of functions.
? vi/vim : extensive editing functions and relatively limited extensibility, command and insert modes distinct, steep learning curve, but very rewarding experience.
Text manipulations
? Tabular data files can be manipulated at a columnlevel. 1. Cut: Divide file & extract columns. 2. Paste: Combine multiple columns into a single table/file.
? Sort: Sort lines in a file based on contents of one or more columns.
? Regular expressions : defining patterns in text. Special characters and quantifiers allow search and replacement of simple-to-complex matches.
? grep and awk use the power of regular expressions to make text processing very easy.
Command-line operations
? All commands so far are run one at a time. ? Redirection and pipes allow combining a few
commands together into a single pipeline. ? Lacks logical complexity, such as ability to make
decisions based on input / values in file. ? Certain repetitive tasks are tedious to user. ? All commands are being sent to and interpreted by the
`shell'
Client/Server architecture
User1 User2 User3 User4
Server
(UNIX/ Web/ Database etc..)
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- command line crash course computer village
- chapter 21 windows 10 city university of new york
- 1 setting up your environment
- shell scripting and system variables purdue university
- stm32cubeide installation guide user manual
- slj setup a local development environment for windows oracle
- mmaavveenn eennvviirroonnmmeenntt sseettuupp tutorials point
- instructions for windows os users gonzaga university
- tutorial for windows and macintosh local blast gene codes corporation
- 2021 4 24 microsoft
Related searches
- system variables are not editable
- shell scripting cheat sheet
- shell scripting examples
- unix shell scripting basics
- unix shell scripting examples
- shell scripting tutorial
- shotgun shell sizes and uses
- independent and dependent variables worksheet
- unix shell scripting tutorial pdf
- purdue university plagiarism checker
- purdue university salaries
- bash shell scripting cheat sheet