Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

env(3) [debian man page]

env(3)							     Library Functions Manual							    env(3)

NAME
env - manage the environment SYNTAX
#include <env.h> char **environ; char *env_get(name); char *env_pick(); char *name; DESCRIPTION
The environment, environ, is a 0-terminated array of 0-terminated strings, called environment variables. Each environment variable is of the form name=value. env_get returns the value of the first variable whose name is name, or 0 if there is no such variable. env_pick returns any variable in the environment, or 0 if the environment is empty. SEE ALSO
environ(7) env(3)

Check Out this Related Man Page

tcp-env(1)                                                    General Commands Manual                                                   tcp-env(1)

NAME
tcp-env - set up TCP-related environment variables SYNOPSIS
tcp-env [ -rR ] [ -ttimeout ] program [ arg ... ] DESCRIPTION
The input for tcp-env must be a TCP connection. tcp-env finds out information about that connection, puts the information into several environment variables as described in tcp-environ(5), and runs program with the given arguments. Usually tcp-env is run from inetd. It might instead be run from another server that already sets up the right environment variables; if PROTO is set to TCP when tcp-env is invoked, tcp-env assumes that all the other variables are set up properly, and it does not check whether the input is a TCP connection. OPTIONS
-r (Default.) Attempt to obtain TCPREMOTEINFO from the remote host. -R Do not attempt to obtain TCPREMOTEINFO from the remote host. -ttimeout Give up on the TCPREMOTEINFO connection attempt after timeout seconds. Default: 30. SEE ALSO
tcp-environ(5), inetd(8) tcp-env(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Loading JDK1.3 on Sparc2.6

I have followed instructions to get the jdk for sparc, 1.3 loaded on this sparc workstation machine. I used a tar file and everything seemed to go fine. The usr/j2se directory was created with all the subdirectories and java files. However, attempting to run Java commands fails with a file not... (18 Replies)
Discussion started by: jamestthomas
18 Replies

2. UNIX for Dummies Questions & Answers

Dns

Greetings to all, I have not been in a unix environment for many years, but I am back. Question is regarding how to setup or check how it's configured is DNS on a SPARCstation 20 runing SunOS 4.1.4 2 sun4m I have a DNS server on the network and would like the sun box to use it for it's name... (22 Replies)
Discussion started by: DLongan
22 Replies

3. UNIX for Dummies Questions & Answers

IP details for Unix/Linux login clients?

Hi there, I am wondering if by logging in to a unix system, if it is possible to get the IP address of the machine I am connecting FROM. I know how I can do this using the name server, but is this possible without a host lookup?:confused: Thanks, -ghoti (15 Replies)
Discussion started by: ghoti
15 Replies

4. UNIX for Dummies Questions & Answers

DISPLAY settiing

How to set the display environment variable through a script? i tried that using "setenv" but it gave me error. is there any idea? :confused: (19 Replies)
Discussion started by: sskb
19 Replies

5. UNIX for Advanced & Expert Users

Samba

Hello all, We setup samba running on network for Unix and NT environment. For some reasons certain users and machine can mapped to their home directory from PC to Unix, some can't. any help or ideas will be appreciated. (13 Replies)
Discussion started by: phapvn
13 Replies

6. UNIX for Dummies Questions & Answers

root env

Dear Guys , i installed sun solaries 8 for intel platform . now i want to edit root env or init. files in order to add the follwing : EDITOR=vi export PATH EDITOR export PS1=`uname -n`:\$PWD\> set -o vi alias dir="ls -la|more" alias c=clear stty erase "^H" what file i have to... (13 Replies)
Discussion started by: tamemi
13 Replies

7. Shell Programming and Scripting

FORMAT OF CSV FILE under unix environment.

hi I unload the table results from oracle to csv file foramt. i need increse the width of each column using unix commands could you pl tell me how to increase the width of each column to spefic width uisng sed unix command or na other unix commands i have file name called report.csv inside... (38 Replies)
Discussion started by: raosurya
38 Replies

8. Shell Programming and Scripting

Replace environment variables with sed

Hi, I need to write a sed that replaces the value of all environment variables that have PASS in the name with ***** . I have a log file who prints the value of all environment variables ,including those who hold passwords. In the name of these variables I found always the PASS string, ex:... (16 Replies)
Discussion started by: liorfe
16 Replies

9. AIX

Software For Server Environment Documentation

Hello guys! Can you suggest some software for doucmenting Servers? thanks in advance edit by bakunin: typo in thread title corrected. (14 Replies)
Discussion started by: Vit0_Corleone
14 Replies

10. UNIX for Dummies Questions & Answers

Learning on how to use the (SSH) in any enviornment [HELP!!]

INTRODUCTION: I'm taking a LINUX class at school and I would like to learn more about logging into another computer remotely using the secure shell (ssh). I would like to learn to do this with the computers in our lab as a self initiative so I can eventually share files between my own... (16 Replies)
Discussion started by: syregnar86
16 Replies

11. Shell Programming and Scripting

Using env variables to run a program

Hi there, I need urgent help with a small program that is run via shell script. Unfortunately I only understand the bare basics of shell scripting and can't figure out how to do this. We have a program that tests the connection between 3 servers. I have a script that lets the program run on... (15 Replies)
Discussion started by: Pherdinand
15 Replies

12. Shell Programming and Scripting

Sourcing Env file with eval works with ksh but not BASH

Hi, I am running this on Redhat 5.10 I have a simple test script called test.sh which has the following contents and it uses the BASH shebang. ------------------------------------------------------------- #!/bin/bash eval `/tmp/filereader.pl /tmp/envfile.txt` echo "TESTPATH=$TESTPATH" ... (28 Replies)
Discussion started by: waavman
28 Replies

13. UNIX for Advanced & Expert Users

[Discussion] POSIX, the Love of Backticks and All That Jazz

But I love my back-ticks - I know exactly how to escape them (after too many years) - I always seem to end unbalanced with (). However, I shall take the hint. (One more trick for this dog... aka - not too old yet!) :);) (17 Replies)
Discussion started by: MichaelFelt
17 Replies

14. Shell Programming and Scripting

Problem evaluating condition

First, given this bit of code (line numbers included for reference: 59 get_all_db () { 60 #echo getting all db 61 dblist=`egrep -i "product/12" /etc/oratab |grep -v "listener"|\ 62 awk -F\: '{print $1}'|sort` 63 echo list is $dblist 64 echo 65 echo 66 echo "INSTANCE_NAME ... (15 Replies)
Discussion started by: edstevens
15 Replies

15. Shell Programming and Scripting

Disk Space Utilization in HTML format working in one environment and not working on the other

Hi Team, I have written the shell script which returns the result of the disk space filesystems which has crossed the threshold limit in HTML Format. Below mentioned is the script which worked perfectly on QA system. df -h | awk -v host=`hostname` ' BEGIN { print "<table border="4"... (13 Replies)
Discussion started by: Harihsun
13 Replies