Netapp Create, Append or Overwrite a File (Like Cat Blah > file.txt)
How to create / overwrite a file on a Netapp, simialr to the unix / linux command “cat blah > file.txt”
This Netapp HowTo is useful for the following
- Netapp add text to file
- Netapp overwrite file
- Netapp edit file
Netapp Create a File & add text to a File
The following command will create the file /etc/ironman.txt and add two lines “Pepper Potts” and “War Machine”
1 2 |
|
The contents of the above file will look like this:
1 2 3 |
|
You might be interested in my other Netapp Commands & HowTo’s.