Tagged "bash"

Read file in chunks in bash

How to read a file in chunks. You can optionally specify the starting point and the chunk size.

Read more...

It's a Trap!

I do a big use of shell scripts, and many of them contain a for loop, do you know what normally happen when you press CTRL^C and the script is executing an action inside the loop?

Read more...