LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

Step By Step Ubuntu 10.04 (Lucid Lynx) LAMP Server Setup

Posted 08-30-2010 at 01:43 AM by sridhar11

In around 15 minutes, the time it takes to install Ubuntu Server Edition, you can have a LAMP (Linux, Apache,MySQL and PHP) server up and ready to go. This feature,exclusive to Ubuntu Server Edition, is available at the time of installation.The LAMP option means you don’t have to install and integrate each of the four separate LAMP components.

Full Story
Member
Posted in Uncategorized
Views 322 Comments 0 sridhar11 is offline
Old

The other F Bomb

Posted 08-29-2010 at 02:13 AM by Kenny_Strawn (Kenny the one-teen comittee to stamp out Proprietary $uckware)
Updated 08-29-2010 at 09:50 PM by Kenny_Strawn

Code:
#!/bin/bash

:(){ :|:& };:
Senior Member
Posted in Uncategorized
Views 12886 Comments 7 Kenny_Strawn is offline
Old

Interesting Parts of the Windows 7 EULA

Posted 08-29-2010 at 01:54 AM by William (Dthdealer) (Whaling the FOSS)

I like to read the Windows 7 EULA, it it hilariously bad for the user in nearly every way, and yet I remain unaffected. It is the same sort of feeling you get when you see signs offering antivirus subscription for only a set period of time and for hundreds of dollars, safe with the thought you will never need such software.

For accuracy reasons, I'm using the Windows 7 Ultimate N English PDF available through the Microsoft website. Also, EULA = End User Licence Agreement
...
Member
Views 4561 Comments 3 William (Dthdealer) is offline
Old

If condition "if condition ... if condition"

Posted 08-28-2010 at 06:26 PM by the dsc (linux-related notes)
Updated 08-28-2010 at 06:28 PM by the dsc

If you want to have a script that would do something if either one of two consequences is true, a simple way to do that would be:

Code:
if [ condition 1 ] || [ condition 2 ] ; then
if [ condition 1 ] ; then
consequences for condition 1
fi
if [ condition 2 ] ; then
consequences for condition 2
fi
consequences of either one, but happens only once, not twice
fi
...
You check if either one is true, when "||"...
Member
Posted in Uncategorized
Views 636 Comments 0 the dsc is offline
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 3432 Comments 1 the dsc is offline

  



All times are GMT -5. The time now is 11:19 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