How does the user view the contents of a text file in UNIX?
Answers were Sorted based on User's Feedback
Answer / shaishaw
cat filename
less filename
more filename
view filename
vi filename
fold filename
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / kamal
cat file, less file, more file, tail -n file, head file
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / brijmohan
we can user cat filename or more file or less file. But
basically cat is used to content of file.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / pitambar mishra
awk '{print}' filename
sed -n 'p' filename
p : print
n : restrict printing duplicate row
| Is This Answer Correct ? | 0 Yes | 0 No |
which script will invoke first ,when /etc/init.d starts
distinguish between physical addresses and logical address?
Can a process kill itself in UNIX/or in its various versions?
what is the command to get help on a UNIX terminal?
What is the use of egrep command in unix?
How to find $ai_serual resolved path by using unix
What is the search command in unix?
In UNIX, what is the command to edit contents of the file?
How to setup Disk space as well as memory in solaris10?
What is the use of cut command in unix?
What is the use of finger command?
Suppose 1000 processes are running on the system out of those if you have to show only certain process ids which command will you use?