09-29-2008
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all,
I am setting up mail function to send mail from a Solaris 8 machines but when I send a test mail out. it returns the following in my UNIX mail box
Reporting-MTA: dns; unix.localdomain.com
Arrival-Date: Tue, 14 Feb 2006 19:23:37 +0900 (KST)
Final-Recipient: RFC822;... (3 Replies)
Discussion started by: stancwong
3 Replies
2. Shell Programming and Scripting
Hello All,
I have written a scirpt that asks users to take action by xx:yy hours. Now I want to automate the sending of a reminder mail at xx:yy hours to remind the user that he needs to take action. How do you think I can go about that??
The only thing i can think of is to set up a cron job... (5 Replies)
Discussion started by: garric
5 Replies
3. Shell Programming and Scripting
Hi i have a monitoring script that send an email if grep returns 0 for some text. Problem is it sends two emails for both grep strings exist. How can i make it only ever send 1 email if either greps return?
#if grep returns 0 then send email
grep -q "still didn't respond" /root/latest.txt
if... (1 Reply)
Discussion started by: borderblaster
1 Replies
4. UNIX for Advanced & Expert Users
Hi All,
I have a requirement to send and email of body html with an attachment.
concatinating uuencode output to the mail body with mailx command works, but as my Email body is of HTML type i use sendmail.
my command to send HTML body is as below:
export MAILTO="recipient@domain.com"... (1 Reply)
Discussion started by: mohan_kumarcs
1 Replies
5. Shell Programming and Scripting
I get an error no such file or directory.
Yet my permissions are 774.
is there anything else I could check.
thanks (2 Replies)
Discussion started by: TimHortons
2 Replies
6. Shell Programming and Scripting
I want to send an email, however I like to subject line of the email to be different, depending on the content or body of the email, is this possible.
Ok - lets say the body of the email will always have the word job name, and depending on the 4,5 and 6 position of the job name, in this case... (1 Reply)
Discussion started by: axdelg
1 Replies
7. Shell Programming and Scripting
Hello ,
I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them .
I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
Discussion started by: nairshar
2 Replies
8. UNIX for Dummies Questions & Answers
%%START CBLOADER CBLOADER BRBAI2 000090
01,011600033,011600033,110516,0834,2,90,,2/
02,011600033,011103093,1,110317,0834,,2/
03,105581,,015,+00000416418,,,901,+00000000148,,,922,+000000
00354,,/
03,113806,,015,+00000559618,,,901,+00000000096,,,922,+000000
00621,,/... (1 Reply)
Discussion started by: sgoud
1 Replies
9. Ubuntu
Hi Guys..
yesterday i purchased a VPS server and installed sendmail on ubuntu 12.4 with Webmin & Apache runing webserver
problem is..
i can send mail via webmin user interface account to anybody to out side to any domain and able to recieve any mail from any domain..
Now main... (2 Replies)
Discussion started by: cmdman
2 Replies
10. Shell Programming and Scripting
Hi all,
I am trying to send a mail with attachment through this script. but its getting error
email.sh: line 27: syntax error near unexpected token `newline'
email.sh: line 27: `!'
#!/bin/sh
SUBJ="Send mail from Unix with file attachments"
TO=xx@domain.com... (1 Reply)
Discussion started by: balaji23_d
1 Replies
IRSEND(1) FSF IRSEND(1)
NAME
irsend - basic LIRC program to send infra-red commands
SYNOPSIS
irsend [options] DIRECTIVE REMOTE CODE [CODE...]
DESCRIPTION
Asks the lircd daemon to send one or more CIR (Consumer Infra-Red) commands. This is intended for remote control of electronic devices such
as TV boxes, HiFi sets, etc.
DIRECTIVE can be:
SEND_ONCE - send CODE [CODE ...] once
SEND_START - start repeating CODE
SEND_STOP - stop repeating CODE
LIST - list configured remote items
SET_TRANSMITTERS - set transmitters NUM [NUM ...]
SIMULATE - simulate IR event
REMOTE is the name of a remote, as described in the lircd configuration file.
CODE is the name of a remote control key of REMOTE, as it appears in the lircd configuration file.
NUM is the transmitter number of the hardware device.
For the LIST DIRECTIVE, REMOTE and/or CODE can be empty:
LIST "" "" - list all configured remote names
LIST REMOTE "" - list all codes of REMOTE
LIST REMOTE CODE - list only CODE of REMOTE
The SIMULATE command only works if it has been explicitly enabled in lircd.
-h --help
display usage summary
-v --version
display version
-d --device
use given lircd socket [/var/run/lirc/lircd]
-a --address=host[:port]
connect to lircd at this address
-# --count=n
send command n times
EXAMPLES
irsend LIST DenonTuner ""
irsend SEND_ONCE DenonTuner PROG-SCAN
irsend SEND_ONCE OnkyoAmpli VOL-UP VOL-UP VOL-UP VOL-UP
irsend SEND_START OnkyoAmpli VOL-DOWN ; sleep 3
irsend SEND_STOP OnkyoAmpli VOL-DOWN
irsend SET_TRANSMITTERS 1
irsend SET_TRANSMITTERS 1 3 4
irsend SIMULATE "0000000000000476 00 OK TECHNISAT_ST3004S"
FILES
/etc/lirc/lircd.conf
Default lircd configuration file. It should contain all the remotes, their infra-red codes and the corresponding timing and wave-
form details.
DIAGNOSTICS
If lircd is not running (or /var/run/lirc/lircd lacks write permissions) irsend aborts with the following diagnostics:
"irsend: could not connect to socket"
"irsend: Connection refused" (or "Permission denied").
SEE ALSO
The documentation for lirc is maintained as html pages. They are located under html/ in the documentation directory.
lircd(8), mode2(1), smode2(1), xmode2(1), irrecord(1), irw(1), http://www.lirc.org.
irsend 0.8.7pre1 May 2010 IRSEND(1)