Mailinglist Archive: opensuse (2835 mails)

< Previous Next >
Re: [opensuse] Which Shell do I Have?
  • From: "Dr. Werner Fink" <werner@xxxxxxx>
  • Date: Thu, 7 Dec 2006 13:04:12 +0100
  • Message-id: <20061207120412.GA29422@xxxxxxxxxxxxx>
On Wed, Dec 06, 2006 at 12:40:06PM -0800, Randall R Schulz wrote:
> On Wednesday 06 December 2006 12:30, Geir A. Myrestrand wrote:
> > Randall R Schulz wrote:
> > > On Wednesday 06 December 2006 11:17, Thomas Hertweck wrote:
> > >> Anders Johansson wrote:
> > >> ...
> > >>
> > >>> ls -l /proc/$$/exe
> > >>
> > >> Could you please elaborate why you came up with this solution? I
> > >> think this is not portable - for instance, our HP box here has no
> > >> procfs, so your solution fails. An "echo $0" should always work
> > >> (as far as I know).
> > >
> > > I thought it was rather clever.
> > >
> > > This is a list for users of openSUSE Linux or of other Novell SuSE
> > > Linux releases. At the very least, Linux is a reasonable assumption
> > > for answers given here, and all current Linux systems have a proc
> > > file system.
> >
> > Note that procfs is deprecated. It is likely to be removed one day.
> > To make your solution future-proof you should avoid using it.
>
> "My" solution? I did not propose it, Anders Johansson did.
>
> "Deprecated" is typically nothing more than a wag of the proverbial
> finger. And nothing works forever.

head -25 /etc/bash.bashrc

...

Werner

--
AC3 loop through sound card http://bitstreamout.sourceforge.net/
Howto http://www.vdr-portal.de/board/thread.php?threadid=1958
------------------------------------------------------------------
"Having a smoking section in a restaurant is like having
a peeing section in a swimming pool." -- Edward Burr
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >