Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • UTL_FILE test program Oracle
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • Convert multiple rows to single column Oracle
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix
  • RAC with RHEL4 and 11g Oracle
  • All About Trace Fils Oracle
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • Rownum with Order by Oracle
  • Rename Tablespace Oracle
  • Multiple listeners Oracle
  • ORA-3136 Oracle
  • create user with unlimited quota Oracle
  • Caching sequence in Memory Oracle
  • chk_space_SID.ksh Linux/Unix
  • online_bkup.sql Oracle

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

  • Running select from V$ views from remote server Linux/Unix
  • How to collect CPU usage on Linux using Shell script Linux/Unix
  • check_copy_progress.sh Linux/Unix
  • nfs mount command Linux/Unix
  • kill all processes from specific user in solaris. Linux/Unix
  • Logic to chech # of parameters command line parameters 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
  • How to set Processes Parameter Oracle
  • Find Command Linux/Unix
  • cache buffer chain latch Oracle
  • Jai Shree Ram Oracle
  • Nice notes on wait events Oracle
  • sid_wise_sql.sql Further explaination Oracle
  • Good Link from metalink 1 Oracle
  • How can I tell if ASO is installed ? Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme