Tech Follow-Up: Bash script locking with flock After my post Easy bash script locking with mkdir I got a lot of feedback and I've learned a lot about locking (Credits to my co-worker @nine_ch). One thing I've learned: Linux has flock. This is a kernel function which can be used
Tech Easy bash script locking with mkdir It's very easy to implement locking in a bash script using mkdir. While there are other methods like: Touch a file and check its availability Use special tools like lockfile-progs in Debian or lockfile in other distributions Find the running process with pgrep I
Tech Easy management access to network devices Some time ago I had troubles with the backspace key while configuring a Brocade device. It did not do anything. The problem is, that my terminal (Konsole) does not send "Ctrl-H", but the Brocade terminal expects it to delete a character before