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 |
What is $0 bash?
how many internal commands is there in UNIX?
If we want to see first 35 lines of a file which command we have to use?
Will rm -r* removes hidden files?
Give a regular expression that finds two things, try to come up with regular expressions that find each individually using "egrep" command?
what does a process mean?
what is the command to print last 8 lines of any text file.
Why is it called grep?
Is ‘du’ a command? If so, what is its use?
Briefly, how do you install Oracle software on UNIX.
Which command is used to find whether the system is 32 bit or 64 bit?
in UNIX,How to copy file into directory?