05-18-2016
It's posting in code tags, not "running".
And, did you get a mail from your run? If not, is bcarosi a valid mail destination on your host? If not, you should see messages in the mail system log. Correct the RECIPIENTS assignment.
This User Gave Thanks to RudiC For This Post:
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
:confused:
I have not written any code in about 15 years. The company I work for has Unix servers and they utilize KSH. The scriptors say that what I want can only be scripted in PERL which on my server they say they cannot get to work. They also tell me that what I want done cannot be... (0 Replies)
Discussion started by: CapnJuan
0 Replies
2. Shell Programming and Scripting
for each file if file name like xx*
for each line in a file
if substring(3,6) found in another txt file
output to file-a( filename = orginal file + _a)
else
output to file-b( filename = orginal file + _a)
end
Next Line (4 Replies)
Discussion started by: ttivanwan@yahoo
4 Replies
3. Shell Programming and Scripting
Hello everybody!
I am new to this and I am trying to change a script in an open source program that plots some offset vectors and then calls a postscript viewer. I have commented away the call for the postscript viewer but somehow the script doesn't return to the shell prompt. I cant figure out... (3 Replies)
Discussion started by: larne
3 Replies
4. UNIX for Advanced & Expert Users
if {"$my_ext_type" = MAIN]; then
cd $v_sc_dir
Filex.SH $v_so_dir\/$v_fr_file
Can somebody tell me what does this suggest. I am pretty new to unix and
I am getting confused.
What i understood from here is
If we have a file extension name as MAIN
which we have then we change the directory to... (1 Reply)
Discussion started by: pochaman
1 Replies
5. Programming
Hi All,
Please let me know any freeware revision control software name and URL. Any response is highly appreciated.
OS: Solaris 5.10
Thanks,
Naga:cool: (3 Replies)
Discussion started by: Nagapandi
3 Replies
6. Shell Programming and Scripting
I have the following script that I use to copy a list of files from one dir to another,
#!/usr/bin/bash
# $1=filename of file with the list of files to copy
# $2=column header for col in list file with filenames (filePath in most cases)
# $3=src dir
# $3=destination dir
FILE_LIST="$1"... (6 Replies)
Discussion started by: LMHmedchem
6 Replies
7. Shell Programming and Scripting
# watchdog process
mainpid=$$
(sleep 5; kill $mainpid) &
watchdogpid=$!
sleep 100
kill $watchdogpid
The sleep isn't be killed, I want the script to be killed
---------- Post updated at 03:03 AM ---------- Previous update was at 12:04 AM ----------
I just modify the format of my... (1 Reply)
Discussion started by: yanglei_fage
1 Replies
8. Shell Programming and Scripting
Hi Guys,
I am very new to shell script and I need your help here to write a script. Actually, I have a script abc.sh which don't get terminated itself. So I need to design a script to run this script, save the output to a file, search for a given string in the output and if it exists send those... (11 Replies)
Discussion started by: Sambit Sahu
11 Replies
LEARN ABOUT ULTRIX
msgchk
msgchk(1mh) msgchk(1mh)
Name
msgchk - check for messages
Syntax
msgchk [ -help ] [ -nodate ] [ -notify all|mail|nomail ] [ users ... ]
Description
The program checks all known mail drops for mail that is waiting for you. It displays whether you have mail waiting to be read or not and
shows the date that you last read your mail.
You can check other user's maildrops by specifying their user names as the users argument on the command line.
Options
-help Prints a list of the valid options for this command.
-date
-nodate Prints the date when you last read your mail. This is the default behavior of The -nodate option can be used of you do not want
to print this date.
-notify
-nonotify Indicates under what circumstances should produce a message. There are three legal values: all, mail, and nomail. The default
is -notify all, which reports the status of the maildrop regardless of whether it has mail in it or not. The -notify mail option
reports the status of the maildrop only if there is mail waiting. The -notify nomail option reports the status of the maildrop
only if there is no mail in it.
-source file
Specifies the source which are checked for mail. The only value allowed is file, which is the user's maildrop. Additional val-
ues are supported only for use with other mail systems.
Restrictions
does not understand the $MAILDROP environmental variable. If mail is fetched from a location other than will not be able to determine if
new mail has arrived. However, can still be used to fetch mail when it arrives.
For this version, the -source option only supports the value file. Additional values are supported for use only with other mail systems.
Examples
This example shows a user Smith checking his own maildrop:
% msgchk
Smith:
New file source mail waiting ; last read on Tue, 07 Jun 88 17
:21:49 WET
The next example shows a user checking the maildrops of two other local users on the same system, Rabb and Jones:
% msgchk Rabb Jones
Rabb:
No file-source mail waiting ; last read on Tue, 07 Jun 13:22:
25 WET
Jones:
New file source mail waiting ; last read on Tue, 07 Jun 17:30
:05 WET
Files
The user profile.
The system customization file.
The user's maildrop.
See Also
inc(1mh)
msgchk(1mh)