Send email from bash command line (CLI)

This is quite a simple one but it’s one that I need to do often, usually from scripts. Grab yourself the tool “sendemail” (on Debian it’s just ‘apt install sendemail’). The structure of sendemail is easy: sendemail -f “from email address” -t “to email address” -u “Subject line” -m “your message” -s “smtp server” -o… Read More »

HP Debian Repository

This is more for myself, I always struggle to find the repo for Debian for Linux servers: wget http://downloads.linux.hp.com/SDR/repo/mcp/GPG-KEY-mcp -O /tmp/proliant.gpg apt-key add /tmp/proliant.gpg echo -e “deb http://downloads.linux.hp.com/SDR/repo/mcp/ jessie/current non-free” > /etc/apt/sources.list.d/hp.list apt update And then for the tool I always need: apt install hpacucli

Funky icons required?

If anyone out there needs some awesome royalty free symbols and icons then look no further than MySiteMyWay.com. Unfortunately they have changed the layout and now it’s an absolute whore to get around on. Here are some links for ease to the older packs: http://cdn3.mysitemyway.com/downloads-icons/sets/3d-transparent-glass-icon-social-media-logos.zip http://cdn3.mysitemyway.com/downloads-icons/sets/3d-transparent-glass-icon-signs.zip http://cdn3.mysitemyway.com/downloads-icons/sets/3d-transparent-glass-icon-business.zip http://cdn3.mysitemyway.com/downloads-icons/sets/3d-transparent-glass-icon-alphanumeric.zip http://cdn3.mysitemyway.com/downloads-icons/sets/3d-transparent-glass-icon-people-things.zip http://cdn3.mysitemyway.com/downloads-icons/sets/3d-transparent-glass-icon-food-beverage.zip http://cdn3.mysitemyway.com/downloads-icons/sets/3d-transparent-glass-icon-natural-wonders.zip http://cdn3.mysitemyway.com/downloads-icons/sets/3d-transparent-glass-icon-sports-hobbies.zip http://cdn3.mysitemyway.com/downloads-icons/sets/3d-transparent-glass-icon-transport-travel.zip http://cdn3.mysitemyway.com/downloads-icons/sets/3d-transparent-glass-icon-culture.zip http://cdn3.mysitemyway.com/downloads-icons/sets/3d-transparent-glass-icon-symbols-shapes.zip… Read More »

PowerShell script to email disk spaces (including HA Clusters)

Every now and again we don’t rely on the tools that companies such as ManageEngine & SpiceWorks force down our throats and just go back to good old fashioned scripts… that email themselves with cool data in them. Have you ever needed to have all your servers email you there current space? How about your… Read More »