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
Which unix command lists files/folders in alphabetical order?
Why is awk called awk?
Describe the usage and functionality of the command rm –r * in unix?
What are file commands?
What is grep r?
What does the metacharacter mean?
Explain mount and unmount command.
What is the use of awk command in unix?
What is grep in bash?
Why is it called grep?
How to find $ai_serual resolved path by using unix
What does #!/ Bin sh do?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What is the difference between grep and grep?
What are the differences among a system call, a library function, and a unix command?