started 2015
sudo apt-get install libgl1-mesa-dev
sudo apt-get install wine
sudo apt-get install autoconf
sudo usermod -a -G dialout karl
jmtpfs ~/mtp
after connecting the device via USB to mount it into ~/mtp
sudo apt install earlyoom
sudo add-apt-repository ppa:pj-assis/ppa sudo apt-get update sudo apt-get install guvcview
sudo apt install key-mon
: shows pressed keys and mouse buttonssudo add-apt-repository ppa:osmoma/audio-recorder sudo apt-get update sudo apt-get install audio-recorder
sudo apt install rustc cargo libasound2-dev libncurses5-dev libssl-dev libdbus-1-dev libxcb1-dev libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev
jdotxt
a todo-list manager
sudo apt-get install smartmontools
for S.M.A.R.T. statistics of HDD/SSD
GHex
a simple hex editor
shutter -s
for a global shortcut, to get the selection mode.
dar -R /home/ -c /media/usb-disk/home-$(date "+%Y%m%d")
see also backup with cron and dar or KDar
qt4-dev-tools + Qt Creator
eclipse autotools
sudo apt-get install libxrender1:i386 libxrandr2:i386 libxcursor1:i386 libfreetype6:i386 libfontconfig1:i386 libxi6:i386 libssl1.0.0:i386 libstdc++6:i386
wget -q -O - https://www.ledgerwallet.com/support/add_udev_rules.sh | sudo bash
sudo ecryptfs-manager
And exit that manager immediately 1). Then run
sudo ecryptfs-recover-private /run/media/karl/17269bcc-f398-4cf3-ae12-a5f925dc809e/home/.ecryptfs/karl/.Private
This mounts it read only in /tmp/ecrypt…
. Add the flag –rw
for read and write access.
Processes, CPU, Memory:
htop
Networktrafic:
bmon
Disk access:
iotop
Example, disk free:
df -h /dev/sda1
Example for disk usage of a directory (with human readable numbers and depth level 1)
du -h -d1 .
test window showing 3D rendered scene in openGl
get version of an installed library:
/sbin/ldconfig -v | grep **libname**
get process details for programms with shutter in their name
ps ux | grep shutter
kill a process with it's process-ID
sudo kill -SIGKILL ID
sort and list all TODO tags in a directory within all sub-directories
(cd /; grep -R -n TODO "$OLDPWD" | sed -n "s/^\(.*[0-9]\+\):.*\(TODO.*\)/\2#####(\1)/p" | sort |column -s"#####" -t)
Helpful standard tools for manipulating and showing text/textfiles
arecord -vvv -f dat /dev/null
sudo nmap -n -PN -sT -p- 10.0.0.43
Mehr Infos: https://www.digitalocean.com/community/tutorials/how-to-use-nmap-to-scan-for-open-ports-on-your-vps
tail -f <datei>
gibt die letzten 10 Zeilen aus, und neu hinzukommende.