Novell Home

Can I simply output the content of a file?

Novell Cool Solutions: Question & Answer

Posted: 21 Apr 2005

Q:
Can I simply output the content of a file?

A:
There are multiple commands to see what's in a file. You can use "more" or "cat" to see the actual contents of the file, or you can use the "file" command to see what type a file is.

examples:

cat /usr/home/test.txt

more /usr/home/test.txt

file /usr/home/test.txt

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell