LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mail on liunx (https://www.linuxquestions.org/questions/linux-newbie-8/mail-on-liunx-768159/)

nagavinodh 11-10-2009 06:36 AM

mail on liunx
 
Hi,
is it possible to send a mail from red hat4.2 while the user accessing a particular commands like scp,rcp,ssh.

centosboy 11-10-2009 08:02 AM

Quote:

Originally Posted by nagavinodh (Post 3751481)
Hi,
is it possible to send a mail from red hat4.2 while the user accessing a particular commands like scp,rcp,ssh.

what exactly are you asking here??

bmarx 11-10-2009 08:07 AM

Yes. Depending on how you are connecting to the box, you could use another terminal (Alt - F2, Alt - F3, etc.), open another ssh session to the box, use the fg/bg/& commands.

themanwhowas 11-10-2009 03:34 PM

bmarx answer is fine if that's what you are actually asking, or do you want to send an email alert when someone uses a certain command?


All times are GMT -5. The time now is 10:21 AM.