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 |
How to copy multiple files and directories into some other directory?
How to setup sudo, only can use for particular date & time only ( for solaris10 )
boot process?
what is the use of the hidden files?
What is {} in find command?
Write a command that will output the sorted contents of a file named in.txt and place the output in another file named out.txt, while at the same time excluding duplicate entries.
How do you grep recursively?
What is the different between UNIX command and UNIX shell script?
What is rmdir command?
What is grep command in unix with examples?
distinguish between physical addresses and logical address?
How to get a particular string as your prompt ? Give syntax of that command?