Commandes en Vrac

cmd-line, geek stuff, some notes, ...

Affichage des articles dont le libellé est ksh. Afficher tous les articles
Affichage des articles dont le libellé est ksh. Afficher tous les articles
lundi 26 octobre 2015

Scripting : set variables depending how the where launched (terminal mode, cron/auto mode, ...)

›
You all know the deal : when you launch a command it (obviously) comes with all your environment variables. But when you want to cron it, no...
vendredi 24 avril 2015

get return value ($?) of a tee'd command in ksh

›
How to get the return value of " command1 " if passed to a " | command2" , for example "| tee OUTFILE" :   ...
vendredi 8 août 2014

KSH eval / variable subtitution / variable test

›
from : http://b62.tripod.com/doc/docksh.htm OTHER FUNCTIONALITIES cmd1 || cmd2 exec cmd2 if cmd1 fail cmd1 && cmd2 exec...

KSH : $- and Flags

›
Under Solaris and using the Korn Shell KSH, the $- allows access to the flags setted. Example of how it changes when setting the debug mode...
mercredi 23 juillet 2014

Test dir var (eval shell)

›
 Test if the given variable contains a valid directory. If not, exit. (This uses the eval function of the shell) testdirvar () {     tmp=...
›
Accueil
Afficher la version Web
Fourni par Blogger.