Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: quick way to add a line to a file, if it's not already present (automating tweaking of /etc/ld.so.conf for installing Image::Magick)

by VSarkiss (Monsignor)
on Nov 17, 2006 at 18:28 UTC ( [id://584772]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if grep -v -q 'the_line' ld.so.conf; then echo 'the_line' >> ld.so.con
    +f; fi
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://584772]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-03-28 14:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found