Voxqvrpr Cae-Hackathon

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

CAE Hackathon Cheat Sheet

by voxqvrpr via cheatography.com/69171/cs/17436/

Interface Info

ifconfig
ip a

general ip & interface info

Bring interfaces up & down

# ip link set dev <interface> up


# ip link set dev <in​ter​fac​e> down
# /sbin/​ifc​onfig <in​ter​fac​e> up
# /sbin/​ifc​onfig <in​ter​fac​e> down

/etc/n​etw​ork​/in​ter​faces

# The loopback network interface


auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface em1 inet static
​ ​ ​ ​address 192.16​8.1.100
​ ​ ​ ​netmask 255.25​5.255.0
​ ​ ​ ​network 192.16​8.1.0
​ ​ ​ ​bro​adcast 192.16​8.1.255 # optional
​ ​ ​ ​gateway 192.16​8.1.254
# Wireless interface
auto wlp3s0
iface wlp3s0 inet dhcp

Template for static & dhcp

By voxqvrpr Not published yet. Sponsored by Readability-Score.com


cheatography.com/voxqvrpr/ Last updated 12th October, 2018. Measure your website readability!
Page 1 of 1. https://readability-score.com

You might also like