# display file contents
cat myfile
# determine file type
file myfile
# display file, a screen at a time (Solaris)
pg myfile
# display first 100 lines of a file
head -100 myfile
# display last 50 lines of a file
tail -50 myfile
# display file that is changing, dynamically
tail errlog.out -f
|
|