what will this do $cat > file.c ?(file.c is a file in
current directory)
Answer Posted / madhavareddy
cat is used to view the content of the file .
if we have file name like file.c having data
214
215
216.
if we want to see the data give the command cat file.c.
if we want to over write the data in file.c give command
like
cat > file.c
219 (give ctl+D)
now if we want to see the data give
cat file.c
219
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What does the command '$ls | wc –l > file1' do?
Enlist some filename manipulation commands in unix.
What is rmdir command?
What's a command word?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
How can we use grep command in unix?
What is a command and examples?
What are reported commands?
What are filter commands in unix?
What is the function of grep command in unix?
Why is awk called awk?
What is the command to find maximum memory taking process on the server?
Name the various commands that are used for the user information in unix.
What are the dos commands?
What is unix command line?