Hi,
This is odd, however here goes. There are several shell scripts that run in our production environment AIX 595 LPAR m/c, which has sufficient memory 14GB (physical memory) and horsepower 5CPUs. However from time to time we get the following errors in these shell scripts. The time when these... (11 Replies)
Hi ,
I am new to shell scripting. i have a requirement say i will receive a file in a directory say /xyz.if that file stays in that directory more than 30 min i need to get a mail to my outlook.this should run for every 20 min in crontab.
can anyone help me? (8 Replies)
hi all,
i need to email the output of a command to a google or yahoo account.
am using debian lenny 5.
can someone please help me on this ? (5 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
strange :)
can you tell why?:cool:
#!/bin/bash
echo " enter your age "
read age
if ; then
echo " you do not have to pay tax "
elif ]; then
echo " you are eligible for income tax "
else
echo " you dont have to pay tax "
fi (3 Replies)
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Hi All,
i am trying to ssh to a remote machine and execute certain command to remote machine through script.
i am able to ssh but after its getting hung at the promt and after pressing ctrl +d i am gettin the out put as
expect: spawn id exp5 not open
while executing
"expect "$" {... (3 Replies)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Hi 2 all,
i have had AIX 7.2
:/# /usr/IBMAHS/bin/apachectl -v
Server version: Apache/2.4.12 (Unix)
Server built: May 25 2015 04:58:27
:/#:/# /usr/IBMAHS/bin/apachectl -M
Loaded Modules:
core_module (static)
so_module (static)
http_module (static)
mpm_worker_module (static)
... (3 Replies)
Discussion started by: penchev
3 Replies
LEARN ABOUT OSF1
comsat
comsat(8) System Manager's Manual comsat(8)NAME
comsat - The biff server
SYNOPSIS
comsat
DESCRIPTION
The comsat server receives reports of incoming mail and notifies users who request this service. comsat is invoked by the inetd(8) daemon
when it receives messages on a datagram port associated with the biff(1) service specification in /etc/services(4). The datagram contains
a 1-line message of the form: user@mailbox-offset If the user specified is logged in and the associated terminal has the owner execute bit
turned on (with biff y), offset is used as a seek offset into the file named in mailbox. The first 7 lines or 560 characters of the mes-
sage are printed on the user's system. The message excludes mail header lines other than the From or Subject lines.
The comsat command always tries to convert incoming mail messages from the mail interchange codeset to the user's application codeset. It
determines the mail interchange code first by checking the mail message itself to see if it contains the required information. Otherwise,
the system-wide default mail interchange code in the file /usr/lib/mail-codesets will be used. If no such system file exists, no codeset
conversion will be performed.
The determination of the user's application code in each terminal session is by one of the following methods. The application codeset
defined in the user's Asian tty driver. The codeset name stored in the ~/.codesetdevname file, where devname is the name of the terminal
device for the current terminal session. You can obtain the value of devname by issuing the tty command. For example, if the tty command
returns /dev/ttys8, use ttys8 as the value for devname. The lang valued option defined in $HOME/.mailrc or /usr/share/lib/Mail.rc.
FILES
Specifies the command path. Includes information about logged-in users and their associated ttys. File containing mailx subcommands to
customize mailx for a specific user. File containing mailx subcommands to change mailx for all users on the system.
RELATED INFORMATION
Commands: biff(1), inetd(8), mailx(1), mh(1)
Files: services(4), inetd.conf(4), tty(7) delim off
comsat(8)