Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
41 lines (35 sloc) 977 Bytes
drive:
mount: mkdir /mnt/<location> && mount <device> /mnt/<location>
view: df -h
directory:
size: du -h
list: ls
goto: cd <dir>
zip: zip -r <output> <dir>
unzip: unzip <zip>
make:
single: mkdir <dir>
multiple: mkdir {<dir1>,<dir2>,<dir3>,...}
successive: mkdir -p <path>
gui:
open: startx <program (absolute path)>
close: killall /usr/bin/xinit
network:
start: /usr/bin/NetworkManager --no-daemon
wifi:
list: nmcli dev wifi
connect:
new: nmcli dev wifi connect <ssid> (password <password>)
previous: nmcli connection up <ssid>
add: nmcli connection add type wifi con-name "<ssid>" ...
display:
brightness: setpci -s 00\:02.0 F4.B-<brightness (hex)>
development:
compile:
java: javac <file>
c: gcc -o <output> <file>
go: go build
run:
java: java <class>
go: go run <file>
nodejs: node <file>