what are the different commands used to create files?
Answer Posted / 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 |
Post New Answer View All Answers
Are you in or at the office?
Describe the usage and functionality of the command rm –r * in unix?
What does grep v grep do?
What is the use of sed command in unix?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What are file commands?
What are the unix commands?
What command is used to switching between users in unix?
What are the differences among a system call, a library function, and a unix command?
What does the command ' $who | sort –logfile > newfile' do?
What happens when we execute a unix command?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What do know about tee command?
What is unix command line?
How do I use grep to find a file?