2. A Quick Review of the Basics
This chapter provides a review of the Unix system, including the file system, basic commands, filename substitution, I/O redirection, and pipes.
Some Basic Commands
Displaying the Date and Time: The date Command
The date
command tells the system to print the date and time:
$ dateSat Jul 20 14:42:56 EDT 2002$
date
prints the day of the week, month, day, time (24-hour clock, the system’s time zone), and year. Throughout this book, whenever we use boldface type like this, it’s to indicate ...
Get Unix Shell Programming, Third 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.