Home / bash programming pdf / Introduction to Shell Scripting with Bash - Boston …
Introduction to
Shell Scripting with Bash
Charles Jahnke
Research Computing Services
Information Services & Technology
Topics for Today
Introductions
Basic Terminology
How to get help
Command-line vs. Scripting
Variables
Handling Arguments
Standard I/O, Pipes, and Redirection
Control Structures (loops and If statements)
SCC Job Submission Example
Research Computing Services
How to write a simple bash script?The first line – #!/bin/bash – is known as the shebang header. This is a special construct that indicates what program will be used to interpret the script. ...The second line is a comment. ...The last line is the command that prints the ‘ Hello World ’ message on the terminal.
Creator: Google
Tagged: no
Form: none
Pages: 67
Encrypted: no
Page size: 960 x 540 pts (rotated 0 degrees)
File size: 961514 bytes
Optimized: no
PDF version: 1.4