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
Which command is used to restrict incoming messages?
What is grep r?
What are the commands in UNIX to list the files in a Directory?
What is the use of egrep command in unix?
Write a command to kill the last background job?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What difference between cmp and diff commands?
What is “chmod” command?
What is awk used for?
What is {} in find command?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What is the general format of unix command syntax?
What does the md command do?
What is ctrl d?
Which command is used to create a directory?