When is using a ";" (semi-colon) in a script vital to it?

C

CrazedNerd

Guest
I'm currently reading "bash idioms", and i was happy to know that in a script, you don't actually need ; for commands, you can just put the next thing on a line. In this respect it's like python. Are there times when you need to use the semicolon for multiple lines of code?
 


When you’re trying to run multiple commands on a single line, without entering them as separate lines!
 

Members online


Latest posts

Top