output redirect back to file
Is there a way to do the following:
Code:
sort file > file Code:
sort file > file2 |
To do this process with a script is pretty easy.
And .... I thought I have seen it done via command line by using the < redirect sysbol to direct the output back into the origial file ....but i tried it on RH and it did not work as expected. I would recommend using a script anyway to save possible data corruption. Just my 2cents. :D |
All times are GMT -5. The time now is 10:18 PM. |