warning: Creating default object from empty value in /data/web/1/000/027/003/273448/htdocs/ on line 33.

Xenial Xerus (Ubuntu 16.04)

Add backports
sudo add-apt-repository "deb $(lsb_release -cs)-backports main restricted universe multiverse"



Download - releases
64 bit Netboot CD


Faxserver under Ubuntu / Debian

queue status
faxstat -s # shows fax in the queue waiting to be sent
faxstat -d # shows faxes sent
faxstat -r #shows faxes received

delete fax
faxrm JOB_ID
or if you can´t delete run under creator
sudo -u USERNAME faxrm JOB_ID

HylaFax spool directory

delete all send faxes
for i in $(ls /var/spool/hylafax/doneq); do
faxrm ${i:1}

get rejected fax nubers
faxstat -d | grep REJECT | cut -d" " -f 7 > fax_rejected.txt


if var1 != var2:

output to file
text_file = open("/tmp/debug", "w")
text_file.write("option1: %s\n" % option1)
text_file.write("value1: %s\n" % value1)

List available pyenv versions
pyenv install --list

# virtualenv ?
pip install -U virtualenv --user
mkdir -vp ~/test
cd ~/test
virtualenv .venv
source .venv/bin/activate
pip install -U pip

SSH authentication with pre-shared key

Create new key on client
#ssh-keygen -t rsa
#(confirm with 3x with enter to leave passphrase empty)
ssh-keygen -q -f ~/.ssh/id_rsa -N ''

Copy public key to server
ssh-copy-id ${USER}@

Test login
ssh -v ${USER}@

Login with private key
ssh -i ./backup_ssh_key/id_rsa USER@YOUR_SERVER

Import own ssh key by using previous / master ssh key
cat ~/.ssh/ | ssh -i ./backup_ssh_key/id_rsa USER@YOUR_SERVER 'cat >> .ssh/authorized_keys'


HowtoForge - Linux Howtos and Tutorials - overview of Linux LiveCDs
Debian Testing - daily builds of Debian Testing
ALSA - Advanced Linux Sound Architecture
Linux Apps - best of linux apps

Syndicate content