how to create a new file command

Answers were Sorted based on User's Feedback



how to create a new file command..

Answer / subhash

create new file touch and give filename it will create new
file

Is This Answer Correct ?    26 Yes 3 No

how to create a new file command..

Answer / santosh

creat new file vi command
vi filename

Is This Answer Correct ?    16 Yes 2 No

how to create a new file command..

Answer / ramya

touch filename
cat >>filename

Is This Answer Correct ?    18 Yes 5 No

how to create a new file command..

Answer / sudharsan

create a new file
cat>filename
touch filename
vi filname

Is This Answer Correct ?    13 Yes 3 No

how to create a new file command..

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

how to create a new file command..

Answer / rajesh

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

Is This Answer Correct ?    10 Yes 0 No

how to create a new file command..

Answer / pam

vi filename or cat >>filename

Is This Answer Correct ?    9 Yes 0 No

how to create a new file command..

Answer / d.veera

$touch filename
or
cat > filename

or
vim filename

Is This Answer Correct ?    5 Yes 2 No

how to create a new file command..

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

how to create a new file command..

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

Post New Answer

More Linux Commands Interview Questions

What is trusted/untrusted operating system?

8 Answers  


How do I run multiple commands in linux?

0 Answers  


How do I change shell in linux?

0 Answers  


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

0 Answers  


what is jumbi process?

6 Answers   Oracle,






You suspect that you have two commands with the same name as the command is not producing the expected results. What command can you use to determine thelocation of the command being run?

0 Answers  


What is unix finger command?

0 Answers  


How do I run bash on windows?

0 Answers  


in LINUX,What are two subtle differences in using the more and the pg commands?

2 Answers  


difference between Tcp and udp

5 Answers  


What is the command to see on which port which service is running? And what is the difference between /etc/services file and net stat command?

0 Answers  


How do I find the process id in linux?

0 Answers  


Categories