Clarification abt .profile,config,env


 
Thread Tools Search this Thread
Top Forums Programming Clarification abt .profile,config,env
# 1  
Old 03-10-2006
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 information.

Thanks

Sarwan
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Learning abt Linux OS

hi guys, i got job recently in a company which provide a product for data backup and data recovery... as dis product is wrriten in c++ am workin in c++.. now am under training and i want to learn abt Operating System concepts and OS programming using c and c++. i know basic c and c++ programming... (0 Replies)
Discussion started by: senthil.march
0 Replies

2. Web Development

Deny from env=env-variable Does not work

(Above from Apache docs). On my system, using: SetEnvIf User-Agent Mozilla IsBad=1 Order allow,deny Allow from all Deny from env=IsBad ...I see that environment variable is set (using phpinfo()) but the page is still served. No errors in the Apache logs. (1 Reply)
Discussion started by: gnurob
1 Replies

3. IP Networking

abt IP_ADD to DNS-- Plz help me:ASAP

Hello to forum memebers, Please help for below querry. I am new n/w programming ,I wan to know abt the how to change IP to Domain name thorugh Shell script. I am looking for ur reply. Plz......... advance thanks to Forum.:) (2 Replies)
Discussion started by: sivaranga001
2 Replies

4. UNIX for Dummies Questions & Answers

help abt cut command

Hi friends, I have a small doubt about cut command. cut -f2 -d_ Can anybody tel me what does the underscore after 'd' stand for? Is it some kind of comment, coz I am not able to make out any difference when I executed the below command... head -10 file.txt|cut -f2 -d_ It was... (3 Replies)
Discussion started by: divzz
3 Replies

5. UNIX for Advanced & Expert Users

abt viewing all the columns in the output as it is..

Hi, How is it possible to get all the columns on the screen while v run a script.. Thr r abt 30 columns.. and whn i run the script the columns in the output r all messed up.. Please help.. Thanks.. RRVARMA (1 Reply)
Discussion started by: RRVARMA
1 Replies

6. UNIX for Dummies Questions & Answers

Clarification on .cshrc,.exrc,.login,.profile,.sh_history files

All, I had a request to delete filed under a directory that was 35 days old . And they asked me to scedule it in CRON . I have done that . I have use find and delete with mtime to perfrom this task . But my script is not deleting this .cshrc,.exrc,.login,.profile,.sh_history file... (1 Reply)
Discussion started by: arunkumar_mca
1 Replies

7. Shell Programming and Scripting

Reason for EXPORT in .profile,env,etc

Hi all, I have seen it in all the .profile files and env file this PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:. export PATH What exactly does this Export path does?? Thanks SUmeet (1 Reply)
Discussion started by: sumeet
1 Replies

8. Solaris

Where's the .profile environment config for root under Bourne shell?

I don't know where the environment config file for root user is in the Bourne shell on Solaris 10? Can you help me, or am I helpless???? (2 Replies)
Discussion started by: Joncamp
2 Replies

9. UNIX for Dummies Questions & Answers

profile and env

i am new to this and trying to learn unix how can i change my .profile and set ENV variable in .profile to the file name of my environmental file. And how can i create the ENV file. my current .profile is as follows # This is the default standard profile provided to a user. # They are... (3 Replies)
Discussion started by: comwol
3 Replies

10. 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
Login or Register to Ask a Question
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)