I have been receiving alerts from root that “Device: /dev/sda [SAT], 4 Currently unreadable (pending) sectors”. As all my data is backup properly I don’t worry about it. Googling it, I didn’t find a straight answer for this. smartctl –all /dev/sda | grep -e “Reallocated_Sector_Ct” …
Read more →Posts tagged with
Open Source
Rename photo file names
Normally your photos in your digital camera are saved with some number which says very little and may conflict with the next batch after you clear your memory. One of the best programs I have ever used to rename my photos is jhead. This takes the date when the picture was actually taken. Fabulous! …
Read more →Last reboot
Want to know when your server rebooted lately? Simple last reboot or in case you really only want to see the very last one do who -b
Read more →prompt colour
As I often work on multiple servers it is rather dangerous that one give a command on the wrong server. To minimise the risk it is good practise to colour the terminal prompt by adding this at the end of the ~/.bash_profile file. export PS1="\e[0;32m\u\e[m\e[0;32m@\h\w \$ \e[m" and …
Read more →