LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old
Rating: 2 votes, 4.00 average.

Batch-fixing symlink targets

Posted 08-28-2010 at 06: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:

Code:
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|')
...
Member
Posted in Uncategorized
Views 3458 Comments 1 the dsc is offline
Old
Rating: 4 votes, 4.00 average.

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

Posted 03-03-2011 at 12:19 PM by trillobyte
Updated 04-29-2013 at 10: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...
Member
Posted in Uncategorized
Views 8632 Comments 3 trillobyte is offline
Old
Rating: 2 votes, 4.00 average.

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

Posted 11-01-2011 at 04: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 9392 Comments 1 kribor is offline
Old
Rating: 7 votes, 3.86 average.

How to answer questions without wasting too much time

Posted 11-30-2008 at 09:29 PM by ErV
Updated 02-21-2009 at 08: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...
ErV
Senior Member
Posted in Uncategorized
Views 6706 Comments 10 ErV is offline
Old
Rating: 4 votes, 3.75 average.

Register your self as a linux user

Posted 12-23-2009 at 01:40 AM by raju.mopidevi
Updated 03-02-2010 at 06:57 AM by raju.mopidevi

There's a website, called, "The Linux Counter," where you can register as a Linux user and also register the information about your system. No mailing lists or anything, it seems, if you choose to register. Once you register, you get a cool little Linux logo, showing you as a registered Linux user, with your registered user number.

From the website, you can see a breakdown by country, state and city, as to how many registered Linux users there are in each place. Also, you...
Senior Member
Posted in Uncategorized
Views 4838 Comments 8 raju.mopidevi is offline

  



All times are GMT -5. The time now is 02:40 AM.

Main Menu

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