Created
January 12, 2011 10:28
-
-
Save KristianLyng/775984 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Dash is /bin/sh on Ubuntu and "system" scripts should work on it | |
| kristian@freud:~$ dash | |
| $ echo Variable: $HOSTNAME Command: $(hostname) | |
| Variable: Command: freud | |
| $ bash | |
| kristian@freud:~$ echo Variable: $HOSTNAME Command: $(hostname) | |
| Variable: freud Command: freud | |
| # FreeBSD: | |
| [root@dunstan ~]# bash | |
| [root@dunstan ~]# echo Variable: $HOSTNAME Command: $(hostname) | |
| Variable: dunstan.varnish-software.com Command: dunstan.varnish-software.com | |
| [root@dunstan ~]# sh | |
| # echo Variable: $HOSTNAME Command: $(hostname) | |
| Variable: Command: dunstan.varnish-software.com | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment