Loading ...
Sorry, an error occurred while loading the content.

Need Help

Expand Messages
  • sunandaavuku
    Good morning , i am new member of this group. i am working with linux , i don t have that much exp on this, i have to write one shell script when ever user
    Message 1 of 2 , May 28 12:21 AM
    • 0 Attachment
      Good morning , i am new member of this group. i am working with
      linux , i don't have that much exp on this, i have to write one shell
      script when ever user connects he has to get some options he can't
      run any comamnds directly ,he can use the option which admin gave
      him. for this i wrote one script with the options but i am getting
      one prob if user takes Ctrl+c then he can comes out of the script so
      i have to make it disable.

      i need to know HOW CAN WE DISABLE Ctrl+C IN UNIX SHALL SCRIPT.

      any one know pls let me know
      thank you
      regards
      sunanda
    • Mike Hopkirk(hops)
      ... trap SIGINT ( and SIGQUIT) ... -- - hops Everything disclaimed (including disclaimer) ... Mike Hopkirk (hops) | Whenever possible steal code InterSAN Inc
      Message 2 of 2 , May 28 9:28 AM
      • 0 Attachment
        On Tue May 28,2002 (07:21:38AM -0000), sunandaavuku@...(sunandaavuku) wrote:
        > Good morning , i am new member of this group. i am working with
        > linux , i don't have that much exp on this, i have to write one shell
        > script when ever user connects he has to get some options he can't
        > run any comamnds directly ,he can use the option which admin gave
        > him. for this i wrote one script with the options but i am getting
        > one prob if user takes Ctrl+c then he can comes out of the script so
        > i have to make it disable.
        >
        > i need to know HOW CAN WE DISABLE Ctrl+C IN UNIX SHALL SCRIPT.

        trap SIGINT ( and SIGQUIT)
        >
        > any one know pls let me know
        > thank you
        > regards
        > sunanda
        >
        >
        >
        >
        > __________________________________________________________________________
        >
        > This is an unmoderated list. JASSPA is not responsible for the content of
        > any material posted to this list.
        >
        > To unsubscribe, send a mail message to
        >
        > mailto:jasspa-unsubscribe@yahoogroups.com
        >
        > or visit http://groups.yahoo.com/group/jasspa and
        > modify your account settings manually.
        >
        >
        >
        >
        > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
        >

        --
        - hops
        Everything disclaimed (including disclaimer)
        ----<hops@...>-----------------------------------------------------
        Mike Hopkirk (hops) | Whenever possible steal code
        InterSAN Inc | -- Tom Duff. (ex) Bell Labs
      Your message has been successfully submitted and would be delivered to recipients shortly.