Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • PLSQL Table Syntax 2 Oracle
  • Read CSV file using PySpark Python/PySpark
  • fdisk -l explaination about Primary-Logical-Extended Partitions Linux/Unix
  • find_cons.sql Oracle
  • All About Trace Fils Oracle
  • Optimizer_Index init.ora parameter explaination. Oracle
  • AWR settings- MMON is not taking snapshot. Oracle
  • More info about /proc folder and its relation with processes. Linux/Unix
  • Vivek Tuning for Row Locks. Oracle
  • Paste command syntax Linux/Unix
  • Good link for LIO in Oracle ( Logical IOs) Oracle
  • Consolidated Reference List Of Notes For Migration / Upgrade Service Requests -ID 762540.1 Oracle
  • SQL Server: How to see historical transactions SQL Server
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • 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

  • avail.sh ( find filesystem spae usage) Linux/Unix
  • Some OS level threshold for performance. Linux/Unix
  • Adding addidional hard drive and attach it to a linux box. Linux/Unix
  • set_env_dba Linux/Unix
  • crontab syntax Linux/Unix
  • How does one overcome the Unix 2 Gig file limit? 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)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • 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

  • 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
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • grep multuple patterns Linux/Unix
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • alter database backup controlfile to trace Oracle
  • segment_wise_space.sql segspace.sql Segment wise space usage (allocated and used) Oracle
  • get_aix_vmstat.ksh Oracle
  • Is It Recommended To Apply Patch Bundles When PSU Is Available? -ID 743554.1 Oracle
  • Space padding in korn shell Linux/Unix
  • On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8) Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme