Can shell script have multiple commands?

Việt Quân

New member
Can shell script have multiple commands?
Answer
You can type multiple commands on the same line, but you must separate them with semicolons, but it is preferable to write commands on separate lines; this will make it simpler to read later.
 

Tìm kiếm

Back
Top