Monthly Archives: August 2013

lowercase uppercase How can you convert a text file to all lower case or all upper case? As usual, in Linux, there are more than 1 way to accomplish a task. To convert a file (input.txt) to all lower case (output.txt), … Continue reading

Posted in linux | Tagged | Leave a comment

batch ssh-copy-id

aliases=”${1:-/dev/null}” while read -r alias do echo $alias sshpass -p ‘secret’ ssh-copy-id $alias done < $aliases

Posted in ssh | Tagged | Leave a comment