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 |
Explain command to show the space allocation of files?
What is the output of : $ ps-e $ ps-a commands
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What is the difference between cat and more command?
what is mount ,tell me about mount ,how can u use in real time project??
Explain command to view process running?
What Is the command to change a file's creation time. means one file is created at the time 15:19 then time should br changed to 14:14
How do you grep recursively?
How to rename files and folders?
What do chgrp command do?
What command a user use to view a long text file one page at a time in UNIX?
Write a command to kill the last background job?