Gentoo Archives: gentoo-user

From: "Bo Ørsted Andresen" <bo.andresen@××××.dk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] SSH hosed, only rubble remains
Date: Tue, 30 May 2006 06:21:19
Message-Id: 200605300811.21340.bo.andresen@zlin.dk
In Reply to: Re: [gentoo-user] SSH hosed, only rubble remains by Iain Buchanan
1 Tuesday 30 May 2006 07:51 skrev Iain Buchanan:
2 > Ah, I was looking in /etc/init.d wondering why I couldn't find it :) I
3 > have bad RAM in my head.  I guess sh scripts can be run by sh and bash,
4 > and probably other --sh variants.  Not that that helps with this topic,
5 > I was just thinking aloud :)
6
7 $ ls -l /bin/sh
8 lrwxrwxrwx 1 root root 4 15 maj 17:46 /bin/sh -> bash
9
10 From 'man bash':
11
12 "Bash is an sh-compatible command language interpreter that executes
13 commands read from the standard input or from a file. Bash also incorporates
14 useful features from the Korn and C shells (ksh and csh)."
15
16 "--norc Do not read and execute the personal initialization file ~/.bashrc if
17 the shell is interactive. This option is on by default if the shell is
18 invoked as sh"
19
20 "If bash is invoked with the name sh, it tries to mimic the startup
21 behavior of historical versions of sh as closely as possible, while
22 conforming to the POSIX standard as well."
23
24 --
25 Bo Andresen