The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Problem while sending message and attachment with mailx nihar.dutta Shell Programming and Scripting 2 08-09-2007 11:15 AM
Mailx problem FredSmith UNIX for Dummies Questions & Answers 5 07-12-2007 08:10 AM
problem with mailx shriashishpatil UNIX for Advanced & Expert Users 7 03-02-2006 05:13 AM
Problem with mailx command when sending attachment. miltony Shell Programming and Scripting 2 12-02-2005 12:43 PM
mailx problem iastorms UNIX for Dummies Questions & Answers 2 05-11-2005 12:53 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-27-2005
djbartkow djbartkow is offline
Registered User
  
 

Join Date: Jun 2005
Location: California
Posts: 1
mailx problem

Is there a size limit on the file that can be sent using mailx?

I'm trying

mailx -s "alertlog" tome@work < /dir/my.log

and I only get a portion of the log. The newest portion of the log is not included in the mail.

Additionally, I would like the option of mailing just the last 100 lines of the file. How would I add the tail -100 syntax to the mail command.

If it matters, I'm running this from the crontab.

Thanks for any input.

Donna
  #2 (permalink)  
Old 06-27-2005
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,211
tail -100 /dir/my.log | mailx -s "alertlog" tome@work
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:51 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0