How does the user view the contents of a text file in UNIX?
Answer Posted / pitambar mishra
awk '{print}' filename
sed -n 'p' filename
p : print
n : restrict printing duplicate row
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how to sort the content of the file based on numeric values
What is the use of awk command in unix?
What is awk used for?
What is the use of cut command in unix?
Who wrote grep?
How does the system know where one command ends and another begins?
Does cp command overwrite files?
Which command is used to create a directory?
Explain command to show the space allocation of files?
What does pipe () return?
Who command in unix?
What do chmod, chown, chgrp commands do?
What is grep r?
What is the difference between cat and more command?
How do I use nslookup?