[HPADM] silly KSH question

From: Kesav Tadimeti (Kesav_Tadimeti@KeaneIndia.com)
Date: Fri Apr 25 2003 - 01:18:27 EDT


Hi all,
I have just been going through my .profile file.
1. What do set -u, set +u do?
2. what does this do? --> trap "echo 'logout tadimeti'" 0
# what to do on exit.

my .profile was copied from a SuperUser profile file template. It gives me a
warning (that I am a superuser).
Does #2 try to log me out?

Sorry for the newbie question.
P.S: I did read the man for set. I guess it'll take some time to get used to
reading help this way.

Thanks & regards
Keshav

+-----------------------------------------------------+
        KEANE INDIA LIMITED
        E9 - E12, SDF
        NEPZ, NOIDA 201 305
        U.P, INDIA
                                                      
        e-mail: kesav_tadimeti@keaneindia.com
        phone: +91-120-2568210(371)
      Men are from MACs, Women are from VMS
+-----------------------------------------------------+
The President publicly apologized today to all those offended by his
brother's remark, "There's more Arabs in this country than there is
Jews!". Those offended include Arabs, Jews, and English teachers.
                -- Baltimore, Channel 11 News, on Jimmy Carter

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:29 EDT