Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-02-2009, 05:11 AM   #1
LQ Newbie
Registered: Aug 2007
Posts: 13

Rep: Reputation: 0
Question what does the command do: trap ' ' 1 2 ?

trap ' ' 1 2
What is the output after executing the above command?
Old 03-02-2009, 06:44 AM   #2
Registered: Oct 2007
Distribution: Fedora, openSUSE
Posts: 252

Rep: Reputation: 39
Try it and see! Then read man trap (that takes you to the bash man page - you need to scroll down to get to trap).
Old 03-02-2009, 06:51 AM   #3
Senior Member
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
*sniff* *sniff*

I smell homework.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to send snmp trap & recieve trap in C program minil Programming 3 07-10-2010 10:22 AM
SNMP Trap metallica1973 Linux - Networking 1 11-28-2007 10:14 AM
Kernel trap (Fatal trap 12) m!k@EL *BSD 4 09-06-2007 12:58 AM
What is trap program?? Zero-0-Effect Linux From Scratch 2 09-17-2004 10:07 PM
trap command for c? onnyloh Programming 3 09-13-2004 05:06 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration