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

what is the shell for dos,nt operating systems?

1 Answers  


How do you change your account's password?

6 Answers  


What is the comma to display different lines that are found when compare two files?

0 Answers  


what is ls -ltd?

5 Answers   HCL,


What is ‘ps’ command for?

0 Answers  






if we create a file, in that 10 rows(means 1,2,....9,10 like). i want 7 row exactly, which command use in unix? plz send this question.

28 Answers   TCS,


What are reported commands?

0 Answers  


distinguish between user mode and kernel mode?

6 Answers   Infosys,


How to find and replace the below command?

2 Answers   HCL,


Explain how to use grep command to list find the records of a file containing 10 different strings?

0 Answers  


What is the command to find hidden files in the current directory?

0 Answers  


What are the dos commands?

0 Answers  


Categories