Skip to main content

Recently Updated Pages

Rescan SCSI bus

Homelab Linux algemeen & CLI

# echo "0 0 0" > /sys/class/scsi_host/host5/scan 5 is changeable; it is the connection

Updated 4 months ago by Philip

Disable cpu core for light work

Homelab Linux algemeen & CLI

# echo 0 | sudo tee /sys/bus/cpu/devices/cpu$COREID/online # Disable a CPU core to save ...

Updated 4 months ago by Philip

File permissions

Homelab Linux algemeen & CLI

File permissions One of the important things you can do to help secure your MediaWiki in...

Updated 4 months ago by Philip

Bash pitfalls

Homelab Linux algemeen & CLI

Bash Pitfalls This page shows common errors that Bash programmers make. These examples a...

Updated 4 months ago by Philip

Performance harddisk

Homelab Linux algemeen & CLI

orginele harddisk /dev/sda: Model=TOSHIBA THNSNK128GVN8, FwRev=K8TA4101, SerialNo=17CS...

Updated 4 months ago by Philip

Tips and tricks

Homelab Linux algemeen & CLI

Probably the best way to do this - assuming that you can't use the NOPASSWD solution pro...

Updated 4 months ago by Philip

.vimrc

Homelab Linux algemeen & CLI

To support the creation and editing of yaml files in vi, set the following in ~/.vimrc s...

Updated 4 months ago by Philip

Ace

Homelab Linux algemeen & CLI

@tecra:~> acestreamengine --client-console @tecra:~> acestream-launcher -p vlc acestream...

Updated 4 months ago by Philip

How to get into bios-setup

Homelab Linux algemeen & CLI

BIOS: when keyboardlight comes on, press and hold F2

Updated 4 months ago by Philip

OCR

Homelab Linux algemeen & CLI

scan pdf to file. first extract the pages and ocr them, then make one doc pdfimages -tif...

Updated 4 months ago by Philip

Bash fun

Homelab Linux algemeen & CLI

pong: yes $COLUMNS $LINES|awk 'BEGIN{x=y=e=f=1}{if(x==$1||!x){e*=-1};if(y==$2||!y){f*=-1...

Updated 4 months ago by Philip

Sample commands

Homelab Linux algemeen & CLI

testdatabase 'testsietske'; > mysql -u root MariaDB [testsietske]> use testsietske; Ma...

Updated 4 months ago by Philip

Journald

Homelab Linux algemeen & CLI

output since booting: journalctl -b Follow: journalctl -f Keep an eye on sshd service: j...

Updated 4 months ago by Philip

Find latest files in all subdirectories per directory

Homelab Linux algemeen & CLI

Create a file latestfile.sh: #!/bin/bash ls -lrt "$1" | tail -n1 Make it executable ch...

Updated 4 months ago by Philip

Find

Homelab Linux algemeen & CLI

find latest files in all subdirectories per directory

Updated 4 months ago by Philip

Command line tips

Homelab Linux algemeen & CLI

Show all VMs: vboxmanage list -l vms Show the state of the VM: vboxmanage showvminfo w7n...

Updated 4 months ago by Philip

Sort installed rpms by size

Homelab Linux algemeen & CLI

Sort installed RPMs by size To list all RPM packages installed on a Linux machine sorted...

Updated 4 months ago by Philip

View progress of dd

Homelab Linux algemeen & CLI

In Linux, find running dd processes and send them a signal to print out their progress. ...

Updated 4 months ago by Philip

Dealing with spaces in filenames

Homelab Linux algemeen & CLI

BASH for loop works nicely under UNIX / Linux / Windows and OS X while working on set of...

Updated 4 months ago by Philip

Systemd journal log file setting

Homelab Linux algemeen & CLI

The new openSUSE 13.2 journald (from systemd) is sometimes quickly using up disk space. ...

Updated 4 months ago by Philip