If you find that /boot in your Ubuntu is full of you can clean up all old versions with following command: sudo apt-get remove –purge $(dpkg -l ‘linux-*’ | sed ‘/^ii/!d;/'”$(uname -r | sed “s/\(.*\)-\([^0-9]\+\)/\1/”)”‘/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d’) Another command may work for others: dpkg -l linux-{image,headers}-“[0-9]*” | awk ‘/^ii/{ […]
Category Archives: Ubuntu
DIG command to list DNS domain info in full
I need to do this rarely so I find I have to read man pages on Linux or search the net each time I need to do get list of all domain records. So you can use DIG on say Linux as follows: dig +nocmd yourdomain.com any +multiline +noall +answer Or you can try this […]
RSA format key file from private key file
Came across a small issue when trying to use keys from iPad to ssh to Ubuntu server. The application refused to do anything (2 different apps!) and one said that it needed an RSA format key file. After looking at the file formats and reading up on openssl I found that you can convert openssl […]