Share your knowledge at the LQ Wiki.
Go Back > Blogs
User Name


Rating: 2 votes, 4.00 average.

Batch-fixing symlink targets

Posted 08-28-2010 at 07:08 PM by the dsc (linux-related notes)
Tags batch, symlink

Sometimes you move the folder to which lots of symlinks were pointing, or something to that effect, and you want to simply "edit" these symlinks rather than recreating them pointing the correct new location. That's how it can be done with one line:

find /place-where-the-null-symlinks are/ -type l | while read nullsymlink ; 
do wrongpath=$(readlink "$nullsymlink") ; 
right=$(echo "$wrongpath" | sed s'|/whatever/is/the/old-wrong/path|/correct-new/path|')
Posted in Uncategorized
Views 4733 Comments 1 the dsc is offline
Rating: 4 votes, 4.00 average.

Installing a Brother MFC-J220 printer in Slackware 3.1 32bit

Posted 03-03-2011 at 01:19 PM by trillobyte
Updated 04-29-2013 at 11:44 AM by trillobyte (Updated 04/29/2013)

Distribution: Slackware 13.1 (Update) These procedures relate to Slackware 14.0 64bit as well.
Distribution Edition: 32bit
Driver: mfcj220lpr-1.1.1-1.i386.rpm
Driver: mfcj220cupswrapper-1.1.1-3.i386.rpm
Driver: brscan3-0.2.11-4.i386.rpm
Driver: brscan-skey-0.2.1-3.i386.rpm
SANE version: Sane-1.0.21
CUPS version: cups-1.4.5
***Note***For 64bit Slackware you will need to install at least the glibc-solibs-2.15_multilib-x86_64-7alien.txz and cups-compat32-1.5.4-x86_64-2compat32.txz...
Posted in Uncategorized
Views 11401 Comments 3 trillobyte is offline
Rating: 2 votes, 4.00 average.

HOWTO: Change umask, permissions, ownership etc. of a folder using bindfs

Posted 11-01-2011 at 05:43 PM by kribor

I find myself coming back to a situation where I want to be able to control who files should be created as (user or group) and which permissions the files should have in a specific folder.

For example I have a linux server with a shared music directory for people in the household that is shared using samba and depending on whether how clients connect the files/folders they create get a bunch of different permissions, groups etc.. Getting tired of configuring of trying to configure...
LQ Newbie
Posted in Uncategorized
Views 11878 Comments 1 kribor is offline
Rating: 7 votes, 3.86 average.

How to answer questions without wasting too much time

Posted 11-30-2008 at 10:29 PM by ErV
Updated 02-21-2009 at 09:51 AM by ErV

Okay, I've just got through another flamewar, so I decided to write a some info about answering questions without wasting too much time in the process. The content is based on personal experience, my own point of view, and isn't supposed to be absolute truth or something. I also don't expect someone to agree with me. Recommendations are written in random order, and are supposed to prevent wasting too much time typing replies, or breaking your keyboard too quickly.
Beware! Some people probably...
Senior Member
Posted in Uncategorized
Views 7457 Comments 10 ErV is offline
Rating: 4 votes, 3.75 average.

Easy Arch linux Setup Guide [USB included]

Posted 09-24-2009 at 12:13 AM by ~sHyLoCk~
Updated 09-24-2009 at 12:19 AM by ~sHyLoCk~

Originally Posted in my blog.

Ok Let me First tell you that this guide was not copy pasted from anywhere, so I must warn you that this is just my experience but the basic setup should work! I wrote this guide by request from my blog readers and also many people who have asked me for a long time. I guess what I'm trying to say is that don't follow this guide blindly and use your brain! Also I would like to ask you to refer this official guide if you run into any troubles!
Senior Member
Posted in Arch Linux
Views 3586 Comments 2 ~sHyLoCk~ is offline


All times are GMT -5. The time now is 12:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration