Recently Updated Pages
Rescan SCSI bus
# echo "0 0 0" > /sys/class/scsi_host/host5/scan 5 is changeable; it is the connection
Disable cpu core for light work
# echo 0 | sudo tee /sys/bus/cpu/devices/cpu$COREID/online # Disable a CPU core to save ...
File permissions
File permissions One of the important things you can do to help secure your MediaWiki in...
Bash pitfalls
Bash Pitfalls This page shows common errors that Bash programmers make. These examples a...
Performance harddisk
orginele harddisk /dev/sda: Model=TOSHIBA THNSNK128GVN8, FwRev=K8TA4101, SerialNo=17CS...
Tips and tricks
Probably the best way to do this - assuming that you can't use the NOPASSWD solution pro...
.vimrc
To support the creation and editing of yaml files in vi, set the following in ~/.vimrc s...
Ace
@tecra:~> acestreamengine --client-console @tecra:~> acestream-launcher -p vlc acestream...
How to get into bios-setup
BIOS: when keyboardlight comes on, press and hold F2
OCR
scan pdf to file. first extract the pages and ocr them, then make one doc pdfimages -tif...
Bash fun
pong: yes $COLUMNS $LINES|awk 'BEGIN{x=y=e=f=1}{if(x==$1||!x){e*=-1};if(y==$2||!y){f*=-1...
Sample commands
testdatabase 'testsietske'; > mysql -u root MariaDB [testsietske]> use testsietske; Ma...
Journald
output since booting: journalctl -b Follow: journalctl -f Keep an eye on sshd service: j...
Find latest files in all subdirectories per directory
Create a file latestfile.sh: #!/bin/bash ls -lrt "$1" | tail -n1 Make it executable ch...
Find
find latest files in all subdirectories per directory
Command line tips
Show all VMs: vboxmanage list -l vms Show the state of the VM: vboxmanage showvminfo w7n...
Sort installed rpms by size
Sort installed RPMs by size To list all RPM packages installed on a Linux machine sorted...
View progress of dd
In Linux, find running dd processes and send them a signal to print out their progress. ...
Dealing with spaces in filenames
BASH for loop works nicely under UNIX / Linux / Windows and OS X while working on set of...
Systemd journal log file setting
The new openSUSE 13.2 journald (from systemd) is sometimes quickly using up disk space. ...