You'd really just want to output the results to a file and then mail the entire file to your designated recipients. Such as the much maligned:
Just as an aside, however, you might want to think about listing internal domain contents when posting on a forum like this. Just as a matter of security...it's generally best if you don't broadcast the contents of your pockets.
To find all the files in your home directory that have been edited in some way since the last tar file, use this command:
find . -newer backup.tar.gz
Is anyone familiar with an older solution?
looking to identify files older then 15mins across several directories.
thanks,
manny (2 Replies)
Hey,
after I check the man page for mail and mailx, I did not find the -r option. But, I have to change the email sender, how can I do it?
Send Mode
mailx address...
Receive Mode
mailx -e
mailx
mailx -f
... (0 Replies)
could someone show me a sample command line option driven script?
i want to see an easy way to write one and how i can execute it using command line options such as typing in
read.pl -i <id> -c <cmds> -s <start> -e <end>
would read out all the commands run by ID . from start time to... (7 Replies)
Hi,
I am able to send email from AIX using the following command.
cat email.txt | mail -s "Mail Subject" venkat@gmail.com
Our requirement is send email with cc and bcc option.
We are getting email with from email address as our UNIX server user.
We would like to change that, please let us know... (2 Replies)
HI,
I have a file serverlist in that all host names are placed.
i have written a small script
#./testping
#! /bin/bash
for i in `cat serverlist`
do
ping $i >> output.txt
done
so now it creates a file output.txt till here fine..
now each time i run this script the output file... (4 Replies)
Hi,
I wanted to add a email option to this script. and was wondering if anyone could help me out.
#!/bin/ksh
echo "Finding hdisk"
<DIR>/find-disk
i=1
b=0
p=0
while ... (2 Replies)
Hi I am trying to write a script which runs until the host is up. i got it figured out that it needs to be in loop till it return $? = 0.
Not getting it through though. I am not sure about the 6th line !!!
#!/bin/sh
HOSTS="host.txt"
ping(){
for myhost in "$HOSTS"
do
ping -c -1 "$myhost"... (8 Replies)
Hello,
I want to design a script that will call an existing menu script and select options one by one and redirict the out put to a file.
For example;-
In the script MENU.sh there are 10 options i want to design a script MENU2.sh that will select option 2 3 4 6 7 10 and redirict the output... (4 Replies)
help with bash script!
im am working on this script to make sure my server will stay online, so i made this script..
HOSTS="192.168.138.155"
COUNT=4
pingtest(){
for myhost in "$@"
do
ping -c "$COUNT" "$myhost" &&return 1
done
return 0
}
if pingtest $HOSTS
#100% failed... (4 Replies)
Discussion started by: mort3924
4 Replies
LEARN ABOUT OSF1
help
help(1) General Commands Manual help(1)NAME
help - Provides information for new users
SYNOPSIS
help
DESCRIPTION
The help command presents a one-page display of information for new users. Information is available for the following topics: Concatenat-
ing or displaying files Editing lines interactively Sending and receiving mail Reading system messages Changing password file information
Identifying current users of the system Sending messages to the other users on the system Displaying the contents of directories Viewing
information on the Source Code Control System Setting terminal modes
SEE ALSO
Commands: cat(1), ex(1), finger(1), ls(1), mail(1), mailx(1), passwd(1), sccshelp(1), tset(1), who(1), write(1)help(1)