How do you create a file in UNIX
Answer Posted / vi
We can create empty file by using the command true or :
: > testfile1
(or)
true > testfile2
The above two examples will create files.
| Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
Explain ‘library functions’ with respect to unix commands?
What is the comma to show the space allocation of files?
Describe the zip/unzip command using gzip.
What does touch command do in unix?
What is the general format of unix command syntax?
How do I use nslookup?
What does the metacharacter mean?
Which command is used to restrict incoming messages?
Is it inbetween or in between?
What is in grep command?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What does the command ' $who | sort –logfile > newfile' do?
What are the differences among a system call, a library function, and a unix command?
Name the various commands that are used for the user information in unix.
What difference between cmp and diff commands?