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 is the size of time_t?
Which command can you use to find the currently running process in unix server?
What is rmdir command?
What do chmod, chown, chgrp commands do?
Differentiate cmp command from diff command.
What is the difference between awk and grep?
Name the general commands in using unix os for a beginner?
What is nr in awk command?
Which command should you use to find the remaining disk space in unix server?
What is the function of grep command in unix?
Explain command to show the space allocation of files?
What does #!/ Bin sh do?
What is updatedb?
What is the use of the command 'ls -x chapter[1-5]' ?
How to find $ai_serual resolved path by using unix