what will this do $cat > file.c ?(file.c is a file in
current directory)
Answer Posted / prakash reddy
if file.c exists in current directory, entire content will
be erased, if it is not present a new file by the name
file.c is created
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
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)?
What happens when we execute a unix command?
What are the commands in UNIX to list the files in a Directory?
How do I use grep to find a file?
Explain how to use grep command to list find the records of a file containing 10 different strings?
How do I run a bash script?
What is unix command?
Who command in unix?
How do you grep recursively?
How can you see the command line history?
What are the general commands in using unix os for a beginner?
Does cp command overwrite files?
Write a command to kill the last background job?
What is the unix command to confirm a remote host is alive or not?
What is unix command line?