We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4247ba5 commit d0ff424Copy full SHA for d0ff424
0x08-networking_basics_2/0-change_your_home_IP
@@ -6,4 +6,4 @@
6
cp /etc/hosts ~/hosts.new
7
echo "127.0.0.2 localhost" > ~/hosts.new
8
echo "8.8.8.8 facebook.com" >> ~/hosts.new
9
-cp -f ~/hosts.new /etc/hosts
+cp -f ~/hosts.new /etc/hosts
0x08-networking_basics_2/1-show_attached_IPs
@@ -1,4 +1,4 @@
1
#!/usr/bin/env bash
2
# This script displays all acive IPv4 addresses on the machine.
3
4
-ifconfig | grep -Eo "inet (addr:)?([0-9]*\.){3}[0-9]*" | cut -b 6-
+ifconfig | grep -Eo "inet (addr:)?([0-9]*\.){3}[0-9]*" | cut -b 6-
0 commit comments