Re: how to view environment variables
- From: Chris Whitehouse <cwhiteh@xxxxxxxxxx>
- Date: Tue, 17 Jun 2008 00:55:17 +0100
Oliver Fromme wrote:
Chris Whitehouse wrote:This is the last bit of the puzzle. It does indeed print environment variables set with 'env VAR=foo prog' but as I've now understood from previous replies the program doesn't set variables, it uses them if they are already set, otherwise uses defaults.
> sysutils/fusefs-ntfs/files/README.FreeBSD refers to various environment > variables, eg UBLIO_BLOCKSIZE and others. How do I find out what they > are set to? set and printenv don't find them. I'm using standard csh and > FreeBSD 7.0-STABLE, fuse.ko is loaded and ntfs-3g works except it > seems very slow.
The "env" command prints the environment variables of your
current shell (should work with any shell).
To view the environment variables of another process, use
something like "ps -ewwp 1234" (1234 being the PID number).
This requires PROCFS to be mounted on /proc.
Best regards
Oliver
Thanks
Chris
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- References:
- Re: how to view environment variables
- From: Oliver Fromme
- Re: how to view environment variables
- Prev by Date: Re: Replacing tape changer with USB disk drives.
- Next by Date: Re: Samba on FreeBSD 7.0
- Previous by thread: Re: how to view environment variables
- Next by thread: The FreeBSD Diary: 2008-05-25 - 2008-06-14
- Index(es):
Relevant Pages
|