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
What is in mkdir command?
How do I check my disk space?
How to activate / deploy licence in RHEL 6 and what will happen if you don't activate / deploy licence in RHEL 6 ?
What is c++ makefile?
What is bc command in unix?
What is netstat command in linux?
Explain any one service which are working on udp only?
Explain about the command lynx?
What does cd – command do?
Does linux cp command overwrite?
What is an os command?
What are the options of wc command?
Write a command that will look for files with an extension "c", and has the occurrence of the string "apple" in it.
How find ip address linux?
Which command would you use if you want to remove the password assigned to a group?