Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

env(1) [suse 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)

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. Mandatory arguments to long options are mandatory for short options too. -i, --ignore-environment start with an empty environment -0, --null end each output line with NUL, not newline -u, --unset=NAME remove variable from the environment -C, --chdir=DIR change working directory to DIR --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
GNU coreutils online help: <http://www.gnu.org/software/coreutils/> Report env translation bugs to <http://translationproject.org/team/> COPYRIGHT
Copyright (C) 2017 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
Full documentation at: <http://www.gnu.org/software/coreutils/env> or available locally via: info '(coreutils) env invocation' GNU coreutils 8.28 January 2018 ENV(1)
Man Page

12 More Discussions You Might Find Interesting

1. Programming

Clarification abt .profile,config,env

Hi, I need to know the purpose of .profile,config and env file . what is the 1)similarties 2)difference between these 3. If env is not a file, when we give command env we are getting some information, from where or which file we are getting this... (0 Replies)
Discussion started by: sarwan
0 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. Linux

GNU's Not Unix! - The Free Software Foundation

The GNU Project: http://www.gnu.org/ (20 Replies)
Discussion started by: Neo
20 Replies

4. Shell Programming and Scripting

use of \&\& symbol

sh /home/juser/ajss/utils/ajstartdb.sh oragold@hydapps.test.com /d03/AppsGOLD/golddb/9.2.0/GOLD_hydapps.env \&\& /home/oragold/ajss/ajstrtdb.sh the above command will execute ajstrtdb.sh file which is located in another machine. but can u specify the use of \&\& here... Is there any... (2 Replies)
Discussion started by: suryahota
2 Replies

5. Programming

HOME env

Do you know shell in Linux without HOME env. Best regards, Iliyan Varshilov (1 Reply)
Discussion started by: ilko_partizan
1 Replies

6. 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

7. 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

8. HP-UX

I want a HP-UX ENV,how could I?

just for practice,:) (1 Reply)
Discussion started by: freebsdjlu
1 Replies

9. AIX

Difference between /etc/environment and ENV

Can you please let me know which variable has precedence . The variable in /etc/environment or the resource file ENV. As /etc/environment file is sourced for every process and ENV is sourced for login shells and sub shell's. i should see the value from /etc/environment file in my command(running... (1 Reply)
Discussion started by: saikiran_1984
1 Replies

10. Shell Programming and Scripting

env command

All, what is env command used for in Unix? Regards Oracle User (2 Replies)
Discussion started by: Oracle_User
2 Replies

11. 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

12. 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