LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices



Old

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

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

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

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

Posted 08-30-2011 at 04:06 PM by the dsc (linux-related notes)
Updated 08-30-2011 at 10: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:

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

Recovering Windows boot after deleting the Linux partitions

Posted 08-30-2011 at 03:32 PM by TobiSGD
Updated 08-30-2011 at 03: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
    Code:
    fixmbr.exe
    and press Enter.
  4. Reboot.

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

Fatalistic poetry…?

Posted 08-30-2011 at 11:40 AM by MrCode
Updated 09-22-2011 at 06: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 ):

Quote:
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,
Where
...
Member
Views 1006 Comments 0 MrCode is offline
Old

RE: Android

Posted 08-28-2011 at 01: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 1053 Comments 0 kacey is offline

  



All times are GMT -5. The time now is 01:58 AM.

Main Menu
Advertisement

Advertisement
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