Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • OEM-Commnds Oracle
  • scp with ssh2 Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • CPU Core related projections AWS
  • How to set Processes Parameter Oracle
  • Wait Based Tuning Step by step with SQL statement Oracle
  • Oracle Data Direct to TAPE Oracle
  • telnet listening Linux/Unix
  • All Hints for Oracle Databases Oracle
  • Query to Generate aggregate on every 30 mins. Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Windows based Command line mailing program like mailx (Sednmail for windows) PHP/MYSQL/Wordpress
  • default permission on ~/.ssh/authorized_keys2 or authorized_keys Linux/Unix
  • 284785.1 How to check RAC Option is currently linked into the Oracle Binary Oracle
  • Remove DOS CR/LFs (^M) Linux/Unix

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

  • Processes parameter and its dependencies on OS kernel parameters Linux/Unix
  • move_arch_files.ksh /* Good One */ Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • Some useful Unix Commands Linux/Unix
  • grep multuple patterns Linux/Unix
  • scp with ssh2 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
  • Explain Plan Output 2 Oracle
  • Distributed Transaction Troubleshooting. Oracle
  • Removing Ctrl-M from end of line using vi Linux/Unix
  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • Unix split command to split files Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • temp_use.sql diplays usage of temp ts Oracle
  • ipcs -l Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme