10 More Discussions You Might Find Interesting
I have taken a backup of a directory on my tape in using below command
find * -print|backup -ivf '/dev/rmt0' '-U' |tee -a /syslogs/backup.log and output appear in below format.
a 0 rman-before-08032014
a 58403323904... (2 Replies)
Discussion started by: m_raheelahmed
2. UNIX for Dummies Questions & Answers
How to get the current directory Path in your prompt?
i am getting a $ mark only in my prompt?
Please help me with this (3 Replies)
Discussion started by: Abhishek0683
I am trying to restore a specific directory and all sub-directories therein using a rootvg tape. I am using the following command to make the backup:
mksysb -m -i -v /dev/rmt0
However, I am getting the following result:
rmt0 Available 04-08-00-0,0 LVD SCSI 4mm Tape Drive... (10 Replies)
Discussion started by: herot
4. UNIX for Dummies Questions & Answers
How do I print the name of my current working directory only to screen?
For example, if I was in /home/work I am looking for 'work' only (4 Replies)
Discussion started by: jimjam
5. UNIX for Advanced & Expert Users
I want to use the string with the current directory in my awk command.
I tried: 'pwd=system("pwd")'
but it doesn't work. can please help somebody? (2 Replies)
Discussion started by: daWonderer
6. UNIX for Dummies Questions & Answers
Hello Every one,
I want to back up all passwd files to /xyz/passfiles.cpio
and Then restore them to /abc directory.
Here is what I wrote:
find / -name passwd | cpio -oc > /tmp/passwd.cpio
and to restore
cpio -ium < /tmp/passwd.cpio
I can not find the files restored to /abc... (2 Replies)
Discussion started by: drdigital_m
we are using backup command on AIX to take backup
as below in this command we also add compress command
find orcldb orcldata arch |tee /apps/orabkp/ofgl.faysalbank.com-17Jun10Thu-ORCL-DB.bkp.gz.log | backup -ivqf - |gzip -c >... (0 Replies)
Discussion started by: lodhi1978
8. Shell Programming and Scripting
I was wondering what is the most efficient way to find files in the current directory(that may contain 100,000's files), that meets a certain specified file type and of a certain age.
I have experimented with the find command in unix but it also searches all sub directories. I have... (2 Replies)
Discussion started by: kewong007
9. Shell Programming and Scripting
I want to perform a task on all the files in the current directory but I'd like to loop through them one at a time. How do I tell it to give me the first filename? (2 Replies)
Discussion started by: calgone337
10. UNIX for Advanced & Expert Users
when I execute some simple commands on my solaris system, I am getting the following warning message:
Could anybody tell me what could be the reason
Ex:- If I give the command,
Warning: cannot determine current directory
... (15 Replies)
Discussion started by: axes