Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • In Addition to previous note, following grants needed on PERFSTAT user. Oracle
  • PLSQL Table Syntax 1 Oracle
  • plan10g.sql good1 Oracle
  • normal maintenance for exp-imp and renaming table Oracle
  • Find nth max and min. Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • 10g oem configuration Oracle
  • on IBM-AIX for display Linux/Unix
  • find_err.sql for finding errors from dba_errors. Oracle
  • create trigger syntax Oracle
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • usnsql.sql Displays information about UNDO segments with sql statements Oracle
  • Recovering lost SYS password Oracle
  • scripts to take listener.log backup Linux/Unix

Unix split command to split files

Posted on 28-Dec-2007 By Admin No Comments on Unix split command to split files

split -20 source_filename.lst test1

Above command will split source_filename.lst with every 20 lines. Will create files with 20 lines and with following names.

-rw-r–r– 1 oracle dba 41 Dec 28 11:53 test1ag

-rw-r–r– 1 oracle dba 2127 Dec 28 11:53 test1af

-rw-r–r– 1 oracle dba 2240 Dec 28 11:53 test1ae

-rw-r–r– 1 oracle dba 2243 Dec 28 11:53 test1ad

-rw-r–r– 1 oracle dba 2242 Dec 28 11:53 test1ac

-rw-r–r– 1 oracle dba 2232 Dec 28 11:53 test1ab

-rw-r–r– 1 oracle dba 2143 Dec 28 11:53 test1aa

Linux/Unix, shell

Post navigation

Previous Post: to see when crontab is changed.
Next Post: on IBM-AIX for display

Related Posts

  • scripts to take listener.log backup Linux/Unix
  • process id based files and processes Linux/Unix
  • how to find VIP from ifconfig Linux/Unix
  • Find Command Linux/Unix
  • Session_info.ksh Linux/Unix
  • avail.sh ( find filesystem spae usage) Linux/Unix

Leave a Reply Cancel reply

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

Categories

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

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Oracle 11g Training on 29JAN1010 Oracle
  • Processes Parameter decision Oracle
  • move_arch_files.ksh Linux/Unix
  • scripts to take listener.log backup Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • Very clear article about oracle dataguard Oracle
  • Good links for x$ tables in oracle. Oracle
  • oracle fast start failover best practice Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme