In UNIX, what is the command to edit contents of the file?

Answer Posted / shamnad

vi <filename>
sed <option> <filename>

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the unix command to confirm a remote host is alive or not?

669


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

729


Is it inbetween or in between?

658


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

848


What is the difference between cat and more command?

759






Which unix command to make a new directory?

686


Which command is used to find whether the system is 32 bit or 64 bit?

715


What are file commands?

746


Explain ‘library functions’ with respect to unix commands?

702


What is unix command?

689


What is awk good for?

677


Which command will print your home directory on screen?

665


Why is shebang used?

684


What is the use of awk command in unix?

653


What is the search command in unix?

678