Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: "mehaboob@gmail.com" <mehaboob@gmail.com>
Subject: some queris on .profile file
Date: 15 Jun 2006 03:15:58 -0700	[thread overview]
Message-ID: <1150366558.414200.141250@p79g2000cwp.googlegroups.com> (raw)

Hi,

I have created a new user on .profile file and was modifying the
.profile file.but I do find some of the things while I login which
confuses me.

Here is my .profile
------------------------------------------------------------------------------------------------------
EDITOR=vi
export EDITOR
PATH=$HOME/bin:/usr/sbin:/usr/atria/bin:/usr/opt/temip/bin:${PATH:-/usr/bin:.}
export PATH

/usr/bin/ksh
# My customisations
        TERM=vt100
        HISTFILE=~/.history
        HISTSIZE=300
        #set -o emacs
        alias ct='cleartool'
        alias __A="^P"
        alias __B="^N"
        alias __C="^F"
        alias __D="^B"
        alias __H="^H"
------------------------------------------------------------------------------------------------------

1)whats the use of {PATH:-/usr/bin:.}
I mean "-/usr/bin"............?

2)/usr/bin/ksh
Are we changing the shell here?
whats the need to change the shell?

3)How do i determine which shell I am working on?
4)How do I change to some other shell?
5)And the above aliases doesnt get set while added in the
profile...why?
6)          #set -o emacs
Do we need this emacs setting?

Thanks in advance
Mehaboob



             reply	other threads:[~2006-06-15 10:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-15 10:15 mehaboob [this message]
2006-06-15 12:37 ` some queris on .profile file Wim Cossement
2006-06-15 19:55 ` Adam Price
2006-06-16  9:15   ` mehaboob
2006-06-16 15:27     ` Wim Cossement
2006-06-17 18:21       ` mehaboob
2006-06-17 18:56         ` Piotr Hosowicz
2006-06-17 20:38           ` mehaboob
2006-06-17 22:07             ` Piotr Hosowicz
2006-06-18  1:21             ` Bob Harris
2006-06-18 15:33               ` mehaboob
2006-06-18 17:57                 ` Bob Harris
2006-06-18 21:24                   ` mehaboob
2006-06-19  0:57                     ` Bob Harris
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox