• Home
  • About
  • Map
  • Archives
  • Videos
  • Gallery
Grab the RSS feed

spiralbound.net

spiralbound.net
  • Home
  • Adventures
  • Data and Technology
  • Et cetera
  • Highlights

Posts Tagged with "path"

  • Data and Technology

    Posted on December 12th, 2007

    Written by cliff

    Tags

    array, path, php, programming, sed, spaces, string, str_replace, substitution, unix, unix find

    PHP and Sed for String Substitution

    I needed to replace a string in several thousand files scattered all over the filesystem on one of our servers. I used find to create a list of files that needed to be changed, along with their complete path and called it "list.txt". It looked something like this:

    /path/to/file/one/fileone.html
    /path/to/file/two/filetwo.php
    /path/to/file/three/filethree.htm
    /path/to/directory with spaces/filefour.txt
    and so on...

    I worked out the [...]

  • Data and Technology

    Posted on July 23rd, 2007

    Written by cliff

    Tags

    cfgadm, CLARiiON, devfsadm, EMC, fc, fiber, fiber channel, format, hba, host, Navisphere, path, QLA 2310, qlogic, reboot, reboot -- -r, solaris, storage, sun, switched fabric, system file

    Registering Solaris CLARiiON Hosts With QLA 2310 HBAs

    Sun Microsystems likes the QLA 2310 Fiber Channel HBA. It's only a 2Gig card, but it works with the Sun native driver, which makes it wonderful for us Solaris Administrators. Unfortunately, it does not integrate perfectly with EMC CLARiiON SANs because it does not register properly with Navasphere. Even if you manually register the host, [...]

  • Sponsor
  • Recent Comments
    • cliff on Raising Mallard Ducklings
    • cliff on Raising Mallard Ducklings Redux
    • cliff on Raising Mallard Ducklings
    • DEBORAH on Raising Mallard Ducklings Redux
    • jen on Raising Mallard Ducklings
    • Nancy Gorman on Raising Mallard Ducklings
    • conor on Fish Supposedly Washed Up By Asian Tsunami

Copyright © 2007 spiralbound.net - Proudly powered by Wordpress