what are the different commands used to create files?

Answers were Sorted based on User's Feedback



what are the different commands used to create files?..

Answer / sudam

We can use the below commands for creating a file
touch, cat, vi, vim, pico
A) touch: touch <file name>
B) cat: cat > <file name>
C) vi: vi <file name>
D) vim: vim <file name>
E) pico: pico <file name>

Is This Answer Correct ?    8 Yes 0 No

what are the different commands used to create files?..

Answer / ravindran m

1.touch - to create empty files (e.g) - touch <filename>
2.vi <filename>

Is This Answer Correct ?    3 Yes 0 No

what are the different commands used to create files?..

Answer / subbareddy kake

1.touch <file name>
2.cat > filename
3.> file name
4.by using editors like vi
5.echo > file name
6.tee file name
7.vim file name

Is This Answer Correct ?    1 Yes 1 No

what are the different commands used to create files?..

Answer / abani_mahana

touch, cat, vi, vim, pico
A) touch: touch <file name>
B) cat: cat > <file name>
C) vi: vi <file name>
D) vim: vim <file name>
E) pico: pico <file name>

Is This Answer Correct ?    0 Yes 0 No

what are the different commands used to create files?..

Answer / blakwolph

cat

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More Unix Commands Interview Questions

which command is used to identify the type of the file?

3 Answers  


Who command in unix?

0 Answers  


How do you grep recursively?

0 Answers  


what is the difference between commmands cmp and diff?

9 Answers   iNautix,


what is the difference between Touch & cat command

21 Answers   QA,


how to sort the content of the file based on numeric values

0 Answers   Epsilon,


what is the shell for dos,nt operating systems?

1 Answers  


what is mount ,tell me about mount ,how can u use in real time project??

12 Answers   Symphony,


Where LOG fiels resides in AIX and pls tel me how to remove the log file

6 Answers   Vestas,


How to remove a crontab file?

2 Answers  


what is virtual machine?

2 Answers   Infosys,


Write a command that will output the sorted contents of a file named in.txt and place the output in another file named out.txt, while at the same time excluding duplicate entries.

1 Answers  


Categories