bash_shell

Automate everything (practical uses of Bash part 3)

Last time I provided some quick shell script time-savers. The goal of automation is saving time and providing focus on important things rather than tedious yak shaving. The time it takes to write a little script is hardly anything compared to the time it saves.
fire_engine_1_md
So here are some more useful tips including how to list folders by size, read and verify user input, and find files by date, loop over them and apply a command (like mv or rm) . . .

bash_shell

Automate everything (practical uses of Bash part 2)

I started this series with some quick time-savers. The goal of automation is saving time and providing focus on important things rather than tedious yak shaving. The time it takes to write a little script is hardly anything compared to the time it saves.

So here are some more useful tips including how to share functions across scripts, check for environment variables, output in color, and generalize checksum verification . . .

bash_shell

Automate everything (practical uses of Bash part 1)

I find that having a bias towards automation makes life a lot easier. I’ve been writing more and more scripts the farther along I go in my career. The time it takes to write a little script is hardly anything compared to the time it saves. I just can’t stay comfortable with typing long commands anymore. There’s a certain point where it just makes sense to script a task and that point usually comes only the second or third time I do it.

Usually I write scripts in Bash. Whether I’m on my mac or on my linux box, Bash is there.

So what are some practical uses of Bash? . . .