View difference between Paste ID: JjpMvqVn and 6Wsk7eDN
SHOW: | | - or go back to the newest paste.
1
~$ cat /etc/resolv.conf
2
cat: /etc/resolv.conf: No such file or directory
3
4
~$ ls -l /etc/resolv.conf
5
ls: cannot access /etc/resolv.conf: No such file or directory
6
7
~$ ls -l /run/resolvconf
8
total 0
9
drwxr-xr-x 2 root root 40 Jun  4 18:22 interface
10
-rw-r--r-- 1 root root  0 Jun  4 18:22 postponed-update
11
12
~$ ls -l /run/resolvconf/interface
13
total 0
14
15
~$ for F in /run/resolvconf/interface/* ; do echo "=== $F ===" ; cat "$F" ; done
16
=== /run/resolvconf/interface/* ===
17
cat: /run/resolvconf/interface/*: No such file or directory
18
19
~$ for F in /etc/resolvconf/resolv.conf.d/* ; do echo "=== $F ===" ; cat "$F" ; done
20
=== /etc/resolvconf/resolv.conf.d/base ===
21
=== /etc/resolvconf/resolv.conf.d/head ===
22
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
23-
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
23+
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
24
25
26
~$ cat /etc/issue
27
Ubuntu 12.04.2 LTS \n \l
28
29
~$ echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null
30
[sudo] password for user:
31
~$