Pario TechnoBlob
About Posts

Posts

Bash user interfaces Using select to make simple menus #!/bin/bash OPTIONS="Hello Quit" select opt in $OPTIONS; do if [ "$opt" = "Quit" ]; then echo done exit elif [...
May 20, 2007 8:34PM
Bash functions As in almost any programming language, you can use functions to group pieces of code in a more logical way or practice the divine art of recursion. Declaring a function is...
May 20, 2007 8:31PM
Bash loops for, while and until The for loop is a little bit different from other programming languages. Basically, it let’s you iterate over a series of ‘words’ within a string. The while executes a piece...
May 20, 2007 8:27PM
Bash redirection Theory and quick reference There are 3 file descriptors, stdin, stdout and stderr (std=standard). Basically you can: redirect stdout to a file redirect stderr to a file...
May 20, 2007 8:22PM
«« « 1 2 3  …  88 89 90  …  126 » »»
Posts About
© 2007-2020 Pario TechnoBlob
Powered by Axiom