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 is .sh file?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What is the use of egrep command in unix?
How do I find previous commands in unix?
Can you enlist some commonly used network commands?
What is unix command?
What is the function of grep command in unix?
Who command in unix?
How do I open a port?
What are the differences among a system call, a library function, and a unix command?
how to sort the content of the file based on numeric values
Give the command for finding the current date.
What is the pipe command?
What is the size of time_t?
What does find command return in unix?