Goals for this Hour
In this hour, you learn how to
Use file to identify file types
Explore UNIX directories with file
Peek at the first few lines with head
View the last few lines with tail
View the contents of files with cat
View larger files with more
This hour begins with a tool to help ensure that the files you're about to view are intended for human perusal and then explores many of the commands available to view the contents of the file in various ways.
Get Sams Teach Yourself UNIX® in 24 Hours Second 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.