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

How do I run a whois command?

611


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

599


What is the significance of the 'tee' command?

602


what is the advaantage of each user having its own copy of the shell?

2045


Why is it called a shebang?

582






What is awk used for?

626


Which unix command to make a new directory?

596


What is the difference between cat command and more command?

607


Is it inbetween or in between?

592


What are grep patterns?

583


What does this command do? Cat food 1 > kitty

984


What does this command do,"$more readme.txt“?

695


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

805


How do I run a bash script?

588


What are reported commands?

570