I have been reading Gustavo Duarte's blog for last few days. The blog contains very good and neatly written contents on Linux internals. He has explained the things in the simplest manner using code and, especial mention to, excellent diagrams.
I would definitely recommend you to read the blog series, if you are interested in Linux internals.
Tuesday, August 25, 2009
Monday, August 10, 2009
Network disconnect in fedora 9 x86_64
Using a x86_64 DVD version of Fedora 9, I have installed the system and noticed an issue: the network is not active. The issue seems to be with NetworkManager service.
To resovle the issue, follow these steps -
#vim /etc/sysconfig/network-scripts/ifcfg-eth0
and add line or change it, if already there-
NM_CONTROLLED=yes
If you like to use GUI than execute this command as root
#system-config-network
it will open a Network configuration window. Edit eth0 configuration. Select the checkbox "Controlled by NetworkManager".
Once you have made the changes by either way reboot the system. It should enable the network.
To resovle the issue, follow these steps -
#vim /etc/sysconfig/network-scripts/ifcfg-eth0
and add line or change it, if already there-
NM_CONTROLLED=yes
If you like to use GUI than execute this command as root
#system-config-network
it will open a Network configuration window. Edit eth0 configuration. Select the checkbox "Controlled by NetworkManager".
Once you have made the changes by either way reboot the system. It should enable the network.
Thursday, July 30, 2009
Enable root login in Fedora 10 (GNOME)
Log in as your average user, then elevate yourself to root (su -). First, make a backup of the file you’re about to edit:
# cp -a /etc/pam.d/gdm /etc/pam.d/gdm.orig
Now edit /etc/pam.d/gdm and change the line:
auth required pam_succeed_if.so user != root quiet
…to:
auth required pam_succeed_if.so user quiet
…save it, log out and now you can log back into GDM as root.
# cp -a /etc/pam.d/gdm /etc/pam.d/gdm.orig
Now edit /etc/pam.d/gdm and change the line:
auth required pam_succeed_if.so user != root quiet
…to:
auth required pam_succeed_if.so user quiet
…save it, log out and now you can log back into GDM as root.
Tuesday, July 28, 2009
Browse linux source online
LXR (formerly "the Linux Cross Referencer") is a toolset to browse linux source code online.

The sources for 0.0.1 to latest 2.6.30 kernels are available on LXR.
The sources for 0.0.1 to latest 2.6.30 kernels are available on LXR.
Friday, July 24, 2009
Installing Flash Player Plugin on Firefox without having Admin access
Sometimes, we get the windows machine with only limited access. We need Administrator access to install any software on the system.
I am having the same problem in my office. We do not get administrator access. Being a Firefox addicted user, I found a way to install firefox and a useful plugin, flash player.
I am having the same problem in my office. We do not get administrator access. Being a Firefox addicted user, I found a way to install firefox and a useful plugin, flash player.
Thursday, July 16, 2009
Critical security hole in Firefox 3.5
There has been a highly critical security hole found in recently released Firefox 3.5. The bug is in newly used Just-in-Time (JIT) JavaScript compiler.
Following are the excerpts from Mozilla blog.
Following are the excerpts from Mozilla blog.
Friday, July 10, 2009
Brace Expansion
Brace expansion takes a list of strings separated by commas and expands those strings into separate arguments for you. The list is enclosed by braces, the symbols { and }, and there should be no spaces around the commas. For example:
$ echo {one,two,red,blue}
one two red blue
$ echo {one,two,red,blue}
one two red blue
Install Linux Straight from an ISO without CD/DVD
GNU/Linux comes in many different flavours, apart from the fact that each individual distro has a new release almost every six months, if not less. Everytime we need to try the new distro, we burn the ISO image on the dvd and than install it. I came across a very good article on Linuxforu magzine. In this article , the author shares a simple trick by which you can install the new distro without burning it to a CD/DVD.
The only requirement is that you should have a pre-installed GNU/Linux system—which you already have, I assume.
Click here to see the article.
The only requirement is that you should have a pre-installed GNU/Linux system—which you already have, I assume.
Click here to see the article.
Wednesday, June 24, 2009
Installing Fedora on Dell laptops
Recently, I installed Fedora on one of my friend's laptop. It was already having Windows vista and we wanted to make it a dual boot system. However, after installing Fedora, Windows was not able to come up. Though, GRUB shows two operating systems in the system but selecting Other was not booting Windows.
Friday, April 10, 2009
The Importance of Command Line
I understand, we are so much used to GUI that we almost forget the CLI. Remembering all those commands with different options seems like a big hassle. GUI has all the buttons, click on it and job done. But here we miss one part the power of CLI. If used wisely, they can speed up your working many fold.
Take an example, you want to close a tab in firefox. Take your mouse to cross button and than click or simply say CTRL-w. Interesting, right. Linux has got a really powerful shell. You can almost write a program there. See the following code -
It will find every filename ending with .c in the current directory and makes a copy with OLD_ preceding the filename.
Read this to know the power of CLI. If the link asks you to register, than continue reading the blog. I have dumped the contents in the post.
Take an example, you want to close a tab in firefox. Take your mouse to cross button and than click or simply say CTRL-w. Interesting, right. Linux has got a really powerful shell. You can almost write a program there. See the following code -
$ for f in *.c
> do cp -p $f OLD_$f
> doneIt will find every filename ending with .c in the current directory and makes a copy with OLD_ preceding the filename.
Read this to know the power of CLI. If the link asks you to register, than continue reading the blog. I have dumped the contents in the post.
Wednesday, April 8, 2009
Firefox plug-ins
As you all know, Firefox is the fastest growing browser and the most powerful browser too. The Firefox 2.0 saw 1.5 millions download within 24 hours, whereas firefox 3.0 witnessed massive 8 millions download in 24 hours. It is really amazing when the estimation was 3 millions download.
Now, you would be wondering that why it is so powerful and popular. First look and you say, it looks so normal. There are two cool features in firefox, one is you type in address bar and it will search for substring not for the entire string. Second, it can start searching on page as you start typing. Cool, but you need to enable this option.
The real power of firefox is the plug-ins which makes it outstanding browser from a normal browser. I would be listing here most popular plug-ins for firefox. I will keep updating the list time to time, so keep an eye on this post.
Now, you would be wondering that why it is so powerful and popular. First look and you say, it looks so normal. There are two cool features in firefox, one is you type in address bar and it will search for substring not for the entire string. Second, it can start searching on page as you start typing. Cool, but you need to enable this option.
The real power of firefox is the plug-ins which makes it outstanding browser from a normal browser. I would be listing here most popular plug-ins for firefox. I will keep updating the list time to time, so keep an eye on this post.
Tuesday, April 7, 2009
Shortcut and commands for newbies
Here are few shortcut and commands for newbies. Click here to read. They will be very useful in your day to day life and cap really speed up your working.
-Mukesh
-Mukesh
Monday, March 16, 2009
Turn Windows NOTEPAD into a dairy
Here is a real cool tip to write down any info on a day to day basis...
It simply serves as a virtual diary!
* Open a notepad and type .LOG (case sensitive) as the first line.
* Save and close the file.
* Double-click the file to open it and notice that Notepad appends the current date
And time and places the cursor on the next line.
* Type your notes and then save and close the file.
Each time you open the file, Notepad repeats the process,
Appending the time and date and placing the cursor below it.
It simply serves as a virtual diary!
* Open a notepad and type .LOG (case sensitive) as the first line.
* Save and close the file.
* Double-click the file to open it and notice that Notepad appends the current date
And time and places the cursor on the next line.
* Type your notes and then save and close the file.
Each time you open the file, Notepad repeats the process,
Appending the time and date and placing the cursor below it.
Friday, March 6, 2009
Creating alias in bash
You can alias any command in your .bashrc file to create shortcut.
For ex - alias l='ls -ltr' will create a alias for ls command with -ltr options. Now use only l to invoke this command.
Combine two or more commands in one alias,
alias cdh="cd <home>; ls -l"
You can see aliases set by you by invoking 'alias' command in shell.
A more complex example for creating a shortcut,
rmdir()
{
rm -rf $1 > /dev/null &
}
$> rmdir test will remove test directory.
For ex - alias l='ls -ltr' will create a alias for ls command with -ltr options. Now use only l to invoke this command.
Combine two or more commands in one alias,
alias cdh="cd <home>; ls -l"
You can see aliases set by you by invoking 'alias' command in shell.
A more complex example for creating a shortcut,
rmdir()
{
rm -rf $1 > /dev/null &
}
$> rmdir test will remove test directory.
Thursday, February 26, 2009
Cool features of Google chrome
Really nice article on some of the cool features of Google chrome. Click here to see.
Tuesday, February 24, 2009
Linux Tips n Tricks
These are some of the basic tips n tricks which are useful in day to day life -
More to come...
- cd <cr> will take you home
- !! will execute last command.
- !<command> will run the command as last run.
- Cut a word on command line by <ctrl>-w and paste it <ctrl>-y
- Cut a line on command line by <ctrl-u> and paste it <ctrl>-y
More to come...
Wednesday, February 4, 2009
Hello world!
Hi All,
I just came to know about this blog site. Thought of giving it a try. Basically, I got inspired by Shabir's blog (click here).
I would be putting here some of tips and tricks from my day to day professional life. Hope it would be helpful for you guys.
Feedback are most welcome.
-Mukesh
I just came to know about this blog site. Thought of giving it a try. Basically, I got inspired by Shabir's blog (click here).
I would be putting here some of tips and tricks from my day to day professional life. Hope it would be helpful for you guys.
Feedback are most welcome.
-Mukesh
Subscribe to:
Comments (Atom)