Posts Tagged ‘Shell Scripting’

  • Shell scripting 101

    on Nov 17, 10 • by Alen Zukich • with 1 Comment

    Shell scripting 101

    I don’t know why, but every time I go back to some simple shell scripting I can never remember the one liner for loop.  For those who know what I’m talking about, it is the one command you need over and over again when it comes to performing the same thing on a set of files.  I can never seem to remember the simple syntax and it always leaves me scratching my head. So I thought I would ask a forum on shell scripting and  was promptly answered with: for file in `ls`; do rm

    Read More »
Scroll to top