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 comma to display different lines that are found when compare two files?

0 Answers  


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

0 Answers  


What does 'mkdir' command do in UNIX?

0 Answers   Syntel, Visa,


Which command is used to kill the last background job?

0 Answers  


Which is the command used to find out currently executing Process in UNIX?

6 Answers   Amazon,






How to remove a crontab file?

2 Answers  


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

0 Answers  


why metadb requires a seperate slice to create Solaris volume manager

0 Answers   Wipro,


Suppose 1000 processes are running on the system out of those if you have to show only certain process ids which command will you use?

5 Answers  


Why we are using UNIX OS when we are doing the testing in our application?

5 Answers   IBM,


What is merge command in unix?

0 Answers  


What is awk good for?

0 Answers  


Categories