what will this do $cat > file.c ?(file.c is a file in
current directory)
Answer Posted / pramod krishna
Given file.c is a file in current dirctory.
So the command will remove the existing content and keep
the new content typing
| Is This Answer Correct ? | 14 Yes | 1 No |
Post New Answer View All Answers
What is the unix command to confirm a remote host is alive or not?
What is the use of egrep command in unix?
What are awk commands?
What is the difference between grep and grep?
Which command is used to delete all files in the current directory and all its sub-directories?
How do I find previous commands in unix?
How do I search for text in vi?
What is s and g in sed command?
Using unix command how to display no of records in oracle?
Can you explain a little bit about command substitution?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
Write a command to kill the last background job?
What is unix command?
What is difference between grep and find command in unix?
What is the comma to display different lines that are found when compare two files?