LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

First 15 minutes on F15!!!

Posted 08-31-2011 at 07:12 AM by hi2arun
Tags f15, fedora, linux

Well.. I wanted to share my feel when I went live on F15. yeah!

Here goes how I was literally lovelocked with Gnome 3.0 and F15 on the day I installed it.

Phenomenal GUI. Am pretty sure M$ will leech its glossy touch. F15 with G3.0 is gonna lure lotta gui-freaks to Linux.

Though the GUI looked so gr8 with oh-is-this-really-linux kinda transitions, I felt a lil hard to figure out how to configure static IP for my WiFi adapter. Well. Perhaps FC15/G3 could
...
Member
Posted in Uncategorized
Views 1810 Comments 2 hi2arun is offline
Old

Comment a block in shell

Posted 08-31-2011 at 12:22 AM by hi2arun
Tags bash, script

We all know, to comment out a line in shell script, '#' token is inserted in the line that needs to be made dead.
Eg:

Code:
# This is a dead line
echo "This line is live"
However, '#' token can be pesky if a block of lines need to be commented out.
Say, to comment out the following block using '#'

Code:
# comment starts here
# All these lines
# are blocked
# using '#' token
# ...
# ...
# ...
...
Member
Posted in Uncategorized
Views 1339 Comments 0 hi2arun is offline
Old

Mapping address to line - Linux

Posted 08-31-2011 at 12:20 AM by hi2arun
Tags debug, kernel, panic

Well.. when you write your own kernel module, in the devel stage, chances for bringin down the kernel (panic.. ah sick) are huge.
Oops (pet name for kernel panic) mostly spits lots of martian traces that include stack addresses, registers and its value, EIP, etc.

To know the culprit line that caused panic, decode the address to line as follows:
EIP wud luk like...
Code:
EIP: [] ip_check+0x45a/0x21a [ip_tables] SS:ESP 0049:c098281a
Look at the selection...
Member
Posted in Uncategorized
Views 2241 Comments 0 hi2arun is offline
Old

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
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 1187 Comments 0 hi2arun is offline

  



All times are GMT -5. The time now is 09:52 PM.

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
Open Source Consulting | Domain Registration