Tag Info

Hot answers tagged


sudo -s runs the shell specified in your $SHELL environment variable as the superuser/root. You can specify another user using -u. The $SHELL environment variable contains the path to the user's default login shell. The actual setting for the default shell program is usually in etc/passwd. Depending on what you've done in your current session, the $SHELL ...


$ strings /etc/localtime | tail -n 1 MST7MDT,M3.2.0,M11.1.0 So I'm on Mountain Time. Although advices above on using environment variable or just date command output sometimes work better, depending how you want to use that.

Only top voted, non community-wiki answers of a minimum length are eligible