Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. rik1551

    Array Sort

    perfect, thanks!
  2. rik1551

    Array Sort

    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...
  3. rik1551

    /var permissions

    Annihilannic, the permissions are: drwxr-xr-x 50 root root 1536 Nov 6 10:29 / thanks,
  4. rik1551

    /var permissions

    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...
  5. rik1551

    Subtracting Times

    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...
  6. rik1551

    Hi, Carrying on from my previous

    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
  7. rik1551

    'IF' statement

    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...
  8. rik1551

    Help! script needed to give mail alert on disk space. (ksh)

    Thanks Greg, Thats exactly what i was looking for! Richard
  9. rik1551

    Help! script needed to give mail alert on disk space. (ksh)

    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...
  10. rik1551

    Global text insertion using vi

    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

Part and Inventory Search

Back
Top