Category Archives: Bash

Easy install ffmpeg on Linux – The ultimate media handling utility

Anyone who has tried to handle media files of any sort from images to movies, or also flv, mp4, mp3, ts or other types of multimedia content will have heard of the utility called FFMPEG.

Quite simply FFMPEG is the gem that gives you the ability to broadcast/stream, convert, or play that media file.

Run cron job every 90 mins (minutes) – Linux Scheduling, Batch Automation, Scheduled Jobs

Run cron job every 90 mins Running a cron job is normally easy enough when you do not try and get over-complicated. Every hour or minute, or even every Monday is a simple task using the standard columns included in cron. Just to refresh you here are the first columns of a standard crontab for… Read More »

Bash – How to echo an exclamation mark in your bash scripts

Im a guy who likes SOLUTIONS to issues, not neccesarily wanting or needing to know the reasons why something happens…. so heres another one… Bash – How to echo an exclamation mark So you would think something simple like this : echo “abcde!abcde” BUT echo “abcde!abcde” -bash: !abcde”: event not found Damn… ok the solution… Read More »

Bash – Parse a file forwards and backwards

Some people say that you never know everything, how very true that is when you are scripting in Bash Shell. A week ago I found out something I needed to do a million times before, but had always re-invented the wheel to do so…. Bash – Parse a file FORWARDS (the easy one) cat <file>… Read More »