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

describe the escaping sequence characteres in unix

1 Answers  


how to find largest file?

14 Answers   HCL, Microsoft, Thomson Reuters,


When the shell is reading the command line what is the difference between text enclosed between double quotes ( ” ) and text enclosed between signal quotes ( ’ )?

3 Answers  


in UNIX,How do you check for processes started by particular user suppose the user name is 'suresh'?

6 Answers  


How to delete a directory containing files and folders?

3 Answers  






What is the functions of zambie process?

3 Answers  


What are the general commands in using unix os for a beginner?

0 Answers  


Give command that will make the file "run.sh" executable?

10 Answers   IBM,


how unix kernel distinguishes between a normal file and device file ?

7 Answers   Google, IBM, McAfee, Vodafone,


What are the commands in UNIX to list the files in a Directory?

0 Answers   CGI,


What's a command word?

0 Answers  


how to delete entire records in unix ?

13 Answers   Cap Gemini,


Categories