%a %b %d, %I:%M %p
sudo dpkg-reconfigure console-setup
src: Ubuntu Forums thread #456968
Open /etc/inputrc (or ~/.inputrc and uncomment or add:
set bell-style none
Open /etc/inputrc (or ~/.inputrc and add:
set show-all-if-ambiguous on
# fc-cache -f -v
nano ~/.local/share/applications/defaults.list
In /etc/gdm/Init/Default, add the following lines before exit 0:
if [ -x /usr/bin/numlockx ]; then
/usr/bin/numlockx on
fi
Add the following to /etc/rc.local
# Turn Numlock on for the TTYs: for tty in /dev/tty[1-6]; do /usr/bin/setleds -D +num < $tty done
Xft.dpi: 96
Xft.antialias: true
Xft.hinting: true
XTerm*dynamicColors: true
XTerm*geometry: 140x25
! SET SIZE AND POSITION
!XTerm*geometry: 140x25+150+50
XTerm*toolBar: false
XTerm*utf8 : 1
!XTerm*faceName: terminus:pixelsize=9
XTerm*faceName: Inconsolata
XTerm*faceSize: 11
XTerm.cursorBlink: true
XTerm.foreground: #00FF00
XTerm.background: #000000
ar -x some_package.deb
dpkg -b directory_with_req_files some_package.deb
tar -cvfz name_of_your_archive.tar.gz /path/to/directory
tar -xvzf
tar -xvjf
xrdb -merge ~/.Xresources
source ~/.bashrc
du -x --block-size=1024K | sort -nr | head -10
src: Linux Reviews > Tips and Tricks >
dpkg-query --show --showformat='${Package;-50}\t${Installed-Size}\n' | sort -k 2 -n | grep -v deinstall | awk '{printf "%.3f MB \t %s\n", $2/(1024), $1}' | tail -n 10
ls -t | head -n 30
export DISK=/dev/BlockDevice
sudo dd if=/dev/zero of=/${DISK} bs=1M count=16
/dev/sda13 /media/sda13 vfat user,umask=000,fmask=111,dmask=000,codepage=850,iocharset=iso8859-1 0 0
/dev/sda2 /mnt/windows7 ntfs-3g defaults,locale=en_US.utf8 0 0
192.168.1.111:/mnt/data_sda13 /home/dave/192.168.1.111_data_sda13 nfs noauto
sudo exportfs -ra
ls -l /dev/disk/by-uuid
fsck
sudo tune2fs -L NewLabel /dev/DeviceName
src: Ubuntu Forums thread #302750
mkdosfs -F 32 -I /dev/[device]
sudo mkfs.vfat -n multiboot /dev/sdX1
sudo mlabel -i [device] ::[label]
scrot -s -c -d 3
acpi -V
xdpyinfo | grep dots
apt://packagename
src: http://linuxowns.wordpress.com/
mq -shuffle -playlist mp3s.m3u
music_directory "/home/dave/media/mp3s/"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/db"
log_file "/var/log/mpd/mpd.log"
error_file "/var/log/mpd/mpd.error"
pid_file "/var/run/mpd/mpd.pid"
state_file "/var/lib/mpd/mpdstate"
user "mpd"
bind_to_address "127.0.0.1"
port "6600"
mpd --create-db
mpc add /
mpc play
src: Music Player Daemon Wiki - Getting Started
unrar p -inul /example/path/to/Some.Scene.Release/some.sr.r00 | vlc
src: Ubuntu Unleashed
sshfs $USER@$HOST_IP:/path_to/remote_resource /path_to/local_mountpoint
python -m SimpleHTTPServer 9914
from a web browser, use:
http://$HOST_IP 192.168.1.1:9914.
src: linux.byexamples.com
location_of.torrent --dir=path/to/download/folder/
/home/dave/tmp/Fedora-12-i686-Live-LXDE.torrent --dir=/home/dave/Téléchargements/ --log=aria2.work.log
sudo tcptrack -i wlan0
iwconfig wlan0 rate 54M
netstat -tupan | grep LISTEN
sudo iptables -A INPUT -p tcp --dport 6881 -j ACCEPT
wget www.whatismyip.com/automation/n09230945.asp -O - -q
# dd count=1 bs=512 if=/dev/zero of=/dev/sdx && sync
deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main
deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 4E5E17B5
# groupadd group
# usermod -a -G group_name user_name