what are the different commands used to create files?
Answers were Sorted based on User's Feedback
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 |
Answer / ravindran m
1.touch - to create empty files (e.g) - touch <filename>
2.vi <filename>
| Is This Answer Correct ? | 3 Yes | 0 No |
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 |
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 |
In UNIX, what is the command to edit contents of the file?
How do you find path of a directory? Give its syntax.
What is grep in bash?
Is command prompt unix?
Which unix command lists files/folders in alphabetical order?
Is it inbetween or in between?
How to install scsi driver in unix? give me explanation clearly?
What does touch command do in unix?
What is the comma to show the space allocation of files?
what is the cmd to display the last exit status in UNIX?
how to sort the content of the file based on numeric values
What is grep short for?