Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Blogs
User Name




Posted 04-16-2012 at 08:57 AM by Ajit Gunge (Is everyone's fate decided?)

Has anyone amongst you experienced the feeling of dejavu.I have been experiencing it since I was aged 18 I guess.We see something in our dreams and later when it actually happens in your real life you just recall that I have seen it somewhere before.It makes me think "Has whole of our life already been written and we are just acting out the script".If everythings already been written then why I am doing the things that I am doing now.If eventually I am I going to end up is already been...
Posted in Thoughts
Views 596 Comments 0 Ajit Gunge is offline

Pure Bash option handling

Posted 04-16-2012 at 02:44 AM by Nominal Animal

I like the standard getopt way of specifying script and/or program parameters, but I don't like its quirks, and it is pretty cryptic if you don't use it often enough.

Here is pure Bash skeleton to implement script option parsing. It is long, but it should be easier to read and understand than one implemented using getopt.
set +f                  # Enable filename globbing
set -B                  # Enable brace expansion
shopt -s dotglob
Senior Member
Posted in Uncategorized
Views 1786 Comments 0 Nominal Animal is offline

Security. Malware and vulnerabilities.

Posted 04-15-2012 at 10:27 PM by rich_c

I'd just like to contrast an example of a win and a fail in relation to dealing with security issues.

Win. A student found a vulnerability in Wicd that could result in unauthorised root access. That vulnerability was patched pretty much the same day most sites reported the problem.

Fail! On the other hand, we have the Flashback trojan which apple have only just released tools to fix. I found a report of it's existence going back to September last year...
Posted in Uncategorized
Views 5179 Comments 1 rich_c is offline

UsR2usr (libLQ version)

Posted 04-15-2012 at 05:42 PM by rainbowsally

Here's UsR2usr version 1.5 (using libLQ)

file: src/Usr2usr.cpp
purpose: allows dummy installations and renaming of paths and rpaths for creating binary installations without committing to overwriting original files until you're ready.
// UsR2usr.cpp

#include <stdio.h>        // printf, sprintf, etc.
#include <stdlib.h>       // exit()
#include <unistd.h>       // tons of stuff
#include <malloc.h>
Posted in Uncategorized
Views 458 Comments 0 rainbowsally is offline

Birthday email

Posted 04-15-2012 at 05:41 PM by fred roellig

I want the person or persons who decided to send birthday emails to members ontheir birthdays to stand in front of a mirror and repeat the following: "People don't choose linux because they want the usual microsoft stupidity. People choose linux to get away from that crap." Now, slap yourself in the head hard enough to leave a red mark. This increases the likelihood of you actually getting a fucking clue. You douchebags have all this crap about "don't waste our time with stupid questions"...
LQ Newbie
Posted in Uncategorized
Views 8289 Comments 2 fred roellig is offline


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