Tag: shellfu
Trasfer over the network
July 22, 2009
Transfer stdin and stdout to and from machines over the network ssh remote_machine ‘cat – > file’ < file
Add Line Numbers
July 7, 2009
Use this command to add line numbers to a text file… sed = filename.txt | sed ‘N;s/\n/\t/’ > filename_number.txt
Create Random Password
July 2, 2009
Use this command to create a random password < /dev/urandom tr -dc A-Za-z0-9_ | head -c8 Also see…
CDPATH
June 30, 2009
CDPATH is to cd what PATH is to exectable. You can go to a folder inside any of the CDPATH…
Recent Comments