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
What does this command do? Cat food 1 > kitty
What is the use of the command 'ls -x chapter[1-5]' ?
What is ctrl d?
Is it inbetween or in between?
How do I run a bash script?
What is command statement?
What is awk good for?
What are the commands in UNIX to list the files in a Directory?
What is the comma to display different lines that are found when compare two files?
What does the command '$ls | wc –l > file1' do?
How do I clear my terminal history?
How to find $ai_serual resolved path by using unix
How do I find previous commands in unix?
What is the difference between cat command and more command?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?