Search Results

Search: Posts Made By: newbie168
2,197
Posted By newbie168
tar - restore only file of specific dates
hi there,

anybody know if there is any efficient way of restoring only
files of specific dates from a tape (with tar command)? :rolleyes:
coz the tapes containing few weeks' files,
but i...
5,927
Posted By newbie168
:) RTM, thank you very much. it works with...
:)
RTM, thank you very much.
it works with soft link.

thanks again.
5,927
Posted By newbie168
file restoration to new directory - tar command
hi,
i face some problem which need URGENT assistance.

am performing a restoration for recovery in an AIX UNIX server.
when i use the tar -tvf command to view the tape contents,
it gives me...
19,876
Posted By newbie168
Thank a lot, thestevew. it works. :D
Thank a lot, thestevew.
it works. :D
19,876
Posted By newbie168
sh: date: not found
hi,
i have a cronjob sending output to:
test.log_`date +\%Y\%m\%d\%H\%M`

however, output generated out is test.log_ (without the date & time in the log filename)

it works correctly for the...
39,052
Posted By newbie168
yes! Gaurav, thanks a lot. :)
yes! Gaurav, thanks a lot. :)
39,052
Posted By newbie168
thanks, ZB here's my script: >...
thanks, ZB

here's my script:

> gen_stmtaud.sql
grep -v '-' stmt_auditing_opt.lst|cut -c 1-200 > ABC
while read line; do
echo "audit ${line} by user by access;" >> gen_stmtaud.sql
done <...
39,052
Posted By newbie168
how to echo the file contents LINE BY LINE
hello,
i have a listing (let say ABC) consists of the below:

:
public database link
public synonym
role
rollback segment
:

when i run the below for loop,
for i in `more...
3,878
Posted By newbie168
Thanks a lot. :) it works! found that the...
Thanks a lot. :) it works!

found that the below works too... ;)
grep -v '#' ABC|cut -d'/' -f2 | sort -u
3,878
Posted By newbie168
ZB, thanks! :) it works! however, i...
ZB, thanks! :)
it works!

however, i face another complication here.... :cool:

sometimes, certain line in the script (let say ABC) being COMMENT OFF (as below), & we need to EXCLUDE it from...
3,878
Posted By newbie168
Thanks guys! :) really appreciate ur quick...
Thanks guys! :)
really appreciate ur quick response.

i've another doubt here. :p

sometimes the script (let say ABC) print the SIMILAR report file twice but to DIFFERENT department.

For...
3,878
Posted By newbie168
how to grep all the filenames in a script
hello,
we have a script (let say ABC) which contains the below:

lp -d lp06 -t 'REPORT FOR FINANCE -FIN-' $daily/FINRPT
lp -d lp06 -t 'REPORT FOR FINANCE -FIN1-' $daily/FINRPT1
lp -d lp06 -t...
75,465
Posted By newbie168
Thank you very much, rishi. :) appreciate ur...
Thank you very much, rishi. :)
appreciate ur prompt reply.
75,465
Posted By newbie168
How to prompt for input & accept input in ONE line
hi,
am a new learner to shell programming.

i have a script which will prompt for user to key in their name & display their name afterwards.

script
=====
echo "Pls enter your name:"
read...
Showing results 1 to 14 of 14

 
All times are GMT -4. The time now is 03:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy