Skip to Main Content
Mac OS X for Unix Geeks
book

Mac OS X for Unix Geeks

by Ernest E. Rothman, Brian Jepson
September 2002
Beginner to intermediate content levelBeginner to intermediate
216 pages
7h 43m
English
O'Reilly Media, Inc.
Content preview from Mac OS X for Unix Geeks

Scripting and Shell Programming

The following commands include shells and programs useful in shell scripts.

echo

A command that repeats command-line arguments on standard output.

expr

A command that performs arithmetic and comparisons.

line

A command that reads a line of input.

lockfile

A command that makes sure that a file is accessed by only one script at a time.

perl

The Practical Extraction and Report Language.

printf

A command that formats and prints command-line arguments.

sh

A standard Unix shell.

sleep

A command that causes a pause during processing.

tclsh

The Tool Command Language (Tcl) shell.

test

A command that tests a condition.

xargs

A command that reads arguments from standard input and passes them to a command.

zsh

An enhanced Unix shell.

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.
Start your free trial

You might also like

Mac OS X For Unix Geeks, 4th Edition

Mac OS X For Unix Geeks, 4th Edition

Ernest E. Rothman, Rich Rosen, Brian Jepson
Mac OS X Hacks

Mac OS X Hacks

Kevin Hemenway, Rael Dornfest
Mac OS X in a Nutshell

Mac OS X in a Nutshell

Jason McIntosh, Chuck Toporek, Chris Stone

Publisher Resources

ISBN: 0596003560Errata Page