what are the different commands used to view the contents
of a file?
Answers were Sorted based on User's Feedback
Answer / subbareddy kake
cat <file name>
more <file name>
vi <file name>
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / shaishaw
fold <file name>
cat <file name>
view <file name>
more <file name>
less <file name>
vi <file name>
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / nilu..
cat <file name>
view <file name>
more <file name>
less <file name>
vi <file name>
| Is This Answer Correct ? | 4 Yes | 2 No |
How to get a particular string as your prompt ? Give syntax of that command?
The command grep first second third /usr/you/myfile a) prints lines containing the words first, second or third from the file /usr/you/myfile b) searches for lines containing the pattern first in the files second, third, and /usr/you/myfile and prints them c) searches the files /usr/you/myfiel and third for lines containing the words first or second and prints them d) replaces the word first with the word second in the files third and /usr/you/myfile e) None of the above
What is the command to compare two files in unix?
What does find command return in unix?
How do I search for text in vi?
who to change the duplex setting of network interface in command line
Explain how to use grep command to list find the records of a file containing 10 different strings?
what is tar command and what are the different types of tar commands?
what is the significance of "su" command?
What does this command do,"$more readme.txt“?
what is virtual machine?
Which Command is Used for temprary switch User?