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 |
What does find command return in unix?
what are the uses of filters?
who to change the duplex setting of network interface in command line
The command grep first second third /usr/you/myfile a) prints lines containing the words first, second or third from the file /usr/you/myfile b) searches for lines containing the pattern first in the files second, third, and /usr/you/myfile and prints them c) searches the files /usr/you/myfiel and third for lines containing the words first or second and prints them d) replaces the word first with the word second in the files third and /usr/you/myfile e) None of the above
in UNIX,How do you check for processes started by particular user suppose the user name is 'suresh'?
What is the use of awk command in unix?
what is the cmd to display the last exit status in UNIX?
distinguish between physical addresses and logical address?
23 Answers College School Exams Tests, CTS, Infosys, SAX, TATA, TCS,
What is the size of time_t?
How to open a Database using Unix Command Please Do Reply
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?
Explain ‘library functions’ with respect to unix commands?