Advertisement
yuch4n

memo

Nov 4th, 2012
757
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.59 KB | None | 0 0
  1. #Find any existing DHCP servers
  2. dhcping -s 255.255.255.255
  3.  
  4. #diff two unsorted files without creating temporary files
  5. diff <(sort file1) <(sort file2)
  6.  
  7. #Set console screen resolution
  8. vga=
  9. 771  800x600    256 colors
  10. 773  1024x768   256 colors
  11. 775  1280x1024  256 colors
  12. 788  800x600    65536 colors
  13. 791  1024x768   65536 colors
  14. 794  1280x1024  65536 colors
  15. 789  800x600    16777216 colors
  16. 792  1024x768   16777216 colors
  17. 795  1280x1024  16777216 colors
  18.  
  19. #Simple HTTP Server
  20. python -m SimpleHTTPServer 80
  21. python -m CGIHTTPServer 80
  22.  
  23. #
  24. whoami /fqdn
  25.  
  26. #
  27. less -ip "fail" /var/log/messages
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement