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

    running a system command as a user

    Hi I'm quite new to php. basically I need to run a system command from a php script as a user. do I use http authentication or sudo or what? I'm not concerned about security. thanks.
  2. jonnyc2

    splitting up a list

    thats just the cookie! thanks vlad.
  3. jonnyc2

    splitting up a list

    thanks guys thats awesome! a couple of other things I'm trying to do if you have a moment: print the username at the start of each block and the total of the first column. eg. fred 16 8 ./bk118/bk118_1220/work/fred/maya/data 8 ./sf118/sf118_1325/work/fred/maya/data barney 85888 85876...
  4. jonnyc2

    splitting up a list

    Hi I have a list like this: 8 ./bk118/bk118_1220/work/fred/maya/data 8 ./sf118/sf118_1325/work/fred/maya/data 85876 ./tn125/tn125_1010/work/barney/maya/data 8 ./tn125/tn125_1020/work/barney/maya/data 4 ./tn125/tn125_1040/work/barney/maya/data 37468 ./rt117/rt117_1090/work/wilma/maya/data 4...
  5. jonnyc2

    works on command line but doesnt work in file?

    thanks, that works a treat.
  6. jonnyc2

    works on command line but doesnt work in file?

    thanks for that but I cant get it to work, it just prints the whole record and doesn't recognise the _{100}.
  7. jonnyc2

    works on command line but doesnt work in file?

    I'm new to awk but I'm stuck!! I'm finding it real hard! so this works fine on the command line: awk 'BEGIN { RS = "__+" } /string/' /blah/blah/blah/blah/blah/myfile but when I put it into a file like this: #!/usr/bin/awk BEGIN { RS = "__+" } /string/ "/blah/blah/blah/blah/blah/myfile" I...

Part and Inventory Search

Back
Top