Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • ORACLE_SID in sqlplus Oracle
  • OEM-Commnds Oracle
  • Oracle 11g Environment Setup Oracle
  • alter database backup controlfile to trace Oracle
  • logminer and my_lbu Oracle
  • scripts to take listener.log backup Linux/Unix
  • Find Stale DR Physical Standby Oracle
  • Rollback force for distributed transactions Oracle
  • SQL Tracker by SID sqltrackerbysid.sql Oracle
  • Database link password in user_db_links Oracle
  • Good notes on Oracle Events Oracle
  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) Linux/Unix
  • TNSNAMES entries details Oracle
  • Very Good Oralce Internal Tuning Book Oracle
  • send attachment from unix-shell script 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

  • chk_space_SID.ksh Linux/Unix
  • avail.sh ( find filesystem spae usage) Linux/Unix
  • Korn Shell Arithmatic Linux/Unix
  • create a folder in multiple places Linux/Unix
  • CPU speed on solaris Linux/Unix
  • Removing first line 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
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • How to find who is using which Rollback segment and how many rows or blocks in that rollback segments, Oracle
  • To Find Orphan OS processes. Linux/Unix
  • Creating never expiring DB user accounts in Oracle Oracle
  • fkwoind.sql fkwoindex.sql Oracle
  • SCRIPT TO LIST RECURSIVE DEPENDENCY BETWEEN OBJECTS UTLDTREE.sql Oracle
  • TRUNCATE table and disabling referential constraints. Oracle
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme