Tag Archives: scripting

Online command-line reference for scripting

SS64.com is a Command line reference – Web, Database and OS scripting. I have found this brilliant site, while trying to learn PowerShell in a day for writing the script which fetches hosts to LDEVs relationships from Hitachi Command Suite. … Continue reading

Posted in Tips & tricks | Tagged , , , , , | Leave a comment

Grouping commands in the Bourne Shell (sh)

Parentheses are used to run commands in a subshell: $ foo=bar $ echo $foo bar $ (foo=superbar; echo $foo) superbar $ echo $foo bar Curly braces are for grouping commands into a list to run in the current shell. But … Continue reading

Posted in Tips & tricks | Tagged , , , , | Leave a comment