Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • SQL_PLAN.sql for checking real execution plan Oracle
  • Unix split command to split files Linux/Unix
  • How to Make Trace Files Created by Oracle Readable by All Users ? Oracle
  • dbinv.sql Oracle
  • To see mem usage and CPU usage system wide. Linux/Unix
  • Pending Distributed Transations Oracle
  • RAC 11g with vmware Oracle
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle
  • Locktree.sql Oracle
  • How to collect CPU usage on Linux using Shell script Linux/Unix
  • Some useful Unix Commands Linux/Unix
  • Alter procedure auditing Oracle
  • newupload.html PHP/MYSQL/Wordpress
  • Good Link from metalink 1 Oracle
  • To check whether standby is recovering properly or not?? Oracle

Sending email with file attachment.

Posted on 07-Jan-2010 By Admin No Comments on Sending email with file attachment.

Single File Attachemnt:

=======================

cat test.dat|uuencode test.dat|mailx -s “subject” mailid

Multiple file Attachment:

=========================

(uuencode INPUTFILE $FILE_STRING.out ;uuencode INPUTFILE $FILE_STRING.err )|mailx -s “SUBJECT” $EMAIL_ID

(uuencode INPUTFILE check_dr_notok.log ;uuencode INPUTFILE check_dr_ok.log )|mailx -s “Test multuple attachment” pmehta@1800flowers.com

(uuencode check_dr_notok.log check_dr_notok.log ;uuencode check_dr_ok.log check_dr_notok.log)|mailx -s “Test multuple attachment” pmehta@1800flowers.com

Linux/Unix, shell

Post navigation

Previous Post: Kernel Parameters for Solaris
Next Post: How to find password change date for user

Related Posts

  • Kernel Parameter setting explaination for Processes Parameter Linux/Unix
  • Check_recovery.sh program to run sqlplus and return its values remotely. Linux/Unix
  • restarting network in linux Linux/Unix
  • shutdown linux Linux/Unix
  • get_vmstat.ksh Linux/Unix
  • Search and replace editor command in vi Linux/Unix

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • 284785.1 How to check RAC Option is currently linked into the Oracle Binary Oracle
  • DBMS_PROFILER for tuning PLSQL programs. Oracle
  • checking redhat linux version Linux/Unix
  • Building Our Own Namespaces with “Create Context” Oracle
  • Good Link from metalink 1 Oracle
  • shutdown linux Linux/Unix
  • grep multuple patterns Linux/Unix
  • Single character replacement in Unix Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme