Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to Make Trace Files Created by Oracle Readable by All Users ? Oracle
  • Sample WW22 listener.ora Oracle
  • Processes parameter and its dependencies on OS kernel parameters Linux/Unix
  • find_cons.sql Oracle
  • before_trunc.sql Before Truncate table needs to execute following: Oracle
  • cif crons Linux/Unix
  • FRA Information. Oracle
  • Sort with ASCII order and Numeric Order Linux/Unix
  • tuning commmand for cpu, ip and memory stats Linux/Unix
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • Convert multiple rows to single column Oracle
  • configUOCIOTTO.ora Oracle
  • get_vmstat.ksh for Solaris Oracle
  • pvmehta.com SQL scripts
    Find which sessions is accessing object that prevent your session to have exclusive locks in Oracle 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

  • send email from unix mailx with attachment. Linux/Unix
  • Small sample shell program Linux/Unix
  • xargs use Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • move_arch_files.ksh 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 (402)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (350)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sql23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Sample WW22 listener.ora Oracle
  • Oracle 11g Training on 29JAN1010 Oracle
  • temp_use.sql diplays usage of temp ts Oracle
  • Implementing Listener Security Oracle
  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • create a folder in multiple places Linux/Unix
  • VIvek Encryption Package and Its Usage Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme