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 does grep v grep do?
Write a command that will display files in the current directory, in a colored, long format.
Name the general commands in using unix os for a beginner?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What do chmod command do?
What is unix command?
What command is used to check the current users?
What is grep and how do you use it?
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 are the unix commands?
What is a bash command?
What is ctrl d?
Describe the usage and functionality of the command rm –r * in unix?
What is awk good for?
Differentiate cmp command from diff command.