can we use cat command as an editor ..???

Answer Posted / niranjan

cat is unix command not an editor.
Editor is one which provides various mode like input mode,command mode, and last line mode as vi editor..
cat displays the content of file if file exist else it creates
the new file and takes input from standard input(i.e, keyboard)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What difference between cmp and diff commands?

714


Why is awk called awk?

573


Explain command to show the space allocation of files?

623


Who wrote grep?

572


How to use grep command to list find the records of a file containing 10 different strings?

639






What is the use of egrep command in unix?

619


Which unix command to make a new directory?

583


Why is shebang used?

587


Is ‘du’ a command? If so, what is its use?

623


How do I use grep to find a file?

571


Does cp command overwrite files?

614


What is the difference between grep and grep?

561


What is the use of tee command?

561


What do know about tee command?

594


How do you grep recursively?

545