Well had yet another time related issue. This time I needed something that Windows just does not give me right out of the box – simple control of time updates. Yes you can fiddle with the w32tm command (check out my previous rambling on 32tm) and do all sort of fancy things and detailed settings. […]
Category Archives: System Administration
Clean up Ubuntu boot partition
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/{ […]
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 […]