Pario TechnoBlob
About Posts

Tag: awk

Hammer script to get output from Job by id This is a simple script I use to export the details from a Job run in Red Hat Satellite 6.2 using hammer from the console. #!/bin/bash # Redhat Satellite Job query by id using...
Jan 9, 2018 12:44PM
One-liner to mail when someone logs in as root This is a short post describing how to automatically send an email every time someone logs in as root on a linux server. Add the following line to /root/.bash_profile if you...
Feb 5, 2014 11:57PM
My 10 most used linux commands This is a oneliner bash command to determine my 10 most used linux commands according to my history file history | awk '{CMD[$2]++;count++;}END { for (a in CMD)print CMD[a]...
Feb 25, 2008 8:49AM
Apache web connections pr hour This is a bash oneliner to show Apache web connections pr hour. It lists up the IPs that has accessed your webserver and the amount og accesses. # cat...
Feb 21, 2008 11:26PM
«« « 1 2 3  …  5 » »»
Posts About
© 2007-2020 Pario TechnoBlob
Powered by Axiom