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
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
Using unix command how to display no of records in oracle?
What are awk commands?
why metadb requires a seperate slice to create Solaris volume manager
What will the following command do?
What is the significance of the 'tee' command?
Describe the zip/unzip command using gzip.
What is pipe command in unix?
How does pipe () work?
How do I search for a file in unix command?
What is the general format of unix command syntax?
What is the use of the tee command?
What does #!/ Bin sh do?
What is time_t?
Which command is used to restrict incoming messages?