I asked this question in Powershell forum but I didn't receive any help, so trying Perl now
I have file with data like this:
++++++++++++++++Input file +++++++++++++++++++++++++++++
User Name: Power DBA
Description:
Role: Power DBA
Last Login Date: Jul 1, 2011 4:54:18 PM
User Name: Power...
Need help on Powershell
I have file with data like this:
++++++++++++++++Input file +++++++++++++++++++++++++++++
User Name: Power DBA
Description:
Role: Power DBA
Last Login Date: Jul 1, 2011 4:54:18 PM
User Name: Power User
Description: Admin Team
Role...
Hi Netbackup Gurus,
I have a question about limiting where the restore can be send to. I have given OPS the bp -r option so when the login they will be taken to recovery menu. Sometimes they forget to change the destination directory ( they have a dedicated restore directory to send all the...
Thanks for the input. It didn't help me. It prints everything from File2. I want to print the line above the matching line from File1 ( Ex: filer_xxxxx_Wed_Full)
Thanks
I have two files
File1
filer_xxxxx_Wed_Full
/vol/vol1/qtree
....
....
File2
/vol/vol1/qtree
I want read File2 and if the line in File2 matches a line in File1 then print the line previous to matching line.
I tried with this command
for ln in `cat /tmp/File2`; do nawk -v var=$ln...
Dear Gurus,
I have an output like this:
fcp 1
aaaaaaaaaaaa
bbbbbbbbbbbb
1:2:3:4
dddddddd
fcp 2
vvvvvvvvvvvvvv
2:4:0:5:9:9
ccccccccccccccc
bbbbbbbbbbbbbbb
I want to print line 2 and line 3 next to each other
ex: bbbbbbbbbbbb 1:2:3:4
How could I do this?
Thanks again
Hi Guys,
I am new to backup exec and Win. I need to get a list of tapes used in previous night and email that to me. How could I do it?. Can I use bemcmd or any other?
Thanks
Hi Scripting Gurus,
I got this script from internet. Script is fine when I run as a stand alone. I need to embed it into my script as a function to get yesterday/day before yesterday and so on... But it fails when called as function.
*********************************************************
#...
We had SUN to replace one of the tape drive because we were seeing some error messages logged in messages file:
May 18 09:54:37 bk001 scsi: [ID 107833 kern.warning] WARNING: /pci@84,2000/lpfc@1/fp@0,0/st@w500104f0005e12d0,0 (st7):
May 18 09:54:37 bk001 transport rejected
May 18 09:54:41...
Thanks for your inputs.
This week I had SUN engineer came on-site and upgraded the LTO 2 FW. Today I am going to replace one tape drive ( which has been failing nearly everyday)
I have enabled bptm log with VERBOSE=5, let see what is says.
Thanks again
How can I embed a HTML formated file into email via perl on SOlaris. When I print it into email it prints like
/font></TD>
<TD WIDTH = 2% BGCOLOR = #F0F0F0> </TD> <TD ALIGN = LEFT WIDTH = 45% BGCOLOR = #F0F0F0> <font size = 2 face = 'Courier New' color = navy> <U>OW REQUESTS (IAPF940)</U>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.