Karl Ahlers
My name is Karl Ahlers and I like to blog about technology such as Linux, Windows, and Cisco
Facebook Twitter RSS
  Menu
Skip to content
  • Home
  • About Me
Facebook Twitter RSS

Tag Archives: bash

curl ifconfig.me

By Karl | April 24, 2012 - 11:43 am |May 25, 2013 Apple, Linux
Leave a comment

One little trick I like to use in Linux and Mac OS X is when I want to know the external IP address of the machine I am working on is to use curl along with a website called ifconfig.me. We can begin with something very easy to get the… Continue reading →

Tagged bash, cli, Terminal

Simple mysqldump backup script revisited

By Karl | February 24, 2012 - 1:26 pm |February 24, 2012 Linux
Leave a comment

I have updated my Simple mysqldump backup script.  This time it will actually delete files older than 10 days.   Source: Simple Mysqldump backup script

Tagged bash, mysql backup, mysqldump

Simple mysqldump backup script

By Karl | December 14, 2011 - 8:39 pm |February 24, 2012 Linux
1 Comment

**UPDATED 02/24/2012** I finally got around to changing up my script and decided to change a few things that would essentially make more sense, the only main difference that I am doing is in the find command I am using better options to cycle the current SQL files.  My old… Continue reading →

Tagged bash, mysql backup, mysqldump, shell script

Find files on Linux with find

By Karl | December 10, 2011 - 12:46 am |January 9, 2012 Linux
Leave a comment

Finding files on Linux is pretty simple, I was in the middle of creating a bash script when I was in need to find files inside a certain folder that was older than X amount of days. Syntax: find $PWD -type f -mtime +10 This tells find to search the… Continue reading →

Tagged bash, cli, command line, find, gnu find
Karl Ahlers | Powered by Mantra & WordPress.
Facebook Twitter RSS