daily pastebin goal
50%
SHARE
TWEET

Untitled

a guest Mar 27th, 2015 184 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. barracuda@barracuda-Lenovo-G550:~$ hostname
  2. barracuda-Lenovo-G550
  3. barracuda@barracuda-Lenovo-G550:~$ sudo hostname
  4. sudo: unable to resolve host barracuda-Lenovo-G550
  5. [sudo] password for barracuda:
  6. barracuda-Lenovo-G550
  7. barracuda@barracuda-Lenovo-G550:~$ sudo hostname
  8. sudo: unable to resolve host barracuda-Lenovo-G550
  9. barracuda-Lenovo-G550
  10. barracuda@barracuda-Lenovo-G550:~$ cat /etc/hosts
  11. 127.0.0.1       localhost
  12. ::1             barracuda-Lenovo-G550
  13. 127.0.1.1       barracuda-Lenovo-G550
  14.  
  15. # The following lines are desirable for IPv6 capable hosts
  16. ::1     ip6-localhost ip6-loopback
  17. fe00::0 ip6-localnet
  18. ff00::0 ip6-mcastprefix
  19. ff02::1 ip6-allnodes
  20. ff02::2 ip6-allrouters
  21. barracuda@barracuda-Lenovo-G550:~$ cat /etc/hostname
  22. barracuda-Lenovo-G550
  23. barracuda@barracuda-Lenovo-G550:~$ cat /etc/nsswitch.conf
  24. # /etc/nsswitch.conf
  25. #
  26. # Example configuration of GNU Name Service Switch functionality.
  27. # If you have the `glibc-doc-reference' and `info' packages installed, try:
  28. # `info libc "Name Service Switch"' for information about this file.
  29.  
  30. passwd:         compat
  31. group:          compat
  32. shadow:         compat
  33.  
  34. hosts:          dns
  35. networks:       files
  36.  
  37. protocols:      db files
  38. services:       db files
  39. ethers:         db files
  40. rpc:            db files
  41.  
  42. netgroup:       nis
  43. barracuda@barracuda-Lenovo-G550:~$
RAW Paste Data
Top