Skip to content

Latest commit

 

History

History
387 lines (283 loc) · 10.6 KB

ifconfig_statistics.md

File metadata and controls

387 lines (283 loc) · 10.6 KB
layout title tags
manual
ifconfig - Statistics of command combinations using pipe
statistic

Before

The commands before ifconfig: Pipe the result of the given command to ifconfig.

Command percentage
echo 20%
ifconfig 20%
sort 13%
head 6%
cat 6%
ip 6%
name 6%
grep 6%
awk 6%
w 6%

After

The commands after ifconfig: Pipe the result of ifconfig to the given command.

Command Percentage
grep 32%
dd 23%
awk 12%
w 12%
sed 4%
ip 2%
su 2%
xargs 1%
ifconfig 1%

Related Scenarios

Below are the scenarios for all command combinations above.

The description in the table is referenced from and can be used to search the one-line-command or the scripts in the website of CommandLineFu.

Pipe echo to ifconfig

  • List your MACs address
  • Get your external IP address
  • get linkspeed, ip-adress, mac-address and processor type from osx

Pipe ifconfig to ifconfig

  • Get your external IP address
  • get linkspeed, ip-adress, mac-address and processor type from osx
  • get linkspeed, ip-adress, mac-address and processor type from osx

Pipe sort to ifconfig

  • Equivalent to ifconfig -a in HPUX
  • Equivalent to ifconfig -a in HPUX

Pipe head to ifconfig

  • Resets your MAC to a random MAC address to make you harder to find.

Pipe cat to ifconfig

  • Get your external IP address

Pipe ip to ifconfig

  • Get your external IP address

Pipe name to ifconfig

  • get linkspeed, ip-adress, mac-address and processor type from osx

Pipe grep to ifconfig

  • get linkspeed, ip-adress, mac-address and processor type from osx

Pipe awk to ifconfig

  • Delete all aliases for a network interface on a (Free)BSD system

Pipe w to ifconfig

  • Delete all aliases for a network interface on a (Free)BSD system

Pipe ifconfig to grep

  • List your MACs address
  • Measures download speed on eth0
  • Print machine's ipv4 addresses
  • extract ip address from ifconfig using
  • List hostnames of all IPs
  • Get internal and external IP addresses
  • Get your internal IP address and nothing but your internal IP address
  • List your MACs address
  • watch your network load on specific network interface
  • extraer la MAC del comando ifconfig
  • Get the mac address of eth0 in uppercase minus the colons
  • mac address for eth0
  • Get IPv6 of eth0 for use with scripts
  • Get IPv4 of eth0 for use with scripts
  • Autofind alive hosts on subnet upon connect
  • Print the local ip on a wireless connection
  • Get all IPs via ifconfig
  • Get all IPs via ifconfig
  • Get primary IP of the local machine
  • Get name of first configured interface
  • Print all interfaces IP and Mac address in the same line
  • Get non-localhost IPs from all Internet interfaces
  • Reading my nic's mac address
  • Get your local IP regardless of your network interface
  • Get the IP address
  • Get the IP address
  • Get the IP address
  • Get IPv4 of eth0 for use with scripts
  • get LAN ip
  • get LAN ip
  • get LAN ip
  • Get ethX mac addresses
  • Grab an interface's IP from ifconfig without screen clutter
  • alias to show my own configured ip
  • Unique number by Mac Address
  • show your private/local ip address
  • List your interfaces and MAC addresses
  • Filtering IP address from ifconfig usefule in scripts
  • Equivalent to ifconfig -a in HPUX
  • Find MAC address of Active Eth connection
  • Get all mac address
  • List Server IP address
  • Periodically loop a command
  • Get your IP addresses
  • Show local/public IP adresses with or without interface argument using a shell function for Linux and MacOsX
  • show your private/local ip address
  • get linkspeed, ip-adress, mac-address and processor type from osx
  • get linkspeed, ip-adress, mac-address and processor type from osx
  • get linkspeed, ip-adress, mac-address and processor type from osx
  • Find all Mac Address
  • get the public ip adress of server on shell
  • Filtering IP address from ifconfig usefule in scripts
  • get ip and hostname for this computer
  • Get IPv4 of eth0 for use with scripts
  • Get IPv4 of eth0 for use with scripts
  • Show Network IP and Subnet
  • Show local IP
  • Show Network IP and Subnet
  • Show Network IP and Subnet
  • Return IP Address
  • Get MAC ID linux command line
  • Delete all aliases for a network interface on a (Free)BSD system
  • This command can be used to extract the IP address of the network.
  • Reading my nic's mac address
  • Read just the IP address of a device
  • Read just the IP address of a device
  • Read just the IP address of a device

Pipe ifconfig to dd

  • extract ip address from ifconfig using
  • List hostnames of all IPs
  • Get internal and external IP addresses
  • Get your internal IP address and nothing but your internal IP address
  • List your MACs address
  • simple echo of IPv4 IP addresses assigned to a machine
  • Get IPv4 of eth0 for use with scripts
  • Get IPv4 of eth0 for use with scripts
  • Get the mac address of eth0 in uppercase minus the colons
  • mac address for eth0
  • Get IPv6 of eth0 for use with scripts
  • Get IPv4 of eth0 for use with scripts
  • Autofind alive hosts on subnet upon connect
  • Grab the first 3 octets of your ip addresses
  • Get all IPs via ifconfig
  • Get name of first configured interface
  • Reading my nic's mac address
  • Reading my nic's mac address
  • Get all IPs via ifconfig
  • Get the IP address
  • Get the IP address
  • Grab an interface's IP from ifconfig without screen clutter
  • alias to show my own configured ip
  • show your private/local ip address
  • show your private/local ip address
  • show your private/local ip address
  • List your interfaces and MAC addresses
  • easy seach ip
  • Getting the ip address of eth0
  • Get all mac address
  • Periodically loop a command
  • Get your local IP regardless of your network interface
  • Show local/public IP adresses with or without interface argument using a shell function for Linux and MacOsX
  • List your interfaces and MAC addresses
  • Read just the IP address of a device
  • Get your internal IP address and nothing but your internal IP address
  • get the public ip adress of server on shell
  • Get all IPs via ifconfig
  • Filtering IP address from ifconfig usefule in scripts
  • Get IPv4 of eth0 for use with scripts
  • Show Network IP and Subnet
  • Show Network IP and Subnet
  • Show Network IP and Subnet
  • Get MAC ID linux command line
  • Get the IP address
  • Read just the IP address of a device
  • Read just the IP address of a device
  • Read just the IP address of a device

Pipe ifconfig to awk

  • simple echo of IPv4 IP addresses assigned to a machine
  • Grab the first 3 octets of your ip addresses
  • Get all IPs via ifconfig
  • Get MAC address
  • Get all IPs via ifconfig
  • Get the IP address
  • show your private/local ip address
  • Get the IP address of a machine. Just the IP, no junk.
  • Get the IP address of a machine. Just the IP, no junk.
  • Aligns NIC device names and associated IPs.
  • easy seach ip
  • Getting the ip address of eth0
  • Get all mac address
  • List your interfaces and MAC addresses
  • Mac OS X - List all of my machine's IP addresses
  • sends your internal IP by email
  • Get primary IP of the local machine
  • NICs, IPs, and Mac
  • Get all IPs via ifconfig
  • Get ethX mac addresses
  • Get the IP address of a machine. Just the IP, no junk.
  • Get IPv4 of eth0 for use with scripts
  • Show interface/ip using awk
  • Return IP Address
  • Return IP Address
  • Read just the IP address of a device

Pipe ifconfig to w

  • simple echo of IPv4 IP addresses assigned to a machine
  • Grab the first 3 octets of your ip addresses
  • Get all IPs via ifconfig
  • Get MAC address
  • Get all IPs via ifconfig
  • Get the IP address
  • show your private/local ip address
  • Get the IP address of a machine. Just the IP, no junk.
  • Get the IP address of a machine. Just the IP, no junk.
  • Aligns NIC device names and associated IPs.
  • easy seach ip
  • Getting the ip address of eth0
  • Get all mac address
  • List your interfaces and MAC addresses
  • Mac OS X - List all of my machine's IP addresses
  • sends your internal IP by email
  • Get primary IP of the local machine
  • NICs, IPs, and Mac
  • Get all IPs via ifconfig
  • Get ethX mac addresses
  • Get the IP address of a machine. Just the IP, no junk.
  • Get IPv4 of eth0 for use with scripts
  • Show interface/ip using awk
  • Return IP Address
  • Return IP Address
  • Read just the IP address of a device

Pipe ifconfig to sed

  • Reading my nic's mac address
  • Get your local IP regardless of your network interface
  • show your private/local ip address
  • Get your local/private IP
  • List your MACs address
  • Get your local IP regardless of your network interface
  • Get your external IP address
  • Get your internal IP address and nothing but your internal IP address
  • Get the IP address

Pipe ifconfig to ip

  • geoip information
  • Localize a Public IP on a specific interface
  • Show local/public IP adresses with or without interface argument using a shell function for Linux and MacOsX
  • Read just the IP address of a device
  • save command output to image

Pipe ifconfig to su

  • Grab the first 3 octets of your ip addresses
  • Get all IPs via ifconfig
  • show your private/local ip address
  • easy seach ip
  • Get all IPs via ifconfig

Pipe ifconfig to xargs

  • geoip information
  • Localize a Public IP on a specific interface
  • Read just the IP address of a device

Pipe ifconfig to ifconfig

  • Get your external IP address
  • get linkspeed, ip-adress, mac-address and processor type from osx
  • get linkspeed, ip-adress, mac-address and processor type from osx

Pipe ifconfig to dig

  • List your MACs address
  • Get all mac address

Pipe ifconfig to less

  • Quick and dirty hardware summary

Pipe ifconfig to ss

  • Quick and dirty hardware summary

Pipe ifconfig to head

  • Print the IP address and the Mac address in the same line

Pipe ifconfig to nc

  • Get your local/private IP
  • Get your external IP address

Pipe ifconfig to sleep

  • Periodically loop a command

Pipe ifconfig to curl

  • Show local/public IP adresses with or without interface argument using a shell function for Linux and MacOsX

Pipe ifconfig to host

  • get linkspeed, ip-adress, mac-address and processor type from osx

Pipe ifconfig to exit

  • Get primary IP of the local machine

Pipe ifconfig to ln

  • Read just the IP address of a device