TAG: bash

PageDescriptionTags
Some useful bash shell constructs or one liners: for ((a=0; a <= 5 ; a++)) do mkdir weekly.$a; done or for i in 0 1 2 3; do mkdir weekly.$i; done Cre… ,
Could be used as a template in /etc/init.d #!/bin/sh # Start/stop the foo system # /etc/init.d/foo # test -f "/etc/foo.conf" || exit 1 case "$1" in start)… ,
CC Attribution-Noncommercial-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0