Talk:Multiple commands

From Linux Shell Scripting Tutorial - A Beginner's handbook
Jump to navigation Jump to search

The second example { comman1; command2 } won't work, since the syntax parser needs a delimiter before the closing brace. You need to use { command1; command2; } or you will get PS2 prompt for continuation.


TheBonsai