misc | useful commands

Useful Commands

Programs

Things to install

sudo apt-get install curl screen nfs-common encfs sshfs keepassx gpw gparted pavucontrol inxi

sudo apt-get install p7zip p7zip-full p7zip-rar unrar-free unrar rar

sudo apt-get install kubuntu-restricted-extras

sudo apt-get install smplayer vlc puddletag soundkonverter youtube-dl agave audacious mkvtoolnix-gui webcamoid xsane moc moc-ffmpeg-plugin

sudo apt-get install qupzilla transmission-remote-gtk chromium-browser

sudo apt-get install kstars kgeography

sudo apt-get install kmix

sudo apt-get install avidemux

sudo apt-get install gimp

sudo apt-get install texlive-full kile kile-doc kmplot kwrite okular krename pyrenamer

sudo apt-get install nginx nginx-extras nginx-doc

sudo apt-get install php-fpm php php-cli php-json php-intl php-mbstring php-fpm php-gd php-gmp php-bcmath php-curl php-xml

Process info

current processes

ps -aux

check what processes are listening for connections:

sudo netstat -plant

diff

compare the contents of two folders:

diff -rq folder1 folder2

Random strings

generate random hexadecimal string:

cat /dev/urandom | head -c 16 | xxd -ps

Generate human readable passwords

gpw 18 20

crack rar|zip|7z password:

rarcrack --type rar --threads 7 input.rar

Print

printing eecs.utk.edu

lp -o page-ranges=1-16 filename.pdf

lp -o sides=two-sided-long-edge filename.pdf

lp -o number-up=4 filename.pdf