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

Notices

Old

dejavu

Posted 04-16-2012 at 07: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...
Member
Posted in Thoughts
Views 271 Comments 0 Ajit Gunge is offline
Old

Pure Bash option handling

Posted 04-16-2012 at 01: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.
Code:
#!/bin/bash
set +f                  # Enable filename globbing
set -B                  # Enable brace expansion
shopt -s dotglob
...
Senior Member
Posted in Uncategorized
Views 820 Comments 0 Nominal Animal is offline
Old

Security. Malware and vulnerabilities.

Posted 04-15-2012 at 09: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...
...
Member
Posted in Uncategorized
Views 3065 Comments 1 rich_c is offline
Old

UsR2usr (libLQ version)

Posted 04-15-2012 at 04: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.
Code:
// UsR2usr.cpp

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

Birthday email

Posted 04-15-2012 at 04: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 4846 Comments 2 fred roellig is offline

  



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