Re: missing 'export' command...?
From: Lars Eighner (eighner_at_io.com)
Date: 05/29/05
- Next message: Warren Block: "Re: missing 'export' command...?"
- Previous message: Paul: "missing 'export' command...?"
- In reply to: Paul: "missing 'export' command...?"
- Next in thread: Paul: "Re: missing 'export' command...?"
- Reply: Paul: "Re: missing 'export' command...?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 29 May 2005 13:59:47 -0500
In our last episode,
<O6ome.41917$G8.23813@text.news.blueyonder.co.uk>,
the lovely and talented Paul
broadcast on comp.unix.bsd.freebsd.misc:
> Hi,
> I've just installed the latest version of FreeBSD(5.4) from the iso CD
> images, and the 'export' command seems to be missing....?! I'm no UNIX
> expert, but isn't 'export' a standard command?
> If I enter something like : 'export SOMETHING=anything' , I just get:
> 'export: Command not found.' If I type 'whereis export', I get this:
> 'export: /usr/share/man/man1/export.1.gz' - just the man page..(?). So
> there is the command itself?
export is a shell command. It doesn't exist outside the sh (or
sh-like) shell. I forget what the default user shell is these
days, but sh is the default for root and if you want to run
bash, you have to install it as a port.
export will, of course, work for anyone in an sh script, since
sh is part of the base system. You just can't use from the
command line if you are running a different shell.
> Any suggestions would be appreciated
-- Lars Eighner SAVE BEASTIE! eighner@io.com http://larseighner.com/ "Stale dependency": When pkgdb -F reports this, it means the dependency is missing, not that the dependency is obsolete.
- Next message: Warren Block: "Re: missing 'export' command...?"
- Previous message: Paul: "missing 'export' command...?"
- In reply to: Paul: "missing 'export' command...?"
- Next in thread: Paul: "Re: missing 'export' command...?"
- Reply: Paul: "Re: missing 'export' command...?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|