Linux


 
Thread Tools Search this Thread
Operating Systems Linux Linux
# 8  
Old 10-18-2007
Quote:
Originally Posted by abril2006
the simplest utility for viewing file content is the ___ command, which display the contents of a file to the screen.

more or cat
how about dd, less, head or tail?
# 9  
Old 10-18-2007
which one you would use: file, less, more or cat?
# 10  
Old 10-18-2007
Quote:
Originally Posted by abril2006
which one you would use: file, less, more or cat?
How about you look at the man page for each and look at the features and capabilities of each, then you can look at the pros and cons and determine the best tool for the job.
# 11  
Old 10-18-2007
linux

which one you would use: file, less, more or cat?
# 12  
Old 10-18-2007
Quote:
Originally Posted by abril2006
which one you would use: file, less, more or cat?
What does each one do? How would you find out?

One is the classic pager, one doesn't do the job at all, another is non-portable, and one just streams to stdout.
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Simple sed command not working; could be a Mac/Linux vs. PC/Linux issue

Hello, I am on a Mac and trying to clean up some monthly files with a very simple SED: sed '3,10d;/<ACROSS>/,$d' input.txt > output.txt (from the input, delete lines 3 - 10; then delete from the line containing <ACROSS> to the end of the file) then output to output.txt Even when I try... (2 Replies)
Discussion started by: verbatim
2 Replies

2. Fedora

Which is the better platform to learn UNIX/Linux (Kali Linux Vs. Red Hat or other)?

I just started a new semester and I started my UNIX class yesterday. I've already decided to use python along with my learning process but what I really want to use with it is Kali as my UNIX/Linux platform to learn off of since I already wanted to learn Cyber Sec. anyways. I just wanted to know if... (12 Replies)
Discussion started by: ApacheOmega
12 Replies
Login or Register to Ask a Question