Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • DBMS_Shared_pool pinning triggers Oracle
  • Benefits and Usage of RMAN with Standby Databases Oracle
  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle
  • catall.sh Linux/Unix
  • Order by with ROWNUM Oracle
  • To find all disk io ( EMC as well as local) Linux/Unix
  • SQL Server: How to see current transactions or requests SQL Server
  • How to choose Driver table in SQL statement Oracle
  • cur_sql.sql Oracle
  • grep multuple patterns Linux/Unix
  • useful dg links Oracle
  • TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1 Oracle
  • logminer and my_lbu Oracle
  • catting.sh Linux/Unix
  • Gathering statistics with DBMS_STATS 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

  • How to change hostname in Linux Linux/Unix
  • Zip and unzip with tar Linux/Unix
  • backspace in SQL Plus not working then..? Linux/Unix
  • To find all disk io ( EMC as well as local) Linux/Unix
  • Processes parameter and its dependencies on OS kernel parameters Linux/Unix
  • Transfer SQL Profiles from One database to other database. Oracle

Leave a Reply Cancel reply

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

Categories

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

Recent Posts

  • 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
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Find Plan Hash value fphv.sql Oracle
  • Changing unix system clock when Oracle database is running. Oracle
  • refre.sql Oracle
  • block_ident.sql Oracle
  • Temporary tablespace explaination Oracle
  • plan10g.sql good1 Oracle
  • pvm_rbs1.sql (to collect rbs info from db) Oracle
  • longtx.sql Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme