Created
January 20, 2015 13:58
-
-
Save nooitaf/4d03a1a2ef6493e2d7ec to your computer and use it in GitHub Desktop.
Linux Cheat Sheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Standard Settings | |
# | |
# Set Timezone | |
dpkg-reconfigure tzdata | |
# .bashrc | |
alias ll='ls -l' | |
alias la='ls -A' | |
alias l='ls -CF' | |
PS1=" | |
\[\e[38;5;234m\]\D{%H%M} \[\e[1;33m\]\u \[\e[1;36m\]\w\[\e[1;31m\] | |
\[\e[1;91m\]>: \[\e[0m\]" | |
# Network | |
# | |
# /etc/network/interfaces | |
auto lo | |
iface lo inet loopback | |
auto eth0 | |
iface eth0 inet dhcp | |
auto wlan0 | |
allow-hotplug wlan0 | |
iface wlan0 inet dhcp | |
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf | |
# /etc/wpa_supplicant/wpa_supplicant.conf | |
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
update_config=1 | |
ap_scan=1 | |
network={ | |
ssid="ssidname2" | |
psk="password" | |
} | |
network={ | |
ssid="ssidname2" | |
psk="password" | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment