Advertisement
Guest User

/etc/rc.local

a guest
Feb 22nd, 2012
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.10 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. # Random hostname
  4. MYHOST=$(</dev/urandom tr -dc A-Za-z0-9_ | head -c8)
  5. hostname $MYHOST
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement