how to create a new file command

Answer Posted / googler

there are many ways to create new file , out of these two are.

1. create file and write simultanesly using

cat >> "file name" , this command will create file with name

" file name" and allowing you to enter text there itself.

2. create file now , and write in it later using

touch "file name" , this command simply create one file
named " file name" , but laert not prompt you to enter data
there

itself.

Is This Answer Correct ?    3 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the command can be run to remove all the rules in an iptable table?

564


What is tail command in linux?

532


What is makefile target?

508


What is df -h command?

650


How can we increase disk read performance in single command in Linux?

554






What commands are used to see all jobs running in the hadoop cluster and kill a job in linux?

539


How to activate / deploy licence in RHEL 6 and what will happen if you don't activate / deploy licence in RHEL 6 ?

2264


What is FC command?

482


why context switching time should be minimum? How it depends on hardware support?

1287


What is ulimit command?

596


What does comm do and how to use it?

539


What the command used for search file or files for specific text?

490


What is the root directory linux?

496


What is echo command in batch file?

578


What make install does?

498