Thanks for that undeath, you are of course correct, unfortunately it was a fault of my post and not of the actual code I used but very well spotted though !
Well its finally working and I think this has been one of those "comedy of errors" things !
I have never used this command before and I perhaps should have practiced on something smaller and simpler for my first go, but tonight I was in a "death or glory" sort of mood and I just went for it !! I am not certain of the order of events but in case anyone else here has any trouble here's what I think happened.
I tried to use the sort function and got my original crash (out of memory) due to my flash drive. After San's help I tried using the -T switch and I think I may have forgotten to change the name of the output folder. What I was doing was dragging them into the command screen to save typing and then I just re-name the end output file. I think on one occasion I must have forgotten this and totally wiped the original to 0 Bytes.
As the file was still there but there wasn't anything in it I was trying various commands and not getting an output, obviously because there was nothing in the input !! As I hadn't noticed this I was assuming things weren't working, but it may well have been doing so all along.
So thank to you both for your help. Entirely my fault.
The winning command was.... if anyone else needs it.
sort -T '/media/truecrypt4/words/newtempfolder' -u 'media/truecrypt4/words/test.txt' > media/truecrypt4/words/testsorted.txt
I must say this is taking an awfully long time to run, I normally use ULM as it is very good at this sort of thing but it does suffer from crashes when working with larger files. I hoped Ubuntu (Backtrack) would be better than windows for this and I await to see if it gets through it.
Thanks.
Well its finally working and I think this has been one of those "comedy of errors" things !
I have never used this command before and I perhaps should have practiced on something smaller and simpler for my first go, but tonight I was in a "death or glory" sort of mood and I just went for it !! I am not certain of the order of events but in case anyone else here has any trouble here's what I think happened.
I tried to use the sort function and got my original crash (out of memory) due to my flash drive. After San's help I tried using the -T switch and I think I may have forgotten to change the name of the output folder. What I was doing was dragging them into the command screen to save typing and then I just re-name the end output file. I think on one occasion I must have forgotten this and totally wiped the original to 0 Bytes.
As the file was still there but there wasn't anything in it I was trying various commands and not getting an output, obviously because there was nothing in the input !! As I hadn't noticed this I was assuming things weren't working, but it may well have been doing so all along.
So thank to you both for your help. Entirely my fault.
The winning command was.... if anyone else needs it.
sort -T '/media/truecrypt4/words/newtempfolder' -u 'media/truecrypt4/words/test.txt' > media/truecrypt4/words/testsorted.txt
I must say this is taking an awfully long time to run, I normally use ULM as it is very good at this sort of thing but it does suffer from crashes when working with larger files. I hoped Ubuntu (Backtrack) would be better than windows for this and I await to see if it gets through it.
Thanks.