Hi,
I have an array of strings that I would like to sort by the second column which contains a hexadecimal value. The array looks typically as follows:
"/dev/rdisk/disk1 07:44 00075145 XP02"
"/dev/rdisk/disk2 05:23 00075145 XP02"
"/dev/rdisk/disk3 06:5f 00075145...
Hi,
I'm having a small problem with permissions on a solaris 9 box and I'm not sure what is causing it. As a non-root user doing a ls -la in /var is giving me the following error:
./..: Permission denied
It then lists out the contents of the dir.
Also from within /var issuing a find /tmp...
Hi everyone,
I need to be able to write into a ksh script, a function that can look at 2 24 hour time variables and work out the difference between them.
e.g
job1 runs at 21:00
job2 runs at 01:00
diff = +04:00 hours
I would also need negative numbers i.e where job1 runs after job2...
Hi,
Carrying on from my previous thread (If statement), to which the solutions provided worked well (thanx), I now need to add two variables together.
START=(e.g 23:15) - Start time of job
ELAPSE=(e.g 00:56) - Elapse time of job
to return a completion time variable. e.g 00:11
thanx
Richard
Hi,
This is probably a basic UNIX scripting question, but I guess that if you don't ask you never learn!
I'm trying to write a script that does a number of things but I have become stuck on one particular part.
I have a variable which is defined in the script as the result of a search. The...
Hi,
I'm no script writer but I have been given the task of monitoring certain filestores for remaining capacity.
Instead of logging onto the box everyday and doing a df -k I would like a script that could do this for me and alert me by email if any of the disk areas are more than 80% full.
Has...
Hello people!
Can anybody please tell me how you can globally insert words into a text file using vi??
I need to be able to insert the words 'echo dummy' between 2 words on many lines of a text file.
Any help would be very much appreciated.
Thanks
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.