Download your favorite Linux distribution at LQ ISO.
Go Back > Blogs
User Name



How to see what is in an RPM without installing it?

Posted 08-31-2011 at 12:18 AM by hi2arun

Datz simple!
1. Create a temp directory
# mkdir x
2. Change directory
# cd x
3. Now extract the RPM
# rpm2cpio /path/of/ur/RPM/file.rpm | cpio -dmi
There u go! Now you have ur RPM xtractd in directory 'x'
Posted in Uncategorized
Views 786 Comments 0 hi2arun is offline

"Wait until a process ends, a download ends, or a file conversion ends, then do X"

Posted 08-30-2011 at 03:06 PM by the dsc (linux-related notes)
Updated 08-30-2011 at 09:41 PM by the dsc (a small improvement)

Sometimes you want the computer to shut down after you've finished downloading something or converting some large file into some other format, but you want to go out or go to sleep instead of waiting and checking for it yourself.

For these situations I've come up with two tiny scripts. The first one waits until a file hasn't changed its size on three consecutive intervals of twenty seconds:

a=0 ; file="$1" ; if [ -f "$file.part" ] ; then file="$file.part"
Posted in Uncategorized
Views 1076 Comments 0 the dsc is offline
Rating: 3 votes, 3.67 average.

Recovering Windows boot after deleting the Linux partitions

Posted 08-30-2011 at 02:32 PM by TobiSGD
Updated 08-30-2011 at 02:36 PM by TobiSGD

So you tried Linux in dual-boot with your Windows installation and after you deleted the Linux partition(s) your Windows won't boot anymore.
There is a simple fix for that, you have to just re-install your Windows boot-loader.

Windows XP:
  1. Boot the system from your Windows XP-CD, just like you booted the Linux-CD/DVD before.
  2. Start the recovery/repair console (not the repair installation).
  3. Type
    and press Enter.
  4. Reboot.

Windows Vista/7:
  1. Boot the system
Posted in Uncategorized
Views 3522 Comments 2 TobiSGD is offline

Fatalistic poetry…?

Posted 08-30-2011 at 10:40 AM by MrCode
Updated 09-22-2011 at 05:11 PM by MrCode (disclaimer removed; (finally) changed blog category name)

I realize that some people here are a bit tired of me being the nihilistic fatalist all the time when talking about matters of religion and/or philosophy, but this is just a little klutzy piece of "poetry" I threw together that might shed some light on the whole "free will" issue (for me, at least ):

If thoughts are just links in a causal chain,
Emotions mere chemicals in one's brain,
If one's actions cause a nation to fall,
Views 1290 Comments 0 MrCode is offline

RE: Android

Posted 08-28-2011 at 12:59 AM by kacey

HSN has an Android tablet on their best buy tonight. It is Impression 9.7" LCD 1GHz Processor Wi-Fi Tablet with 2MP Camera. Its user-friendly Android 2.3 operating system may be on the Android Forum. Will check.
LQ Newbie
Posted in Uncategorized
Views 1148 Comments 0 kacey is offline


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