Search Results

Search: Posts Made By: lostboy1970
Forum: Linux 09-07-2007
82,584
Posted By lostboy1970
Now before getting into the details of how to...
Now before getting into the details of how to configure Red Hat Linux for root logins, keep in mind that this is VERY BAD security. Make sure that you NEVER configure your production servers for this...
16,193
Posted By lostboy1970
if [[ -f $your_file ]]; then cat...
if [[ -f $your_file ]]; then
cat $your_file|mailx -s "$your_file contents..." your_email_address
fi


OR if you want to receive the file as an attachment:

if [[ -f $your_file ]]; then...
16,193
Posted By lostboy1970
if [[ -f $your_file ]]; then mailx -s...
if [[ -f $your_file ]]; then
mailx -s "$your_file exists..." your_email_address
fi

-d will let you check if a directory exists.
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 05:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy