Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Follwoing korn shell is used to move files from source folder to destination folder and gzip it in destination folder. mv_iotto.ksh Linux/Unix
  • Proc code Oracle
  • Wait time tuning research Oracle
  • db_status.sql Oracle
  • oracle fast start failover best practice Oracle
  • shutdown linux Linux/Unix
  • get_vmstat.ksh Linux/Unix
  • SQL Server Vs Oracle Architecture difference SQL Server
  • Library cahe Latches and internal explaination Oracle
  • Wait Based Tuning Step by step with SQL statement Oracle
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • pvm_rbs1.sql (to collect rbs info from db) Oracle
  • How to find pinned objects from shared pool. (pinned via dbms_shared_pool.keep) Oracle
  • Processes Parameter decision Oracle

Zip and unzip with tar

Posted on 02-Jun-2008 By Admin No Comments on Zip and unzip with tar

***** ZIP IT ************

eaappprod22->UOCUAT@(/export/home/oracle/paresh)ls -rlt

total 0

-rw-r–r– 1 oracle dba 0 Jun 2 11:08 2

-rw-r–r– 1 oracle dba 0 Jun 2 11:08 3

-rw-r–r– 1 oracle dba 0 Jun 2 11:08 4

-rw-r–r– 1 oracle dba 0 Jun 2 11:08 5

-rw-r–r– 1 oracle dba 0 Jun 2 11:09 1

eaappprod22->UOCUAT@(/export/home/oracle/paresh)tar -cvf all.tar *

a 1 0K

a 2 0K

a 3 0K

a 4 0K

a 5 0K

eaappprod22->UOCUAT@(/export/home/oracle/paresh)ls -rlt

total 8

-rw-r–r– 1 oracle dba 0 Jun 2 11:08 2

-rw-r–r– 1 oracle dba 0 Jun 2 11:08 3

-rw-r–r– 1 oracle dba 0 Jun 2 11:08 4

-rw-r–r– 1 oracle dba 0 Jun 2 11:08 5

-rw-r–r– 1 oracle dba 0 Jun 2 11:09 1

-rw-r–r– 1 oracle dba 3584 Jun 2 11:15 all.tar

eaappprod22->UOCUAT@(/export/home/oracle/paresh)

******* UNZIP IT ***********

eaappprod22->UOCUAT@(/export/home/oracle/paresh)ls -rlt

total 8

-rw-r–r– 1 oracle dba 3584 Jun 2 11:15 all.tar

eaappprod22->UOCUAT@(/export/home/oracle/paresh)tar -xvf all.tar

tar: blocksize = 7

x 1, 0 bytes, 0 tape blocks

x 2, 0 bytes, 0 tape blocks

x 3, 0 bytes, 0 tape blocks

x 4, 0 bytes, 0 tape blocks

x 5, 0 bytes, 0 tape blocks

eaappprod22->UOCUAT@(/export/home/oracle/paresh)ls -rlt

total 8

-rw-r–r– 1 oracle dba 0 Jun 2 11:08 2

-rw-r–r– 1 oracle dba 0 Jun 2 11:08 3

-rw-r–r– 1 oracle dba 0 Jun 2 11:08 4

-rw-r–r– 1 oracle dba 0 Jun 2 11:08 5

-rw-r–r– 1 oracle dba 0 Jun 2 11:09 1

-rw-r–r– 1 oracle dba 3584 Jun 2 11:15 all.tar

eaappprod22->UOCUAT@(/export/home/oracle/paresh)

Linux/Unix, shell

Post navigation

Previous Post: RAC 11g with vmware
Next Post: standard Monitoring – 1

Related Posts

  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Oracle GoldenGate lag monitoring shell script Linux/Unix
  • purge_trc.sh Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • oracle 10g on linux 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 (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Ports used by Oracle Software Oracle
  • Load testing on Oracle 19C RAC with HammerDB Oracle
  • Complete Git Tutorial for Beginners GIT
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle
  • CPU speed on solaris Linux/Unix
  • Very Good Oralce Internal Tuning Book Oracle
  • FGA Part-I Oracle
  • RMAN : Consistent Backup, Restore and Recovery using RMAN Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme