how to create a new file command

Answer Posted / rajesh

#touch filename
#cat >>filename
#vi filename
#vim filename

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose output of cd command?

580


Explain difference between swap partition and swap file?

501


What does umask 022 mean?

624


What does uname do in linux?

547


Which command is used to compare the files?

496






Which command would you use to create a file system on a new hard drive?

580


What are different command to check ram, process and hdd of linux machine?

536


What are the linux commands used in devops?

554


In order to display the last five commands you have entered using the fc command, you would type?

524


How do I list all processes in linux?

526


What would be the result of the command paste -s dog cat?

540


You attempt to delete a file called sales.mem using the rm command but the command fails. What could be the problem?

593


Who whoami linux?

562


How do I navigate in cmd?

545


What is cd command used for?

566