Categorized under: Linux, Programming
My Linux Quick Reference
Just some commands that I tend to forget..
Screen
Terminate: Ctrl+D if Ctrl+A Ctrl+\ or Ctrl+A Ctrl+4 doesn’t work
Stop Beeping
Needs root permission.
Temporarily
modprobe -r pcspkr ->Disable
modprobe pcspkr -> Enable
Permanently
Add this line to the end of /etc/modprobe.d/blacklist
blacklist pcspkr
Piping stderr
foo 2>&1 | bar
To see only error messages (from compiler)
make sth 2>&1 | grep error
Useful Commands
/usr/sbin/dmidecode -t memory : Get mem details
. .profile or source .profile
ulimit -s unlimited
hid2hci
dhclient eth0
ip a
visudo
ln -s <target> <link name> : Symbolic Link