Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

env(1) [linux man page]

ENV(1)								   User Commands							    ENV(1)

NAME
env - run a program in a modified environment SYNOPSIS
env [OPTION]... [-] [NAME=VALUE]... [COMMAND [ARG]...] DESCRIPTION
Set each NAME to VALUE in the environment and run COMMAND. -i, --ignore-environment start with an empty environment -0, --null end each output line with 0 byte rather than newline -u, --unset=NAME remove variable from the environment --help display this help and exit --version output version information and exit A mere - implies -i. If no COMMAND, print the resulting environment. AUTHOR
Written by Richard Mlynarik and David MacKenzie. REPORTING BUGS
Report env bugs to bug-coreutils@gnu.org GNU coreutils home page: <http://www.gnu.org/software/coreutils/> General help using GNU software: <http://www.gnu.org/gethelp/> Report env translation bugs to <http://translationproject.org/team/> COPYRIGHT
Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
The full documentation for env is maintained as a Texinfo manual. If the info and env programs are properly installed at your site, the command info coreutils 'env invocation' should give you access to the complete manual. GNU coreutils 8.5 February 2011 ENV(1)

Check Out this Related Man Page

ENV(1)								   User Commands							    ENV(1)

NAME
env - run a program in a modified environment SYNOPSIS
env [OPTION]... [-] [NAME=VALUE]... [COMMAND [ARG]...] DESCRIPTION
Set each NAME to VALUE in the environment and run COMMAND. -i, --ignore-environment start with an empty environment -u, --unset=NAME remove variable from the environment --help display this help and exit --version output version information and exit A mere - implies -i. If no COMMAND, print the resulting environment. AUTHOR
Written by Richard Mlynarik and David MacKenzie. REPORTING BUGS
Report env bugs to bug-coreutils@gnu.org GNU coreutils home page: <http://www.gnu.org/software/coreutils/> General help using GNU software: <http://www.gnu.org/gethelp/> COPYRIGHT
Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. SEE ALSO
The full documentation for env is maintained as a Texinfo manual. If the info and env programs are properly installed at your site, the command info coreutils 'env invocation' should give you access to the complete manual. GNU coreutils 7.1 July 2010 ENV(1)
Man Page

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Adding command line env in cron env

Hello friends, i run two scripts manually & they work. i run them in cron & they don work. how to match the two env's 1.command line env 2.cron env i would like cron to use command line env. Thanks & Regards Abhijeet (1 Reply)
Discussion started by: abhijeetkul
1 Replies

2. UNIX for Dummies Questions & Answers

How to create ENV varibles

Hi, I want create env variable for "/ramakrsihna/scripts" help me on this. (1 Reply)
Discussion started by: koti_rama
1 Replies

3. Shell Programming and Scripting

HASH(0x775090)= from env

/home/bee$ env | grep HASH HASH(0x775090)= Im not sure how I got this, but how do i unset/remove this from env? /home/btidev$ unset HASH(0x775090) -bash: syntax error near unexpected token `(' /home/btidev$ unset 'HASH(0x775090)' -bash: unset: `HASH(0x775090)': not a valid identifier... (2 Replies)
Discussion started by: bumblebee
2 Replies

4. Solaris

perl $ENV

Hi All, In a perl program the $ENV{} takes a value and returns something.Can one tell me that $ENV{} is an inbuilt perl function or defined some where in my environment. $FEED_1181=$ENV{FEED_1181} || die "Environment not setup! no FEED_DIR_1181"; Regards Megh (1 Reply)
Discussion started by: megh
1 Replies

5. UNIX for Advanced & Expert Users

Crontab not working, please help

Hi, When I set the crontab to run every minute, every hour, it works fine. * * * * * env > /tmp/env.output However I want to run it every day at 8:00 AM and it does not run. * 8 * * * env > /tmp/env.output I ran the 'date' command which says it's 8AM PST and also the 'TZ'... (0 Replies)
Discussion started by: samantha13
0 Replies

6. Red Hat

Prod runs RHEL6 but pprod uses RHEL5??

Hi, I am currently building out a new production environment. Our current prod env uses RHEL5.8 but I am thinking of building out a RHEL6 environment since a complete end-to-end testing will need to take place prior to go-live anyway. Plus it is an ideal time to upgrade the OS across the... (4 Replies)
Discussion started by: Duffs22
4 Replies

7. UNIX for Dummies Questions & Answers

Set env variables for user

Hi , I have installed oracle in Solaris machine and unable to set the env variable. I tried to put the env variable in .dtprofile file but didn't help. So everytime I login in need to run the command and export the variable. Kindly suggest where I am doing wrong.Pls excuse as I am not too... (2 Replies)
Discussion started by: Rossdba
2 Replies