How do you create a file in UNIX
Answer Posted / tannu
its so easy there r 2 way
just type 1 way is
$cat > filename
\\here is the text or content u want to write in file
or to exit from file press ctrl+d
2 way is
open unix editor that is vi
just type "vi" and if u give only vi then before exit by
command :wq (u have to give file u want to put after it
command)
and if u give like vi filename then u dont want to give
file name before exit
| Is This Answer Correct ? | 106 Yes | 30 No |
Post New Answer View All Answers
What do chmod, chown, chgrp commands do?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What do chown command do?
What are bash commands?
What is the difference between cat command and more command?
What is the functionality of a top command?
What is the use of the command 'ls -x chapter[1-5]' ?
How do I search for a file in unix command?
What is merge command in unix?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is the use of the tee command?
Describe the zip/unzip command using gzip.
How do I run a whois command?
Explain command to view process running?
What does awk stand for?