Hi,
Anyone know how to use exec to direct standard out to a file and also to the screen.
If I do :
exec > $LOGFILE
It goes to logfile but I get nothing to screen,
i've tried
exec > $LOGFILE | tee
But no luck. It's a long script so i'd rather not have to | tee for every echo statement...
Hi,
I have a partitioned table in Oracle with no indexes.
select count(*) from <tabname> partition (name)
takes around 10 mins to count 70,000 rows. It's doing a full scan of the partition but this stills seems a long time, even if the data isn't already cached.
Would an index speed up a...
Hi,
Can anyone tell me if an online backup of a db2 database can cause the rebalancing operation of tablespace containersto be paused after a container has been extended. This is on DB2 8.2 on AIX.
Thanks,
Matt.
Sorry guys - need help with a truly simple sed question.
I have a file with the following
\dir1\dir2\file.exe '\path1\path2\blah' '\path3\path4\blah'
how in sed do I change it so that the "\" in only the first path are changed to "/"
e.g.
/dir1/dir2/file.exe '\path1\path2\blah'...
Hi,
Does anybody know in if having row level locking enabled on a table would increase the amount of information logged in the transaction log during a transaction (i.e. more than it would if Row level locking was not on)
If so can anyone explain why ?
Thanks,
Matt
Hi,
I have similar to the following text :
I would like this[Unloading randomclass1]
[Unloading randomclass2]
[Unloading randomclass3]
[Unloading randomclass4]
to be a single sentence
I need to end up with :
I would like this to be a single sentence
There number of lines between the...
Hi,
Is there a way in awk to print a range of fields without using a for loop ?
e.g. A file contains:
a,b,c,d,e,f,g,h
How can I print fields 3 to 8 without using a for loop to get :
c,d,e,f,g,h
I've done it with a for loop but I get an error saying that the input line is too long.
Thanks,
M.
Hi,
I've been asked to look at a problem with a neighbours PC.
When windows 98 starts it comes back with an error saying that it can't start Explorer.exe. If you click OK the same message just appears again and therefore I can't get into the machine.
Is this likely to be somekind of Malware...
Hi,
We're looking at investing in some dual layered DVD writers at work and have a couple of questions.
1. Can dual layered disks be played in standard DVD rom drives ? i.e Would we need to purchase new DVD ROM drives to read dual layered disks.
2. Can dual layered burners also burn single...
Hi,
Where are the power management tools in Linux– I specifically need to disable the server from taking the network card into a ‘sleep’ mode which requires a machine ping to wake it up and allow network access to the web server.
Any help would be appreciated.
Thanks,
Matt.
Hi
How soon does ntpd sync ?
I’ve just started the xntpd daemon on a Solaris 9 server as follows :-
[sudan]/ $ ./usr/lib/inet/xntpd -l /tmp/fred -d
tick = 10000, tickadj = 5, hz = 100
kernel vars: tickadj = 5, tick = 10000
adj_precision = 1, tvu_maxslew = 495, tsf_maxslew =...
Hi,
I've just bought a new PC from Dell that has onboard graphics. I am now looking at adding a cheap Graphics card to give me some improvement when playing games although I don't want to spend too much money.
I am currently playing call of duty and this is OK with the onboard graphics, but...
Hi,
I'm going for an interview for a VB programmers job and I could do with brushing up on my knowledge. It has been a while since I have done any VB but it is something that I should be able to pick up again fairly quickly. As part of the interview there will be a VB aptitude test so I could...
Hi,
I have a Dell 4550 which was bought with a single DVD-Rom/CD-RW combo drive. I have since added a DVD-RW.
Both drives are on the Secondry IDE channel with the DVD-RW set to master and the DVD-Rom/CD-RW set to slave. The jumpers on the back of the drives are set to slave and master - not...
Hi,
Is it possible to have 2 CD/DVD drives on the same IDE channel or should they be on separate channels. If so, re there any disadvantages to having them on the same channel.
Thanks,
M.
Hi,
I have a tab seperated file with a number of lines in the following format :
file1 c:/some dir/temp c:/some other dir/temp
I'm trring to write a script in MKS toolkit as follows
while read filename sourcedir destdir
do
cp ${sourcedir}/${filename} ${destdir}
done < file...
Hi,
I'm trying to apply some patches to a HP-UX 11.11 box and am running out of space in /usr. I therefore need to extend /usr. To extend it it needs to be unmounted, which is clearly not a sensible thing to do.
Does anybody have any suggestions how to extend /usr either in SAM or on the...
On AIX 5.2
:/ >man -k ls
man: file /usr/dt/man/whatis not found
Create the whatis database using the catman -w command.
:/ >catman -w
catman: /usr/lbin/mkwhatis: exit status 1
Any ideas why this is failing ?
Thanks
M
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.