Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • reset Sequence Oracle
  • When to rebuld B-tree index Oracle
  • find_pk.sql /* Find Primary Key */ Oracle
  • Proc Compilation Oracle
  • Good link for LIO in Oracle ( Logical IOs) Oracle
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • rm_backup_arch_file.ksh Linux/Unix
  • Oracle Connections expire_time and firewall Oracle
  • Sending email with file attachment. Linux/Unix
  • Generating XML from SQLPLUS Oracle
  • ipcs -l Linux/Unix
  • Very Good Oralce Internal Tuning Book Oracle
  • oradebug ipcrm ipcs Oracle
  • segment_wise_space.sql segspace.sql Segment wise space usage (allocated and used) Oracle
  • Find Stale DR Physical Standby 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

  • Space padding in korn shell Linux/Unix
  • Jai Shree Ram Linux/Unix
  • To see mem usage and CPU usage system wide. Linux/Unix
  • To find all disk io ( EMC as well as local) Linux/Unix
  • scripts to take listener.log backup Linux/Unix
  • fuser to check who is using diretory 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 (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • 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
  • find_pk.sql /* Find Primary Key */ Oracle
  • import-export with multiple files Oracle
  • standard Monitoring – 1 Oracle
  • More info about /proc folder and its relation with processes. Linux/Unix
  • .profile Linux/Unix
  • plan10g.sql good1 Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme