Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • pvm_pre_change.sql Oracle
  • currwaitobj.sql SQl_ID and SQL statement you can get from currwaitobj.sql Oracle
  • Find_planinfo.sql Oracle
  • SCRIPT TO LIST RECURSIVE DEPENDENCY BETWEEN OBJECTS UTLDTREE.sql Oracle
  • Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository Oracle
  • Distributed Transaction Troubleshooting. Oracle
  • tblwopk.sql tablewopk.sql Oracle
  • ORA-01220 Oracle
  • online_bkup.sql Oracle
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • oracle 10g on linux Linux/Unix
  • Backup and Recovery Scenarios Oracle
  • Sequence Resetting Oracle
  • Running some SQL on multiple databases connecting using monitoring userid and password Linux/Unix

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

  • Running some SQL on multiple databases connecting using monitoring userid and password Linux/Unix
  • Changing default shell Linux/Unix
  • To seee semaphores and shared memory segments in Solaris Linux/Unix
  • restarting network in linux Linux/Unix
  • Space padding in korn shell Linux/Unix
  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Consolidated Reference List Of Notes For Migration / Upgrade Service Requests -ID 762540.1 Oracle
  • runsql_once.ksh Linux/Unix
  • UTL_FILE test program Oracle
  • shr1.sql for MTS or Shared server configuration Oracle
  • Mutating Table Error while using database trigger Oracle
  • MYSQL and Oracle Comparison for Oracle DBA MYSQL
  • cold backup scripts to copy locally Linux/Unix
  • find_du.ksh to find # of files, their sizes in current folder and its subdolder Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme