Any command always returns a Return Code, represented by the $ variable. A successful command usually returns 0.