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
Enumerate some of the most commonly used network commands in unix?
What is the comma to display different lines that are found when compare two files?
Which command is used to find whether the system is 32 bit or 64 bit?
What is command substitution?
What is the search command in unix?
Which unix command to make a new directory?
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)?
Explain command to show the space allocation of files?
Can you enlist some commonly used network commands?
How do I search for text in vi?
What is the functionality of a top command?
How do you repeat a command in terminal?
How do I use nslookup?
How can you see the command line history?
Which unix command lists files/folders in alphabetical order?