how to create a new file command
Answers were Sorted based on User's Feedback
Answer / subhash
create new file touch and give filename it will create new
file
| Is This Answer Correct ? | 26 Yes | 3 No |
Answer / saim.saiyed
you can use
touch filename (this way you can also create zero byte file)
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / rajesh
#touch filename
#cat >>filename
#vi filename
#vim filename
| Is This Answer Correct ? | 10 Yes | 0 No |
Answer / d.veera
$touch filename
or
cat > filename
or
vim filename
| Is This Answer Correct ? | 5 Yes | 2 No |
Answer / susheel narayan singh hcl
The cmd which use to create file
1- cat > filename
2- touch filename
3- vi filename
4-vim filename
5- gvim filename
6- gedit filename
7- nano filename
8- emac filename
9-pico filename
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / kiran kumar raju
The cmd which use to create a file
1- cat > filename
2- touch filename
3- vi filename
| Is This Answer Correct ? | 0 Yes | 0 No |
How to root mirror in Linux? How to replace mirrored hdd in case of failure?
What is the root directory linux?
What is grep command?
A file which is not deleted by normal user and also root (using rm), for that type of file how we delete it?
How would you find whether a remote server is up or not?
What happens to hard link when file is deleted?
Where can I find bash in linux?
How did you do the Health check in Linux?
Why we use pwd command in linux?
Who command in linux?
What is kill command?
How do I test my cpu speed?