Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • pvmehta.com SQL scripts
    Find which sessions is accessing object that prevent your session to have exclusive locks in Oracle Oracle
  • Jai Shree Ram Linux/Unix
  • TOP-N Sql to find Nth max or Top N rows Oracle
  • Rman Notes -1 Oracle
  • SAN Linux/Unix
  • oracle fast start failover best practice Oracle
  • Read CSV file using PySpark Python/PySpark
  • Facts about SCN and Rollback Segment Oracle
  • MYSQL for Oracle DBA MYSQL
  • Logic to chech # of parameters command line parameters Linux/Unix
  • block_ident.sql Oracle
  • Find nth max and min. Oracle
  • Find all users who have DML privileges Oracle
  • Renaming the column name Oracle
  • Virtual Indexes in Oracle 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

  • setting prompt display with .profile Linux/Unix
  • Korn Shell Arithmatic Linux/Unix
  • For Search and replace unix command. Linux/Unix
  • check_copy_progress.sh Linux/Unix
  • Search and Replace vi editor command. 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)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (397)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (345)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Hello08-Apr-2026
  • Hello07-Apr-2026
  • Test107-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Find long Running Transaction Linux/Unix
  • Find all users who have DML privileges Oracle
  • Directory wise folder wise space usage Linux/Unix
  • executing Function from SQLPLUS prompt Oracle
  • telnet listening Linux/Unix
  • RAC 11g with vmware Oracle
  • crtgr.sql /* For creating trigger from data dictionary */ Oracle
  • age_alert.ksh aging out alert.log Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme