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/{ […]
Monthly Archives: November 2013
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 […]