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 comma to show the space allocation of files?
How do I open a port?
What are bash commands?
Explain the steps that a shell follows while processing a command.
What is pipe command in unix?
Name the various commands that are used for the user information in unix.
What command is used to check the current users?
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
What difference between cmp and diff commands?
Who invented grep?
What is the functionality of a top command?
How do I use grep to find a file?
What does the “echo” command do?
Explain command to view process running?
What are reported commands?