• 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
  • Popular Posts
    • Bash For loop Example
    • Why Did my Arm Fall Asleep?
    • Fish Supposedly Washed Up By Asian Tsunami
    • Little Japanese Trucks
    • Little Known CLARiiON Facts and Trivia
    • Solaris Disk Partition Layout & Mirroring Scripts
    • Copy a Solaris Boot Drive to a New Disk
    • Foreach Example in tcsh
    • More Fun With DIY ROVs
    • RHEL Winbind Authentication Against Active Directory
    • Using Sort to List Directories by Size
    • Bush Has Record Low I.Q.
    • Recovering From a Stuck Symantec Ghost Virtual Boot Partition
    • Spencer Tunick Shoot In Mexico City
    • Controlling Services With chkconfig
  • Recent Comments
    • shari on Fish Supposedly Washed Up By Asian Tsunami
    • shari on Fish Supposedly Washed Up By Asian Tsunami
    • Jadu Saikia on Using Sort to List Directories by Size
    • Paul on Why Modern RAID 5 is Ideal for Oracle Databases
    • cliff on Raising Mallard Ducklings Redux
    • Ann on Raising Mallard Ducklings Redux
    • cliff on RHEL useradd Syntax

Copyright © 2007 spiralbound.net - Proudly powered by Wordpress