05-01-2009
What's the startup path of OS X?
Does anyone know the standard startup path of a BSD Unix box?
I have the /etc but it only contains a couple of dot files, non with the RUBYOPT variable. There's no 'default' file.
Puzzled.
Ric.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello
im using SunOS and its great , I know I can setenv global environment variable per user
but my question is can I setenv global environment variable in more higher level ( maybe some kind of root user or something) so that every users will
see the same value of this global env (3 Replies)
Discussion started by: umen
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have a doubt on Environment variable.
I want to know where and when the envirnment variables are defined?
Thanks & Regards,
Siba (1 Reply)
Discussion started by: siba.s.nayak
1 Replies
3. Solaris
Hi Guys,
My requirement is I have file called /opt/orahome/.profile in non global zone.
PATH=/usr/bin:/usr/ucb:/etc:/usr/sbin:/usr/local/bin:/usr/openwin/bin:.
export PATH
PS1="\${ORACLE_SID}:`hostname`:\$PWD$ "
export PS1
EDITOR=vi
export EDITOR
ENV=/opt/orahome/.kshrc
export ENV... (1 Reply)
Discussion started by: vijaysachin
1 Replies
4. Solaris
Hi,
Is it possible to access application installed on global-zone from a non-global zone?
Is there any configuration to achieve the above requirement?
Tried looking up information but unable to find.
Thanks in advance.
Eugene (3 Replies)
Discussion started by: srage
3 Replies
5. UNIX for Dummies Questions & Answers
Hello all
I searched the net but didn't found any application that wrap ssh connection with GUI interface so that non techie
people can connect to unix/linux accounts and work with files , so it will looks like there familiar Microsoft windows directory structure .
Please don't answer with ..... (6 Replies)
Discussion started by: umen
6 Replies
6. Shell Programming and Scripting
Hello,
I want to cange env variable on SunOS.
I tried:
export GONGA=$GONGA:/users/BANK1/basic/queues/SARON_SPACE1
it changed it only localy for my session.
when i opened a new session (telnet etc') the old value exist.
How can I change it to effact all sessions.
Thanks. (2 Replies)
Discussion started by: LiorAmitai
2 Replies
7. Web Development
(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
8. Shell Programming and Scripting
emailid=myemail@xyz.com
taskName="DB-Backup"
starttime=`date`
email()
{
subject="$taskName" ": " $* " at `date` "
mutt -s "$subject" $emailid < /dev/null
}
email "Starting"
#do my stuff
email "Finished"
The above code gives following error
./dbbackup.sh: line 6: :... (5 Replies)
Discussion started by: nitiraj.rathore
5 Replies
9. Programming
Hi,
Suppose I have a function that accesses and increments a global variable . This function is run as part of thread. One locks mutex in the function and unlocks it after the processing is done. Is there any alternative way? Thanks in advance. (1 Reply)
Discussion started by: sanjayc
1 Replies
10. Shell Programming and Scripting
Hi All,
I have a requirement where I have a config file, which contains 2 coulmn.values of first column are environmnet variable, whose value is defined in an environment file.
In my script I need to read the config file, and get the value of the config file variable from env file.
I... (2 Replies)
Discussion started by: alok2082
2 Replies
LEARN ABOUT MOJAVE
hostname
HOSTNAME(7) BSD Miscellaneous Information Manual HOSTNAME(7)
NAME
hostname -- host name resolution description
DESCRIPTION
Hostnames are domains, where a domain is a hierarchical, dot-separated list of subdomains; for example, the machine monet, in the Berkeley
subdomain of the EDU subdomain of the Internet would be represented as
monet.Berkeley.EDU
(with no trailing dot).
Hostnames are often used with network client and server programs, which must generally translate the name to an address for use. (This func-
tion is generally performed by the library routine gethostbyname(3).) Hostnames are resolved by the Internet name resolver in the following
fashion.
If the name consists of a single component, i.e., contains no dot, and if the environment variable ``HOSTALIASES'' is set to the name of a
file, that file is searched for any string matching the input hostname. The file should consist of lines made up of two white-space sepa-
rated strings, the first of which is the hostname alias, and the second of which is the complete hostname to be substituted for that alias.
If a case-insensitive match is found between the hostname to be resolved and the first field of a line in the file, the substituted name is
looked up with no further processing.
If the input name ends with a trailing dot, the trailing dot is removed, and the remaining name is looked up with no further processing.
If the input name does not end with a trailing dot, it is looked up by searching through a list of domains until a match is found. The
default search list includes first the local domain, then its parent domains with at least 2 name components (longest first). For example,
in the domain CS.Berkeley.EDU, the name lithium.CChem will be checked first as lithium.CChem.CS.Berkeley.EDU and then as lithium.CChem.Berke-
ley.EDU. Lithium.CChem.EDU will not be tried, as there is only one component remaining from the local domain. The search path can be
changed from the default by a system-wide configuration file (see resolver(5)).
SEE ALSO
gethostbyname(3), resolver(5), mailaddr(7)
HISTORY
Hostname appeared in 4.2BSD.
BSD
December 25, 2013 BSD