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

in UNIX,what is the command to remove directory with files?

10 Answers  


What is the behavioural difference between cmp and diff commands?

0 Answers  


in UNIX ,What is the command to view contents of a large error log file?

7 Answers  


Enumerate some of the most commonly used network commands in unix?

0 Answers  


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

0 Answers  






What does the metacharacter mean?

0 Answers  


What is the command to view process running?

0 Answers  


what is the use of "fg" command ?

5 Answers   PSU, Sail,


What are bash commands?

0 Answers  


how will you convert a general file to a hidden file?

4 Answers  


What is difference between grep and find command in unix?

0 Answers  


what is the command to get help on a UNIX terminal?

5 Answers  


Categories