Skip to Content
Mastering UNIX® Shell Scripting: Bash, Bourne, and Korn Shell Scripting for Programmers, System Administrators, and UNIX Gurus, Second Edition
book

Mastering UNIX® Shell Scripting: Bash, Bourne, and Korn Shell Scripting for Programmers, System Administrators, and UNIX Gurus, Second Edition

by Randal K. Michael
June 2008
Intermediate to advanced
1032 pages
23h 12m
English
Wiley
Content preview from Mastering UNIX® Shell Scripting: Bash, Bourne, and Korn Shell Scripting for Programmers, System Administrators, and UNIX Gurus, Second Edition

Index

SYMBOLS

() (parentheses)

command, 15

double-parentheses mathematical test, 117, 337, 338, 346, 363, 414, 575, 609, 682, 734

& (ampersand)

|& (piping to background), 36, 351, 364

&& (logical AND) operator, 13, 20, 570, 813

background execution, 13

bitwise AND operator, 20

escaped, 3, 4

* (asterisk)

multiplication operator, 20

wildcard, 31, 830

^(caret)

^$ (remove blank lines), 669

^# (remove commented out lines), 669, 858

bitwise exclusive OR operator, 20

escaped, 3, 4

start of line, 170, 669, 733, 858, 863

: (colon)

as field delimiter, 157, 159, 167, 536, 537, 569

getops command and, 33, 34, 349, 450, 496

NFS check and, 569, 570

no-op and, 74, 96, 195, 348, 380, 416

$ (dollar sign)

$? (check return code), 2930, 183184, 217

$$ (current PID), RANDOM shell variable and, 269, 311, 371, 379, 389

^$ (remove blank line), 669

“$*” (special parameter), 17

“$@” (special parameter), 17

$* (special parameter), 1718

$@ (special parameter), 17

$ (()) command, 15

elapsed time and, 148

$! operator, 44, 144, 145, 147, 546, 547

blank line, 669

command substitution, 19, 80, 88, 97, 127, 128, 331, 484. See also command substitution

end of line, 170, 863

escaped, 3, 4, 404, 664

variable name and, 15, 28, 304

. (dots)

escaped, 3, 4

series of, 43, 143145, 967

“ (double quotes)

around variables, 18, 50, 160, 169, 247, 516, 517, 570

command substitution and, 18, 50

command-line switches in, 450

disable command arguments with, 797

escaped, 3, 4

special parameters with, 17

usage for, 18

= (equal ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Mastering Linux Shell Scripting - Second Edition

Mastering Linux Shell Scripting - Second Edition

Mokhtar Ebrahim, Andrew Mallett

Publisher Resources

ISBN: 9780470183014Purchase book