Table of Contents
Accessing the Free Web Edition
1 A Quick Review of the Basics
Displaying the Date and Time: The date
Command
Finding Out Who’s Logged In: The who
Command
Echoing Characters: The echo
Command
Displaying the Contents of a File: The cat
Command
Counting the Number of Words in a File: The wc
Command
Making a Copy of a File: The cp
Command
Renaming a File: The mv
Command
Removing a File: The rm
Command
The Home Directory and Pathnames
Displaying Your Working Directory: The pwd
Command
Get Shell Programming in Unix, Linux and OS X, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.