How do you create a file in UNIX
Answer Posted / gramper
We can create empty file by using the command
$ touch filename
Adding contents to an empty file
$ cat >>filename
- writing any contents
-ctl + d
$ cat filename
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What does the metacharacter mean?
What is the pipe command?
What are filter commands in unix?
What is grep and how do you use it?
Name the unix command to find how many days the server has been up.
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What does awk stand for?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
Are you in or at the office?
How do I use grep to find a file?
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 command will change your prompt to myprompt?
How do I search for text in vi?
Which command will print your home directory on screen?
What is the difference between grep and grep?