Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Search and replace pattern Linux/Unix
  • Reclaim temp tablespace for oracle 8, 8i Oracle
  • Shuffle an array PHP/MYSQL/Wordpress
  • cp_filesystem.sql Oracle
  • Convert multiple rows to single column Oracle
  • How to sort list of files on basis of their sizes. Linux/Unix
  • Does DBMS_JOB recompute the NEXT_DATE interval after or before Oracle
  • to see when crontab is changed. Linux/Unix
  • Oracle Statspack survival Guide Oracle
  • .profile Linux/Unix
  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • How do I get Oracle to automatically start when my server boots up? Oracle
  • oracle_env_10g_CADEV Linux/Unix
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • Sending email with file attachment. Linux/Unix

catting.sh

Posted on 07-Jun-200602-Jun-2023 By Admin No Comments on catting.sh

This is the script used for merging multiple text files in single large text(ASCII) file.

for i in `ls *sql *sh`
{
echo "****************************************************" >> myfile
echo File Name : $i >> myfile
echo "****************************************************" >> myfile
cat $i >> myfile
echo " " >> myfile
}


Linux/Unix, shell

Post navigation

Previous Post: how to find OS block size
Next Post: For Perl DBI installation and testing program

Related Posts

  • switchlogfile.sh Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • How to know Number of CPUs on Sun Box Linux/Unix
  • Find long Running Transaction Linux/Unix
  • to see when crontab is changed. Linux/Unix
  • How to sort list of files on basis of their sizes. 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 (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
  • How to find who is using which Rollback segment and how many rows or blocks in that rollback segments, Oracle
  • get_vmstat_solaris Oracle
  • Some useful Unix Commands Linux/Unix
  • pvm_pre_change.sql Oracle
  • scp with ssh2 Linux/Unix
  • sid_wise_sql.sql Oracle
  • create a folder in multiple places Linux/Unix
  • Sending SQLPLUS output in HTML format Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme