Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • handling filenname with space Linux/Unix
  • To seee semaphores and shared memory segments in Solaris Linux/Unix
  • Proc code Oracle
  • set_env_dba Linux/Unix
  • Absolute file number and relative file number Oracle
  • Goldengate Tutorial Oracle
  • Convert multiple rows to single column Oracle
  • login.sql Oracle
  • kill all processes from specific user in solaris. Linux/Unix
  • Read CSV file using PySpark Python/PySpark
  • Reading config file from other folder inside class Python/PySpark
  • Oracle Statspack survival Guide Oracle
  • adding new line after specific pattern using sed Linux/Unix
  • Looping for remote servers and find its database from oratab file. Linux/Unix
  • reset Sequence 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

  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • Running some SQL on multiple databases connecting using monitoring userid and password Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Check_recovery.sh program to run sqlplus and return its values remotely. Linux/Unix
  • Vivek’s egrep commands to trace problem. (on linux x86-64) Linux/Unix
  • move_arch_files.ksh 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 GoldenGate lag monitoring shell script Linux/Unix
  • Rollback force for distributed transactions Oracle
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • Oracle Identifiers Oracle
  • Find All internal Parameters Oracle
  • v$backup.status information Oracle
  • plan10g.sql good Oracle
  • Jai Shree Ram Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme