Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save svelleweetakealot/2dee73c8f1da3c2b1ce825ab953341ef to your computer and use it in GitHub Desktop.
Save svelleweetakealot/2dee73c8f1da3c2b1ce825ab953341ef to your computer and use it in GitHub Desktop.
ifconfig eth0 192.168.0.253 up
# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
ping: sendto: Network is unreachable
# history
0 ls
1 ifconfig -a
2 ifconfig eth0 10.0.0.254 up
3 ifconfig eth0 10.0.0.253 up
4 ping 10.0.0.254
5 ping 10.0.0.2
6 ping 8.8.8.8
7 route
8 route add default gw 10.0.0.254
9 ping 8.8.8.8
10 echo "nameserver 8.8.8.8" > /etc/resolv.conf
11 echo "" > /etc/resolv.conf
12 cat /etc/resolv.conf
13 ping 8.8.8.8
14 ping www.google.com
15 echo "nameserver 8.8.8.8" > /etc/resolv.conf
16 ping www.google.com
17 docker
18 ifconfig
19 ifconfig -a
20 ifconfig eth0 10.9.0.253 up
21 halt
22 ip addr
23 ping 8.8.8.8
24 ifconfig eth0 192.168.0.253 up
25 ip addr
26 ping 192.168.0.254
27 ip addr
28 ping 192.168.0.10
29 ping 192.168.0.12
30 ip route
31 history
32 route
33 route add default gw 10.0.0.254
34 route
35 ifconfig
36 ifconfig -a
37 history
38 ifconfig eth0 10.0.0.253 up
39 ip addr
40 ifconfig eth0 192.168.0.253 up
41 ip route
42 ping 192.168.0.254
43 ping 8.8.8.8
44 history
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment