Answer Posted / v.balaviswanathan
$ cat > filename
to overwrite this we can use
$ cat >> filename
If we want to prevent accidental overwriting we use the command
$ set -o noclobber
and with
$ set +o noclobber
can be done to overwrite a file
| Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
How do I run a command in linux?
Explain about chmod options filename?
What is cmake in linux?
Explain the working of command grouping?
What is difference between sh and bash?
How do I list directories in linux?
What does in makefile do?
What can you tell about the tar command?
How do I check cpu usage?
What is $@ in bash?
How does diff command work?
What is p in mkdir?
How is grep so fast?
How find ip address linux?
What could be the problem when a command that was issued gave a different result from the last time it was used?