Jump to ratings and reviews
Rate this book

25 Simple Linux Shell Scripts

Rate this book
The following are 25 simple Linux shell scripts that are key for scripting in Linux. The scripts can be utilized for personal, educational or corporate usage. Scripts are simply explained and include step by step instructions for how they can be run. Each script includes useful and common aspects which can be further built out if

Common Shells
1) Hello World Script
Writing Simple Shell Scripts
2) Date with WhoAmI Script
3) Date Calendar and Uptime Script
4) Cleanup Script
Simple String Manipulation
5) Simple Replace String Script
Simple Argument Output Scripts
6) Output Arguments
7) Welcome Function Arguments
Simple Text String Scripts
8) Script for Newline and Tabs
Simple Math Script
9) Simple Addition
Simple Case Statements
10) Basic Case Statement
Simple Return Value/String Function Scripts
11) Return Value Function
12) Return String Function
Simple Array Scripts
13) Return Array Values
14) Return Second Element of Array
15) Append Element to Array
16) Return Array Map
17) Remove Array Map Element
IF Statement Scripts
18) IF Conditional Numeric
19) IF Conditional for File
20) IF/Else Conditional for Shell
While Statement Script
21) Simple While Statement
For Loop Scripts
22) Simple For Loop Script
23) Simple For Loop Range Script
Directory Scripts
24) Get Directory
25) Get Files in Directory
Linux Command Line
Permissions

63 pages, Kindle Edition

Published January 9, 2022

1 person want to read

About the author

Librarian Note: There is more than one author by this name in the Goodreads database. For more information please see Kevin O'Neill.

Kevin O’Neill received the B.A. degree (magna cum laude) from Cornell University, Ithaca, NY, USA, and the M.A., M.S.E., and Ph.D. degrees from Princeton University, Princeton, NJ, USA.

He was a National Science Foundation (NSF) Post-Doctoral Fellow with the Thayer School of Engineering, Dartmouth College, Hanover, NH, USA, where he has been an Adjunct Faculty since 1984; and he was an NSF Post-Doctoral Fellow with the U.S. Army Cold Regions Research and Engineering Laboratory, Hanover, where he became a Research Civil Engineer with a focus on porous media transport phenomena and geotechnically relevant electromagnetics. He has been a Visiting Fellow with the Department of Agronomy, Cornell University, and a Visiting Scientist with the Center for Electromagnetic Theory and Applications, Massachusetts Institute of Technology, Cambridge, MA, USA.

His research interests include electromagnetic remote sensing of surfaces, layers, and particularly subsurface objects such as unexploded ordnance.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
0 (0%)
4 stars
0 (0%)
3 stars
1 (100%)
2 stars
0 (0%)
1 star
0 (0%)
No one has reviewed this book yet.

Can't find what you're looking for?

Get help and learn more about the design.