09-01-2015, 12:13 AM
(08-31-2015, 11:37 PM)rico Wrote:(08-31-2015, 11:26 PM)DyOS Wrote: Yea, I'm just not sure if I have enough memory to even open or manipulate the file. I will give that a shot.
head -n5 /root/users.txt > /root/newuser5.txt
That will copy the first 5 lines ( -n5 ) from users.txt to a new file called newuser5.txt
I don't think that will use much memory. Or maybe in your case use -n1 (I assume hashes are one per line?) and use the new file in your command.
Thanks!