Introduction
Different computers and systems work in different ways. Knowing platform-specific details helps your script run correctly everywhere.
You want your script to work on Windows and Linux computers.
You need to handle file paths that look different on each system.
You want to run commands that only exist on one platform.
You want to check the system type before doing something special.
You want to avoid errors caused by platform differences.