<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6371999957535768539</id><updated>2011-11-27T16:43:15.715-08:00</updated><category term='linux'/><category term='facebook'/><category term='CLI'/><category term='shadow'/><category term='grub'/><category term='drive'/><category term='symbolic link'/><category term='holiday'/><category term='broken dependency'/><category term='core dump'/><category term='college'/><category term='nirmaan'/><category term='disk'/><category term='social service'/><category term='internship'/><category term='minix'/><category term='GUI'/><category term='portable'/><category term='encryption'/><category term='facemash'/><category term='hard'/><category term='GDB'/><category term='shell'/><category term='BITS'/><category term='PGP'/><category term='kernel'/><category term='first blog'/><category term='GPG'/><category term='windows'/><category term='lucid lynx'/><category term='external'/><category term='ubuntu'/><category term='corruption'/><category term='mint'/><title type='text'>tech-hack</title><subtitle type='html'>I am Gaurav kumar,20,currently doing M.Sc.(tech) in Information System from BITS pilani (Rajasthan).</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gauravbits575.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://gauravbits575.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Gaurav Kumar</name><uri>http://www.blogger.com/profile/02130735784310318352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_GIQM2n_nQvs/S7MIPVKzgSI/AAAAAAAAABc/M0xtztgMw6o/S220/DSC00550.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>22</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6371999957535768539.post-8606236463164648104</id><published>2011-04-24T03:33:00.000-07:00</published><updated>2011-04-24T03:57:38.845-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='CLI'/><category scheme='http://www.blogger.com/atom/ns#' term='shell'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Rename multiple files with bash script</title><content type='html'>Hi there,&lt;br /&gt;          Recently I came up with a problem related to filename of downloaded files.In my college I use DC(Direct Connect) client to download files from other peers.Recently I downloaded a large number of music videos which remained in temporary directory and did not move to music directory.Although It downloaded completely, It remained in temporary directory and hence name of files was in the format "filename.(avi/mpg/flv etc.).(some chars).dctmp". So I had to rename them.Definitely, I couldn't do it manually as there were more than 1000 files.Hence I tried to write a bash script for renaming all of them at once.&lt;br /&gt;Initially I tried to store the filename as "*.*.dctmp" in which I would trim the "*.dctmp" part.Hence the remaining part would the desired filename(with proper externsion).But storing the filename like that did not work out.&lt;br /&gt;Then I saw that in temp files, there is a common pattern that before "dctmp" extension, there are exactly 39 chars. Then I tried a different method of trimming filename which is explained below with code.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;code :&lt;br /&gt;&lt;br /&gt;for i in *.dctmp &lt;br /&gt;do &lt;br /&gt;len="${#i}" ;&lt;br /&gt;let len-=46&lt;br /&gt;#echo "$len";&lt;br /&gt;name="${i:0:len}" ;&lt;br /&gt;#echo "$name"&lt;br /&gt;mv "$i" "$name" ;&lt;br /&gt;done&lt;br /&gt;&lt;br /&gt;save it with name.sh and run "bash name.sh" on terminal.The script should be run in the same directory in which temp files are present.&lt;br /&gt;&lt;br /&gt;e.g. &lt;b&gt;Guns N' Roses - Welcome To The&lt;br /&gt;jungle.mpg.47IMRQGAGFWOA7GMLZTK3X6QFIGR4P4EKHDRHKI.dctmp&lt;/b&gt;  became &lt;b&gt;Guns N' Roses - Welcome To The Jungle.mpg&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Worked on ubuntu 10.10&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6371999957535768539-8606236463164648104?l=gauravbits575.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gauravbits575.blogspot.com/feeds/8606236463164648104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gauravbits575.blogspot.com/2011/04/rename-multiple-files-with-bash-script.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/8606236463164648104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/8606236463164648104'/><link rel='alternate' type='text/html' href='http://gauravbits575.blogspot.com/2011/04/rename-multiple-files-with-bash-script.html' title='Rename multiple files with bash script'/><author><name>Gaurav Kumar</name><uri>http://www.blogger.com/profile/02130735784310318352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_GIQM2n_nQvs/S7MIPVKzgSI/AAAAAAAAABc/M0xtztgMw6o/S220/DSC00550.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6371999957535768539.post-709606151448434617</id><published>2011-04-20T17:09:00.001-07:00</published><updated>2011-04-20T17:14:37.224-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='kernel'/><category scheme='http://www.blogger.com/atom/ns#' term='minix'/><title type='text'>Microkernel approach in minix3</title><content type='html'>In computer science, a microkernel is the near-minimum amount of software that can provide the mechanisms needed to implement an operating system. These mechanisms include low-level address space management, thread management, and inter-process communication (IPC).As an operating system design approach, microkernels permit typical operating system services, such as device drivers, protocol stacks, file systems code, to run in user  space.MINIX3 has around 4,000 lines of code. Kernels larger than 20,000 lines are generally not considered microkernels.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Reflecting on the nature of monolithic kernel based systems, where a driver (which has approximately 3-7 times as many bugs as a usual program) can bring down the whole system,MINIX3 aims to create an operating system that is a "reliable, self-healing, multiserver UNIX clone".In order to achieve that, the code running in kernel must be minimal, with the file server, process server, and each device driver running as separate user-mode processes. Each driver is carefully monitored by a part of the system known as the reincarnation server. If a driver fails to respond to pings from the reincarnation server, it is shut down and replaced by a fresh copy of the driver.In a monolithic system, a bug in a driver can easily crash the whole kernel, something that is much less likely to occur in MINIX3.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Reliability factors in MINIX3 :-&lt;br /&gt;&lt;br /&gt;Reduce kernel size&lt;br /&gt;Cage the bugs&lt;br /&gt;Limit drivers' memory access&lt;br /&gt;Survive bad pointers&lt;br /&gt;Tame infinite loops&lt;br /&gt;Limit damage from buffer overruns&lt;br /&gt;Restrict access to kernel functions&lt;br /&gt;Restrict access to I/O ports&lt;br /&gt;Reincarnate dead or sick drivers&lt;br /&gt;Integrate interrupts and messages&lt;br /&gt;&lt;br /&gt;Architecture :&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-XJMc6MmvzS8/Ta92CiYNPkI/AAAAAAAAAEY/mIESpEBpGKo/s1600/arch.gif"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 400px; height: 214px;" src="http://1.bp.blogspot.com/-XJMc6MmvzS8/Ta92CiYNPkI/AAAAAAAAAEY/mIESpEBpGKo/s400/arch.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5597822647804968514" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The approach that MINIX 3 uses to achieve high reliability is fault isolation. In particular, unlike traditional OSes, where all the code is linked into a single huge binary running in kernel mode, in MINIX3, only a tiny bit of code runs in kernel mode about 4000 lines in all. This code handles interrupts, process scheduling, and interprocess communication. The rest of the operating system runs as a collection of user-mode processes, each one encapsulated by the MMU hardware and none of them running as superuser. One of these processes, dubbed the reincarnation server, keeps tabs on all the others and when one of them begins acting sick or crashes, it automatically replaces it by a fresh version. Since many bugs are transient, triggered by unusual timing, in most cases, restarting the faulty component solves the problem and allows the system to repair itself without a reboot and without the user even noticing it. This property is called self healing, and traditional systems do not have it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6371999957535768539-709606151448434617?l=gauravbits575.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gauravbits575.blogspot.com/feeds/709606151448434617/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gauravbits575.blogspot.com/2011/04/microkernel-approach-in-minix3.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/709606151448434617'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/709606151448434617'/><link rel='alternate' type='text/html' href='http://gauravbits575.blogspot.com/2011/04/microkernel-approach-in-minix3.html' title='Microkernel approach in minix3'/><author><name>Gaurav Kumar</name><uri>http://www.blogger.com/profile/02130735784310318352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_GIQM2n_nQvs/S7MIPVKzgSI/AAAAAAAAABc/M0xtztgMw6o/S220/DSC00550.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-XJMc6MmvzS8/Ta92CiYNPkI/AAAAAAAAAEY/mIESpEBpGKo/s72-c/arch.gif' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6371999957535768539.post-353057466846055627</id><published>2011-04-19T03:24:00.000-07:00</published><updated>2011-04-19T03:41:18.817-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='core dump'/><category scheme='http://www.blogger.com/atom/ns#' term='GDB'/><category scheme='http://www.blogger.com/atom/ns#' term='minix'/><title type='text'>An Approach to core dump in minix3</title><content type='html'>Hey people,&lt;br /&gt;           I have been trying to work around implementing core dump in minix3.A clear understanding of what core dump is necessary for its design. I will start with what a core file is.&lt;br /&gt;&lt;br /&gt;The core file contains the memory image of the process, which can be used for debugging purposes.A core file is created when various errors(depends on how dumping is implemented) occur. Errors such as memory-address violations, illegal instructions, bus errors, and user-generated quit signals, commonly cause this core dump. The core file that is created contains a memory image of the terminated process.&lt;br /&gt;&lt;br /&gt;The contents of a core dump are organized sequentially in the core file.It may follow any data structure to produce dump.Below is a rough idea of what things can be included. &lt;br /&gt;&lt;br /&gt;Core header -&gt; Defines basic information about the core dump, and contains offsets that locate the remainder of the core dump information.&lt;br /&gt;User stack -&gt; Contains a copy of the user stack at the time of the core dump.&lt;br /&gt;Data area -&gt; Contains the user data section.&lt;br /&gt;Memory mapped regions -&gt; Contains the anonymously mapped regions.&lt;br /&gt;&lt;br /&gt;Process Control Blocks :&lt;br /&gt;&lt;br /&gt;A process control block (PCB) exists for each process, describing the state of that process by maintaining the LDT, as well as saved register values, used to save the process state while a process is waiting to be scheduled. The PCB is a struct proc, containing important information about one process, including the process number and status. Also accessible through the PCB, via the p_map memory map, are the base addresses and physical and virtual sizes of the three segments of each process: (1)the text, (2)data, and (3)stack segments.&lt;br /&gt;&lt;br /&gt;In minix architecture the microkernel, file system, and memory manager all maintain their own process tables but keep strict correspondence between these entries.The complete state of a process is defined by the process' data in memory, plus the information in its process table slot.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6371999957535768539-353057466846055627?l=gauravbits575.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gauravbits575.blogspot.com/feeds/353057466846055627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gauravbits575.blogspot.com/2011/04/approach-to-core-dump-in-minix3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/353057466846055627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/353057466846055627'/><link rel='alternate' type='text/html' href='http://gauravbits575.blogspot.com/2011/04/approach-to-core-dump-in-minix3.html' title='An Approach to core dump in minix3'/><author><name>Gaurav Kumar</name><uri>http://www.blogger.com/profile/02130735784310318352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_GIQM2n_nQvs/S7MIPVKzgSI/AAAAAAAAABc/M0xtztgMw6o/S220/DSC00550.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6371999957535768539.post-2560868021191999426</id><published>2011-04-06T17:27:00.000-07:00</published><updated>2011-04-06T18:09:37.630-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GDB'/><title type='text'>Some Merits of GDB</title><content type='html'>There are some impressive features of GDB which I would like to point out :&lt;br /&gt;&lt;br /&gt;1. GDB targets a good range of processors which includes Alpha, ARM, AVR, H8/300, System/370, System 390, X86 and its 64-bit extension X86-64, IA-64 "Itanium", Motorola 68000, MIPS, PA-RISC, PowerPC, SuperH, SPARC, and VAX.&lt;br /&gt;&lt;br /&gt;2.GDB offers a remote mode.gdbserver can be used to remotely debug the program&lt;br /&gt;&lt;br /&gt;3.The file caching mechanism is embedded within BFD and allows the application to open as many BFDs as it wants without regard to the underlying operating system's file descriptor limit.&lt;br /&gt;&lt;br /&gt;Some features which I would like to have :&lt;br /&gt; &lt;br /&gt;Display of variable values in a tree structure by a single command.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6371999957535768539-2560868021191999426?l=gauravbits575.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gauravbits575.blogspot.com/feeds/2560868021191999426/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gauravbits575.blogspot.com/2011/04/some-merits-of-gdb.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/2560868021191999426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/2560868021191999426'/><link rel='alternate' type='text/html' href='http://gauravbits575.blogspot.com/2011/04/some-merits-of-gdb.html' title='Some Merits of GDB'/><author><name>Gaurav Kumar</name><uri>http://www.blogger.com/profile/02130735784310318352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_GIQM2n_nQvs/S7MIPVKzgSI/AAAAAAAAABc/M0xtztgMw6o/S220/DSC00550.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6371999957535768539.post-283303179659211505</id><published>2011-04-06T16:08:00.000-07:00</published><updated>2011-04-06T16:56:52.085-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GDB'/><category scheme='http://www.blogger.com/atom/ns#' term='CLI'/><title type='text'>Various Aspects of a GNU Debugger</title><content type='html'>This blog is intended to give a brief overview of GDB and some internal features. GDB is an interactive tool. GDB should be responsive to the user.&lt;br /&gt;&lt;br /&gt;GDB can do four main kinds of things (plus other things in support of these) to help you catch bugs in the act:&lt;br /&gt;&lt;br /&gt;    * Start your program, specifying anything that might affect its behavior.&lt;br /&gt;    * Make your program stop on specified conditions.&lt;br /&gt;    * Examine what has happened, when your program has stopped.&lt;br /&gt;    * Change things in your program, so you can experiment with correcting the effects     of one bug and go on to learn about another. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;GDB consists of three major subsystems:&lt;br /&gt;&lt;br /&gt;1. User interface: The user interface consists of several actual interfaces, plus supporting code.&lt;br /&gt;&lt;br /&gt;2. Symbol handling (the symbol side): The symbol side consists of object file readers, debugging info interpreters, symbol table management, source language expression parsing, type and value printing.&lt;br /&gt;&lt;br /&gt;3.Target system handling (the target side): The target side consists of execution control, stack frame analysis, and physical target manipulation. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;GDB uses a technique called prologue analysis to find frame sizes and saved registers. A prologue analyzer disassembles the function's machine code starting from its entry point, and looks for instructions that allocate frame space, save the stack pointer in a frame pointer register, save registers, and so on.&lt;br /&gt;&lt;br /&gt;Breakpoint Handling:&lt;br /&gt;Hardware breakpoints are sometimes available as a builtin debugging features with some chips. Typically these work by having dedicated register into which the breakpoint address may be stored. If the program counter ever matches a value in a breakpoint registers, the CPU raises an exception and reports it to gdb.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6371999957535768539-283303179659211505?l=gauravbits575.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gauravbits575.blogspot.com/feeds/283303179659211505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gauravbits575.blogspot.com/2011/04/various-aspects-of-gnu-debugger.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/283303179659211505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/283303179659211505'/><link rel='alternate' type='text/html' href='http://gauravbits575.blogspot.com/2011/04/various-aspects-of-gnu-debugger.html' title='Various Aspects of a GNU Debugger'/><author><name>Gaurav Kumar</name><uri>http://www.blogger.com/profile/02130735784310318352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_GIQM2n_nQvs/S7MIPVKzgSI/AAAAAAAAABc/M0xtztgMw6o/S220/DSC00550.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6371999957535768539.post-9041384989894875815</id><published>2011-03-21T02:58:00.000-07:00</published><updated>2011-03-21T04:00:54.532-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shadow'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='BITS'/><category scheme='http://www.blogger.com/atom/ns#' term='CLI'/><category scheme='http://www.blogger.com/atom/ns#' term='shell'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>password reset from shadow file in ubuntu 10.10</title><content type='html'>Hi,&lt;br /&gt;   Recently I was trying to write a script for changing password automatically for a user.I required something else for this but I found one similar script while searching  over Internet.While I was experimenting with this on my ubuntu 10.10 system, I did a terrible mistake.At the place of username, I put my main account username.Not only this,I used "pwgen" program to generate random password which was there in the script and I blindly used it.&lt;br /&gt;&lt;br /&gt;The script I used is below:-&lt;br /&gt;&lt;I&gt;&lt;br /&gt;touch pass.txt&lt;br /&gt;chmod 600 pass.txt&lt;br /&gt;&lt;br /&gt;# generate a nice secure password and put it in a file&lt;br /&gt;pwgen &gt; pass.txt&lt;br /&gt;&lt;br /&gt;# get the password hash&lt;br /&gt;ph=$(makepasswd --clearfrom=pass.txt --crypt-md5 |awk '{print $2}')&lt;br /&gt;&lt;br /&gt;# Set the password&lt;br /&gt;usermod -p $ph "username"&lt;br /&gt;&lt;/I&gt;&lt;br /&gt;&lt;br /&gt;Now, first time I used it using sudo, It asked for password.Now this script randomly generated a new passowrd and set for my account.Now, a new password was hashed in /etc/shadow file which I didn't know.Next time, when I used it again,it asked for password which was changed randomly.So,I could not give correct password.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now, I thought how would I login after next reboot.I asked someone who told me to use a live cd of ubuntu to change shadow file.In shadow file, password is stored encrypted corresponding to each username.Now, I was preparing for a back up.Still, I wasn't sure it will work.&lt;br /&gt;&lt;br /&gt;When I rebooted,something clicked in my mind.I booted in recovery mode.Then using root shell, I opened /etc/shadow file.Usually it opens in read-only mode.But since I was root that time, I removed the hash of my username.I removed everything that was there between first 2 colon(:). I did it only for my username and root.Hence, password was omitted.Now I reboot again and reset the password using passwd command and it didn't ask for current password.I didn't know that we could reset our password in recovery mode.&lt;br&gt;&lt;br /&gt;I knew that this similar method worked in ubuntu 8.04. But I thought they removed this as a bug.Now it worked for me.I can't decide if it is a good or bad thing.Since I changed my password in emergency,It is cool. But someone else can access my account by resetting my password.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6371999957535768539-9041384989894875815?l=gauravbits575.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gauravbits575.blogspot.com/feeds/9041384989894875815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gauravbits575.blogspot.com/2011/03/password-reset-from-shadow-file-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/9041384989894875815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/9041384989894875815'/><link rel='alternate' type='text/html' href='http://gauravbits575.blogspot.com/2011/03/password-reset-from-shadow-file-in.html' title='password reset from shadow file in ubuntu 10.10'/><author><name>Gaurav Kumar</name><uri>http://www.blogger.com/profile/02130735784310318352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_GIQM2n_nQvs/S7MIPVKzgSI/AAAAAAAAABc/M0xtztgMw6o/S220/DSC00550.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6371999957535768539.post-3524290852576003878</id><published>2010-11-22T15:20:00.000-08:00</published><updated>2010-11-22T16:23:57.837-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='college'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='BITS'/><category scheme='http://www.blogger.com/atom/ns#' term='facebook'/><category scheme='http://www.blogger.com/atom/ns#' term='facemash'/><title type='text'>facemash experience "the social network"</title><content type='html'>hello people,&lt;br /&gt;             I have been constantly watching and listening "The Social Network" since the time I first watched it.Awesome movie.very inspirational.Well,I too thought about writing facemash after watching this.But,I did not want to end up facing punishment like mark.So, I didn't try to insult anyone.Just experiment and wanted to refresh my php and mysql concepts.&lt;br /&gt;&lt;br /&gt;  &lt;br /&gt;                                                                       What we need is collection of some images.put it in a directory and provide its path in the code.for this example I will use "pics" as directory which has 7 images.Now write one php script to display 2 images randomly and let user click on any of this.Now,one more script to check which image was clicked and calculate the new rank of both image.I am sharing a piece of code here.&lt;br /&gt;&lt;br /&gt; require_once("sql.php"); //sql.php connects to the database.&lt;br /&gt;srand(time());&lt;br /&gt;$r1 = rand()%7;&lt;br /&gt;srand(time());&lt;br /&gt;$r2 = rand()%7 ;&lt;br /&gt;while($r1 == $r2)&lt;br /&gt;{&lt;br /&gt;srand(time()) ;&lt;br /&gt;$r2 = rand()%7 ;&lt;br /&gt;}&lt;br /&gt;$query1 = "SELECT * FROM pic WHERE picid = '$r1'";&lt;br /&gt;$result1 = mysql_query($query1);&lt;br /&gt;$row1 = mysql_fetch_array($result1);&lt;br /&gt;$query2 = "SELECT * FROM pic WHERE picid = '$r2'";&lt;br /&gt;$result2 = mysql_query($query2);&lt;br /&gt;$row2 = mysql_fetch_array($result2);&lt;br /&gt;$pic1 = $row1['pic'] ;&lt;br /&gt;$pic2 = $row2['pic'] ; &lt;br /&gt;&lt;br /&gt;give image with its link in the html part of the code  href='mash.php?id1=$r1&amp;id2=$r2' img src=pics/".$pic1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;href='mash.php?id1=$r2&amp;id2=$r1'img src=pics/".$pic2&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;now when this page redirects to mash.php,new rank of both images is calculated based on the algorithm you wanna use.here, we have defined 3 variables.'h' is no. of hit on the image,'d' no. of times the image has been displayed.'rank' shows point given to image.use get method to catch variables to update database containing no. of hits of an image.&lt;br /&gt;$id1 = $_GET['id1'];&lt;br /&gt;$id2 = $_GET['id2'];&lt;br /&gt;&lt;br /&gt;$query1 = "SELECT * FROM pic WHERE picid = '$id1'";&lt;br /&gt;$result1 = mysql_query($query1);&lt;br /&gt;$row1 = mysql_fetch_array($result1);&lt;br /&gt;$query2 = "SELECT * FROM pic WHERE picid = '$id2'";&lt;br /&gt;$result2 = mysql_query($query2);&lt;br /&gt;$row2 = mysql_fetch_array($result2);&lt;br /&gt;&lt;br /&gt;$h1 = $row1['h']+1; &lt;br /&gt;$d1 = $row1['d']+1;&lt;br /&gt;$rank1 = [algo to calculate new rank];&lt;br /&gt;&lt;br /&gt;$h2 = $row2['h']; // no. of hit remains same for the image not clicked.&lt;br /&gt;$d2 = $row2['d']+1;&lt;br /&gt;$rank2 = [algo to calculate new rank] ;&lt;br /&gt; &lt;br /&gt;$res1 = mysql_query("UPDATE pic SET h='$h1',d='$d1',rank='$rank1' WHERE picid='$id1' ") ;&lt;br /&gt;$res2 = mysql_query("UPDATE pic SET h='$h2',d='$d2',rank='$rank2' WHERE picid='$id2' ") ;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So,this was my experience.Worked without any problem.See ya.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6371999957535768539-3524290852576003878?l=gauravbits575.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gauravbits575.blogspot.com/feeds/3524290852576003878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gauravbits575.blogspot.com/2010/11/facemash-experience-social-network.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/3524290852576003878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/3524290852576003878'/><link rel='alternate' type='text/html' href='http://gauravbits575.blogspot.com/2010/11/facemash-experience-social-network.html' title='facemash experience &quot;the social network&quot;'/><author><name>Gaurav Kumar</name><uri>http://www.blogger.com/profile/02130735784310318352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_GIQM2n_nQvs/S7MIPVKzgSI/AAAAAAAAABc/M0xtztgMw6o/S220/DSC00550.JPG'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6371999957535768539.post-2799665746359559045</id><published>2010-09-02T10:12:00.000-07:00</published><updated>2010-09-02T10:53:24.026-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='lucid lynx'/><category scheme='http://www.blogger.com/atom/ns#' term='kernel'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>UNSUCCESSFUL UBUNTU KERNEL UPGRADE TO 2.6.32-24</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_GIQM2n_nQvs/TH_gpspdbwI/AAAAAAAAACs/fMR08ABsSpA/s1600/DSC00835.JPG"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://1.bp.blogspot.com/_GIQM2n_nQvs/TH_gpspdbwI/AAAAAAAAACs/fMR08ABsSpA/s400/DSC00835.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5512371475889090306" /&gt;&lt;/a&gt;&lt;br /&gt;Hi all,&lt;br /&gt;       Just a month before 10.10 release,ubuntu 10.04 has created a problem for me.This post is more like a problem statement because I haven't figured out the solution yet.Last night I was upgrading my kernel to 2.6.32-24.After that my network manager was not running.I thought something was wrong with upgrade.So I rebooted and was shocked when I saw the grub menu.Previously, Grub menu used to show kernel versions 2.6.32-21, 2.6.32-22, 2.6.32-23 and their recovery options.Out of that 2.6.32-23 could not be used to boot.So,I used to boot through 22.But now,I could see only 23 and my system did not boot.when i tried to edit this option(generic kernel 2.6.32-23 in grub menu screen), I got first line as recordfail as shown in above image.&lt;br /&gt;&lt;br /&gt;Then I tried to search on internet but found nothing important.Tried live cd of ubuntu 9.04 and tried to reinstall kernel.tried "sudo update-grub" and also grub-pc.Then checked /usr/src of 10.04 where I saw all previous kernel images along with 2.6.32-24.Now it looks like latest kernel couldn't be written but previous images were removed and only remained kernel is corrupt.So,I am not able to boot into ubuntu. Right now only solution is to reinstall 10.04.hoping a better solution from someone.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6371999957535768539-2799665746359559045?l=gauravbits575.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gauravbits575.blogspot.com/feeds/2799665746359559045/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gauravbits575.blogspot.com/2010/09/unsuccessful-ubuntu-kernel-upgrade-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/2799665746359559045'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/2799665746359559045'/><link rel='alternate' type='text/html' href='http://gauravbits575.blogspot.com/2010/09/unsuccessful-ubuntu-kernel-upgrade-to.html' title='UNSUCCESSFUL UBUNTU KERNEL UPGRADE TO 2.6.32-24'/><author><name>Gaurav Kumar</name><uri>http://www.blogger.com/profile/02130735784310318352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_GIQM2n_nQvs/S7MIPVKzgSI/AAAAAAAAABc/M0xtztgMw6o/S220/DSC00550.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_GIQM2n_nQvs/TH_gpspdbwI/AAAAAAAAACs/fMR08ABsSpA/s72-c/DSC00835.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6371999957535768539.post-6260194108448085693</id><published>2010-05-30T15:25:00.000-07:00</published><updated>2010-05-30T16:05:41.289-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='internship'/><category scheme='http://www.blogger.com/atom/ns#' term='college'/><category scheme='http://www.blogger.com/atom/ns#' term='BITS'/><category scheme='http://www.blogger.com/atom/ns#' term='corruption'/><title type='text'>Summer Internship :First week</title><content type='html'>hi all,&lt;br /&gt;       Right now I am at nagda(M.P.) for my internship at GRASIM chemicals.It's been a week and I am enjoying it completely.We are a group of 10 students in chemical division.Normally we go to the plant and visit different manufacturing sites.Due to strict discipline, we wear a helmet which we try to put on and off enormous times.Since I came here,1st thing I was looking for was internet connection but didn't find much options at such a place.After so much analysis, we thought to use GPRS connection.I recharged my airtel sim for unlimited plan.But now I have realized that it is in roaming, so it's slower than i had expected.&lt;br /&gt;&lt;br /&gt;                                           Finally we have 2 connections and 6 students in our group.So, we are always experimenting with creating shared connections.Sometimes we use LAN wire to connect.Sometimes,we create wireless ad-hoc and sometimes create proxy server(using &lt;a href="http://en.wikipedia.org/wiki/Privoxy"&gt;privoxy&lt;/a&gt;).Till now we are having fun.Yesterday we went to ujjain to visit famous "Mahakaleshwar" temple.There we had a funny incident.When we bought the tickets for returning,the train started taking off.We entered into different class due to rush and ended up paying fine for that.Actually it wasn't fine,it was bribe.We were in no position to negotiate ,so we paid the money.We didn't get the receipt but paid less money and became the integral part of corruption.Although we had done no mistake considering the situation.&lt;br /&gt;anyway that was a lesson for all of us.Now we have 50 days more to live at this place.Hope to spend it nicely.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6371999957535768539-6260194108448085693?l=gauravbits575.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gauravbits575.blogspot.com/feeds/6260194108448085693/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gauravbits575.blogspot.com/2010/05/summer-internship-first-week.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/6260194108448085693'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/6260194108448085693'/><link rel='alternate' type='text/html' href='http://gauravbits575.blogspot.com/2010/05/summer-internship-first-week.html' title='Summer Internship :First week'/><author><name>Gaurav Kumar</name><uri>http://www.blogger.com/profile/02130735784310318352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_GIQM2n_nQvs/S7MIPVKzgSI/AAAAAAAAABc/M0xtztgMw6o/S220/DSC00550.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6371999957535768539.post-2297249556231622263</id><published>2010-05-03T03:48:00.001-07:00</published><updated>2010-05-03T04:33:08.515-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='broken dependency'/><category scheme='http://www.blogger.com/atom/ns#' term='college'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='lucid lynx'/><category scheme='http://www.blogger.com/atom/ns#' term='BITS'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Download speed through apt-cacher and dependency problem with downloading so many packages at a time</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_GIQM2n_nQvs/S96tG6YixGI/AAAAAAAAACE/qkq3WXvq7gM/s1600/Screenshot-1.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 400px; height: 225px;" src="http://2.bp.blogspot.com/_GIQM2n_nQvs/S96tG6YixGI/AAAAAAAAACE/qkq3WXvq7gM/s400/Screenshot-1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5466997331937379426" /&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;hi,&lt;br /&gt;   I am not able to stop experimenting with ubuntu lucid lynx the time I installed it.With the apt-cacher,it's easy to download all the packages that you like.So,I was there with synaptic package manager and kept on selecting large number of packages.Finally I got a collection of 148 packages with 220 MB size.When I started to download,I saw variation of speed which is very common but I would like to point it out by some snap-shots.&lt;br /&gt;1st picture shows the usual speed of download through apt-cacher which is 347 KB/s.2nd one shows unusual high speed 2843 KB/s.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_GIQM2n_nQvs/S96t2t7TMpI/AAAAAAAAACM/iLXwZk3w_2E/s1600/Screenshot-2.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 400px; height: 225px;" src="http://2.bp.blogspot.com/_GIQM2n_nQvs/S96t2t7TMpI/AAAAAAAAACM/iLXwZk3w_2E/s400/Screenshot-2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5466998153227219602" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;But sometime we suffer low speed also.Just like this.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_GIQM2n_nQvs/S96ui1fgEJI/AAAAAAAAACU/JQLqCwS7iBU/s1600/Screenshot-6.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 225px;" src="http://4.bp.blogspot.com/_GIQM2n_nQvs/S96ui1fgEJI/AAAAAAAAACU/JQLqCwS7iBU/s400/Screenshot-6.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5466998911172350098" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;                    Now,apart from speed,there is one more thing that I would like to share.Since I selected a lot of packages and started downloading all,I got some installation problem.All the packages were downloaded but couldn't be installed properly.Very less packages were installed because of dependency problem.No idea how did it happen.Probably,when there is a huge number of packages ,some of them might have dependency due to others files in the download list.So,in my view,large number of packages should not be installed at a time. &lt;br /&gt;&lt;br /&gt;By the way, I sent these dependencies report to developers officially.Here is one screen-shot which explains it.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_GIQM2n_nQvs/S96zPl6NGlI/AAAAAAAAACc/6xPgBFQId2E/s1600/Screenshot-7.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 225px;" src="http://4.bp.blogspot.com/_GIQM2n_nQvs/S96zPl6NGlI/AAAAAAAAACc/6xPgBFQId2E/s400/Screenshot-7.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5467004078130010706" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Conclusion :- try installing less number of packages at a time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6371999957535768539-2297249556231622263?l=gauravbits575.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gauravbits575.blogspot.com/feeds/2297249556231622263/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gauravbits575.blogspot.com/2010/05/download-speed-through-apt-cacher-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/2297249556231622263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/2297249556231622263'/><link rel='alternate' type='text/html' href='http://gauravbits575.blogspot.com/2010/05/download-speed-through-apt-cacher-and.html' title='Download speed through apt-cacher and dependency problem with downloading so many packages at a time'/><author><name>Gaurav Kumar</name><uri>http://www.blogger.com/profile/02130735784310318352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_GIQM2n_nQvs/S7MIPVKzgSI/AAAAAAAAABc/M0xtztgMw6o/S220/DSC00550.JPG'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_GIQM2n_nQvs/S96tG6YixGI/AAAAAAAAACE/qkq3WXvq7gM/s72-c/Screenshot-1.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6371999957535768539.post-2109406407361051896</id><published>2010-05-01T16:04:00.000-07:00</published><updated>2010-05-01T16:16:46.481-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='college'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='lucid lynx'/><category scheme='http://www.blogger.com/atom/ns#' term='BITS'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>performance review of ubuntu 10.04 lucid lynx</title><content type='html'>hello friends,&lt;br /&gt;Ubuntu launched its Final release of lucid lynx 10.04 just 2 days before and I couldn't stop trying it as soon as I could.Reason is not that I was waiting eagerly for its final release.Real reason is that I had done some mistake in hard disk partition while installing slackware which caused me loss of linuxmint which I was using for a very long time.So, finally I thought to try fresh and final release of 10.04.&lt;br /&gt;                 oh boy,What an OS.Surprisingly it can be called as the perfect OS.Lookwise,it has got better.Also,the most exciting feature is its boot time.Amazing boot time must have impressed everyone.Shutdown time is also faster.This has got attention of some people who are claiming that skipping disk check can also reduce boot time.Anyway,I don't want to create any controversy here.&lt;br /&gt;Talking about look,It gives a sight of mac.The minimize, maximize and close buttons of window is on the left side which gives you feeling of working on mac.Anyway that feature was available previously also but not as default(a package "mac4lin" changes the look in that manner).New Gwibber social client is also very exciting.Gwibber can be configured to broadcast status on facebook,twitter etc. and to see other's status.&lt;br /&gt;                        Recently "ubuntu tweak" became my latest crush as It has got nice and sexy packages which synaptic package manager didn't let me try directly.visit &lt;a href="http://ubuntu-tweak.com"&gt;ubuntu-tweak.com&lt;/a&gt; for more info about tweak.As I am in a university which does not provide with a superfast internet connection but allows downloading packages with apt-cacher,I couldn't stop downloading all the packages which caught my attention.Well,It's definitely wastage of resource.&lt;br /&gt;In final words,ubuntu 10.04 is just lovable and awesome and great experience so far.Don't know how soon the bugs will come out.Till then,enjoy lucid lynx.Happy open source.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6371999957535768539-2109406407361051896?l=gauravbits575.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gauravbits575.blogspot.com/feeds/2109406407361051896/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gauravbits575.blogspot.com/2010/05/performance-review-of-ubuntu-1004-lucid.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/2109406407361051896'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/2109406407361051896'/><link rel='alternate' type='text/html' href='http://gauravbits575.blogspot.com/2010/05/performance-review-of-ubuntu-1004-lucid.html' title='performance review of ubuntu 10.04 lucid lynx'/><author><name>Gaurav Kumar</name><uri>http://www.blogger.com/profile/02130735784310318352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_GIQM2n_nQvs/S7MIPVKzgSI/AAAAAAAAABc/M0xtztgMw6o/S220/DSC00550.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6371999957535768539.post-1806831895186465947</id><published>2010-04-10T12:26:00.000-07:00</published><updated>2010-04-10T12:47:23.805-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PGP'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='encryption'/><category scheme='http://www.blogger.com/atom/ns#' term='CLI'/><category scheme='http://www.blogger.com/atom/ns#' term='shell'/><category scheme='http://www.blogger.com/atom/ns#' term='GPG'/><title type='text'>GPG public key</title><content type='html'>Hi,&lt;br /&gt;   As I was searching why my gpg public key is not working,I suddenly found answer.Actually gpg public key contains some extra words also which I neglected.public key can be viewed in terminal by typing : &lt;br /&gt;&lt;br /&gt;&lt;i&gt; gpg --armor --export [your public key id] &lt;/i&gt; &lt;br /&gt;&lt;br /&gt;Now complete output is the public gpg key including "-----BEGIN PGP PUBLIC KEY BLOCK-----" and "-----END PGP PUBLIC KEY BLOCK-----".Initially I was taking only middle part.One more thing public key requires public key id which can be viewed by typing "gpg --list-keys". The pub part shows id.This command displays whole list of keys.So, if someone has made more than one key pairs,then it is useful to see which public key is for which public key id.As I successfully generated my public key, I am going to share it. It is right below :-&lt;br /&gt;&lt;br /&gt;-----BEGIN PGP PUBLIC KEY BLOCK-----&lt;br /&gt;Version: GnuPG v1.4.9 (GNU/Linux)&lt;br /&gt;&lt;br /&gt;mQGiBEu+azsRBACGVGTbi3GHDKa8rkzOWP8lQYg0omH6mU5tIHe+0fLiTMRzbr1o&lt;br /&gt;/lTT2w+GksRhziWL03+zTc36R/gNAPJvp8djhaeDpYD0DCh1JuFNLPAZWVMQ1TJf&lt;br /&gt;INgQ59KoBr/sWHWa0DXTFoTK1o/0wLsUioH54nN4rfxsPQgKMA5f/FYEzwCgitK5&lt;br /&gt;WeQWsm8RMkZURaROcq7kHE0D/0GsXazBA0n+iQFVbbjblOpzs0/nvJfnEWKEbyCv&lt;br /&gt;e9NUrbNqvttA501uy+VeIlMIbVzIOHAMeIpgWMT+z6vVYcBmKrZGCRv0i9gBzrd/&lt;br /&gt;8HVWbVrZDwz7Mk076f/1wo5iLv9OP657O6i3B4F/1fiBmJubTQkXgL5nKwu1iQvj&lt;br /&gt;wTfDBACAcLMha0rBLji4l3MCHpwYVb/vCs1OsGWmDlRElkST6zqv8bg9/O2AZqgE&lt;br /&gt;fewe8ZqcYyRMlElsoqXlL0z+JZykCp4QUGwajB/oWCdecFK09uOU518Os90wLjro&lt;br /&gt;LvAZmebkmoR2gsy3J9QBar7Lp63Y1AfxZGiCQU9/a5+0OIGCbrQ6Z2F1cmF2IGt1&lt;br /&gt;bWFyIHlhZGF2IChlbmNyeXB0aW9uKSA8Z2F1cmF2a3VtYXI1NTJAZ21haWwuY29t&lt;br /&gt;PohgBBMRAgAgBQJLvms7AhsDBgsJCAcDAgQVAggDBBYCAwECHgECF4AACgkQdFo6&lt;br /&gt;7FlOrR11+gCbBsVq1jpmwo1JE10bcO5UEWySlRkAn0JuAhWtePIR8pK14NasjSNO&lt;br /&gt;xDg8uQINBEu+azsQCACLKpR8orOIiaooO+fI2IEVFL8Qb+s/9/dfx/asMoBB2bAS&lt;br /&gt;IhpNt6N65a3MtMhDeIZcfafwtpgjxJAuxp1iwWpbEyj2vDWcZ5xpnf3N3hrb8wm9&lt;br /&gt;eBpGnGj7ugETBgNZ/G3aQJsljv6Ze+Ys83wQ20mdXTTIg3Yc/bzlohE0Itl3JgMW&lt;br /&gt;BioI13pxXcWgxcPMBBeeoL0bBGCQOhjCTckjVjoJTrHxXvxqembTeUQ8wG6tnLj7&lt;br /&gt;HIMOtKp9usF83H0qvDhiYjGJ7xI5KplJXyEw9+T1afrHY7KcggMmwOdHvuTrKI62&lt;br /&gt;XIpX3eVFu7zDh5cA7tMtbErSpSZxhskPNPYpQYKzAAMFCACCUEAJHO9FHL9zq7fR&lt;br /&gt;GNcx5o4TaNsplBpq42zFnd14pq1ftxr5SfUVn6ciPVkGnj9v5LVOxib0SJCgcDCw&lt;br /&gt;mGkQ5SmD3XCq/KDqjSlFYacLJOIH/sKMWmkLrF7Nv5o0VrQbSdzPCCWCbNsiFoad&lt;br /&gt;Zb5bGXtOrg2nLj6uIUe5ZM3EUJr/iMFRhZ9Xk4ETTsqyD95yfdM8y+Djnri3bdTg&lt;br /&gt;eL3QriiZu3k0CJGcBu/lYWcVR7wseIUa7LYsLuGhzH3zyFuZHw8NqUls4H7UQel1&lt;br /&gt;dMut5SGo6Ksn0n9UwyKzUe+Eir49efX+gMivn+ttupOZ2t7OcCH6IaCr0Y6E1Iz6&lt;br /&gt;BCveiEkEGBECAAkFAku+azsCGwwACgkQdFo67FlOrR0zFACfdSLkUkkvO++A6XyH&lt;br /&gt;2ItqsnYVgCQAn0iB1mZ1eI7xuUyR6y+teREIc4Bf&lt;br /&gt;=+Uo3&lt;br /&gt;&lt;br /&gt;-----END PGP PUBLIC KEY BLOCK-----&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;And Now I am working on sending a mail with encryption by my private key.Hope,It works.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6371999957535768539-1806831895186465947?l=gauravbits575.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gauravbits575.blogspot.com/feeds/1806831895186465947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gauravbits575.blogspot.com/2010/04/gpg-public-key.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/1806831895186465947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/1806831895186465947'/><link rel='alternate' type='text/html' href='http://gauravbits575.blogspot.com/2010/04/gpg-public-key.html' title='GPG public key'/><author><name>Gaurav Kumar</name><uri>http://www.blogger.com/profile/02130735784310318352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_GIQM2n_nQvs/S7MIPVKzgSI/AAAAAAAAABc/M0xtztgMw6o/S220/DSC00550.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6371999957535768539.post-7301834193716436126</id><published>2010-04-08T13:49:00.000-07:00</published><updated>2010-04-08T19:18:14.097-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='PGP'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='encryption'/><category scheme='http://www.blogger.com/atom/ns#' term='CLI'/><category scheme='http://www.blogger.com/atom/ns#' term='GPG'/><title type='text'>GPG encryption</title><content type='html'>recently I came to know about GPG encryption.It means Gnu Privacy Guard.GPG is a command line tool with features for easy integration with other applications also.GPG is mostly used for secure communication and storing data in encrypted form.There are other uses also which I am not discussing right now.&lt;br /&gt;&lt;br /&gt;Actually when I was filling a form for account in a site,I was asked for pgp/gpg public key and then I started wandering around to search for it.It is open source and mostly used in command line which I like.There is a windows version of it also.There are so many online pages with uncountable words for its description that I got confused sometime.But finally I figured out the theory behind it.It is like this.&lt;br /&gt;&lt;br /&gt;There are 2 type of keys generated by gpg.One is public and another is private.Public keys can be distributed to your friends and published anywhere.With public gpg keys someone can encrypt the message and send it to you.Now, to decrypt it we need the private key which is only with you.So this way emails can be securely sent.Even if somebody sniffs the mail in the middle,It will be secure because the attacker will not have the private key to decrypt it.To create your own key pair just type &lt;i&gt;gpg --gen-key&lt;/i&gt; in command line and follow rest instruction(You will mostly choose default values).This way you can export your public keys.But unfortunately my public keys are not working for no reason.I am still looking for answer.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;But I did use gpg encryption to my file which is very easy to use and fun to watch.I am going to show what exactly I did.In the terminal just make a simple file. e.g&lt;br /&gt;&lt;br /&gt;&lt;b&gt;$&lt;/b&gt; echo "my first encryption" &gt;gen &lt;i&gt;hit enter &lt;/i&gt; &lt;br /&gt;&lt;br /&gt;&lt;b&gt;$&lt;/b&gt; gpg -e gen &lt;i&gt;it will ask for user ID,use your own user ID &lt;/i&gt;&lt;br /&gt;&lt;br /&gt;And done! Now hit terminal with ls command and see that there is another file named gen.gpg which is encrypted.Now If  you deleted old file named gen then the content can only be viewed by opening gen.gpg which needs password.To decrypt it,put &lt;i&gt;gpg -d gen.gpg&lt;/i&gt; in command line and hit enter.Now it will ask for the passphrase which is confidential and it makes the file secure.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6371999957535768539-7301834193716436126?l=gauravbits575.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gauravbits575.blogspot.com/feeds/7301834193716436126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gauravbits575.blogspot.com/2010/04/gpg-encryption.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/7301834193716436126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/7301834193716436126'/><link rel='alternate' type='text/html' href='http://gauravbits575.blogspot.com/2010/04/gpg-encryption.html' title='GPG encryption'/><author><name>Gaurav Kumar</name><uri>http://www.blogger.com/profile/02130735784310318352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_GIQM2n_nQvs/S7MIPVKzgSI/AAAAAAAAABc/M0xtztgMw6o/S220/DSC00550.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6371999957535768539.post-37221914629242041</id><published>2010-03-27T06:41:00.000-07:00</published><updated>2010-04-06T17:16:19.275-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='disk'/><category scheme='http://www.blogger.com/atom/ns#' term='portable'/><category scheme='http://www.blogger.com/atom/ns#' term='external'/><category scheme='http://www.blogger.com/atom/ns#' term='drive'/><category scheme='http://www.blogger.com/atom/ns#' term='hard'/><title type='text'>external hard disk drive</title><content type='html'>hello there,&lt;br /&gt;            I recently bought an external hard disk drive of 1TB. great experience till now.It is of 3.5" and so definitely not portable and also requires external power supply.I just roamed around every shop at nehru place(great place for electronics goods in India).Finally I compared brand value and prices of mainly 3-4 companies like WD,seagate,Iomega etc.Finally WD was my choice.same product was available in 2 different packages.One with external power supply and another with USB power supply.price for USB power supply was almost double.so I preferred to take the one with external power supply.With this I got 2 years of on site warranty which I do not think I will need.Today is saturday and customer care center is open from monday to friday only.So I will have to register my product on monday in order to get warranty of 2 years and free telephone service of 30 days.&lt;br /&gt;&lt;br /&gt;                                                              At last,great product to use and one more thing.you do not get 1024 GB by buying 1TB hard drive. you get only 930 GB if you calculate. Multiply (1000/1024)^4 with 1024.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6371999957535768539-37221914629242041?l=gauravbits575.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gauravbits575.blogspot.com/feeds/37221914629242041/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gauravbits575.blogspot.com/2010/03/external-hard-drive-drive.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/37221914629242041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/37221914629242041'/><link rel='alternate' type='text/html' href='http://gauravbits575.blogspot.com/2010/03/external-hard-drive-drive.html' title='external hard disk drive'/><author><name>Gaurav Kumar</name><uri>http://www.blogger.com/profile/02130735784310318352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_GIQM2n_nQvs/S7MIPVKzgSI/AAAAAAAAABc/M0xtztgMw6o/S220/DSC00550.JPG'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6371999957535768539.post-942372756039052861</id><published>2010-01-20T02:31:00.000-08:00</published><updated>2010-01-20T03:05:00.176-08:00</updated><title type='text'>SEARCH ENGINE</title><content type='html'>hi friends,&lt;br /&gt;           what comes to your mind when you want to surf a website and you don't know its address?Without even thinking your answer would be &lt;a href="http://google.com"&gt;google&lt;/a&gt; . Google is so common that most people keep it as homepage.Imagine google server crashes and you need to search something important immediately.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;just to be safe,we should know about other search engines also.every search engines use different algorithm.Sometimes it's fun to search same keywords in different search engines and see what is the difference in result.so, there are many reasons to try different search engines.I have tried this many times.so, I am providing here the links in case you want to try.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.guruji.com"&gt;guruji&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.ask.com"&gt;ask&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.bing.com"&gt;bing&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.altavista.com"&gt;altavista&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.lycos.com"&gt;lycos&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;this is all for now...&lt;br /&gt;bye..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6371999957535768539-942372756039052861?l=gauravbits575.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gauravbits575.blogspot.com/feeds/942372756039052861/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gauravbits575.blogspot.com/2010/01/search-engine.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/942372756039052861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/942372756039052861'/><link rel='alternate' type='text/html' href='http://gauravbits575.blogspot.com/2010/01/search-engine.html' title='SEARCH ENGINE'/><author><name>Gaurav Kumar</name><uri>http://www.blogger.com/profile/02130735784310318352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_GIQM2n_nQvs/S7MIPVKzgSI/AAAAAAAAABc/M0xtztgMw6o/S220/DSC00550.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6371999957535768539.post-2225388652004261364</id><published>2009-11-11T08:25:00.000-08:00</published><updated>2009-11-11T08:57:31.064-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>ubuntu 9.10 karmic koala performance on Deepak's Laptop</title><content type='html'>hello friends,&lt;br /&gt;              today i saw the performance of ubuntu 9.10(karmic koala).I didn't install it but my friend did in front of me.He had ubuntu 9.04 installed, so he tried to upgrade to 9.10 instead of installing.So, he made bootable USB of alternate disk.But, sadly we couldn't upgrade it.instead,we had installed 9.10 into separate partition. now he had 3 OS. &lt;br /&gt; Finally we started testing it.First we tried to use pidgin client which wasn't there and we saw empathy.Empathy has become default IM client now in ubuntu.Still we downloaded pidgin and run.well, empathy is good change, i must say.Next we tried DC client and it was okay okay.And then accidently we removed open office for which he was blaming me. But I was only trying to install vlc. &lt;br /&gt;Most of the things are same and it is showing different performance on different laptops.on acer laptop,my one friend could not use it and on dell studio it has graphics problem.Browsing is as fast as usual.one more new thing that i saw was,it asked for internet connection settings before installation  which was optional. Rest,everything was good but not  much impressive.I still think linuxmint is better option.May be, i should wait for sometime to be more sure.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6371999957535768539-2225388652004261364?l=gauravbits575.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gauravbits575.blogspot.com/feeds/2225388652004261364/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gauravbits575.blogspot.com/2009/11/ubuntu-910-karmic-koala-performance-on.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/2225388652004261364'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/2225388652004261364'/><link rel='alternate' type='text/html' href='http://gauravbits575.blogspot.com/2009/11/ubuntu-910-karmic-koala-performance-on.html' title='ubuntu 9.10 karmic koala performance on Deepak&apos;s Laptop'/><author><name>Gaurav Kumar</name><uri>http://www.blogger.com/profile/02130735784310318352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_GIQM2n_nQvs/S7MIPVKzgSI/AAAAAAAAABc/M0xtztgMw6o/S220/DSC00550.JPG'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6371999957535768539.post-9169048730285487779</id><published>2009-11-04T21:32:00.001-08:00</published><updated>2009-11-04T22:09:00.410-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='mint'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>linux mint experience</title><content type='html'>hello friends, &lt;br /&gt;&lt;br /&gt;              i recently tried windows7 RC version and ubuntu 9.04 jaunty.previously i had windows vista and ubuntu 8.10.So i thought to upgrade ubuntu as i liked it so much.on the other hand,vista compelled me to replace it.so i switched to windows7.definitely it was faster than vista but certainly not stable enough to impress.well, i am not professional in this field to judge accurately but i am interested in trying different and new and efficient products.&lt;br /&gt; It is just a week ago that ubuntu has released its 9.10 karmic alpha version.So, my friends have downloaded it and some have started using this while i am still waiting for its stable version.Last night when i thought to try a new distro of linux, I tried to surf our college website &lt;b&gt;bitsfoss&lt;/b&gt; which is a repository of open source stuffs.I downloaded linux mint 7 gloria.I put this in USB and made it bootable through ubuntu's cool application "start up disk".&lt;br /&gt;&lt;br /&gt;Finally I used mint as live cd and it was awesome.I just loved it.the display is undoubtedly better than ubuntu.since i have just tried it,i can't say more. But if anybody is really interested,one can visit &lt;a href="http://www.linuxmint.com/download.php"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Now that ubuntu has released its alpha3 of karmic koala, I am excited to compare with it.But first I should wait for its final release.&lt;br /&gt;&lt;br /&gt;if anybody reads it, i would ask them to vote for either mint7 or ubuntu9.10 in comment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6371999957535768539-9169048730285487779?l=gauravbits575.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gauravbits575.blogspot.com/feeds/9169048730285487779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gauravbits575.blogspot.com/2009/11/linux-mint-experience.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/9169048730285487779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/9169048730285487779'/><link rel='alternate' type='text/html' href='http://gauravbits575.blogspot.com/2009/11/linux-mint-experience.html' title='linux mint experience'/><author><name>Gaurav Kumar</name><uri>http://www.blogger.com/profile/02130735784310318352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_GIQM2n_nQvs/S7MIPVKzgSI/AAAAAAAAABc/M0xtztgMw6o/S220/DSC00550.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6371999957535768539.post-1195797398357881183</id><published>2009-08-15T09:21:00.000-07:00</published><updated>2009-08-15T10:10:40.853-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='social service'/><category scheme='http://www.blogger.com/atom/ns#' term='nirmaan'/><title type='text'>social service with nirmaan</title><content type='html'>hello everybody,&lt;br /&gt;today is an unforgettable day for me.today I joined "NIRMAAN CLUB".it is a club that serves for non-profit cause.it helps the society to improve with the little individual efforts of our club.I am in 2nd year right now.Last year I missed to join it.But this time the recruitment process was different.We had to go through GD(group discussion) and PI (personal interview). well,this is not as organized and difficult as in IIM(Indian institute of management) but definitely it is a good recruitment process.&lt;br&gt; &lt;br /&gt;well,I got a message in the morning that I am a part of it and I can join the meeting today.I went there and we were told to assemble in afternoon to visit a village near our campus.It was about a survey in which we had to go houses of village in groups of 3 people. we had to know about the basic problems of village and their source of income.It was my first time and I was quite excited.&lt;br /&gt;&lt;br&gt;&lt;br /&gt;finally we reached there and as soon as we started asking villagers we saw the their problems.I had seen almost same problems in my village also.But listening their problems was a different experience. I saw that many parents wanted to send their children school but they could not afford the fee. Also there was not any government school above 5th grade.I really felt that we should do something for it.At least I am ready.But I have not figured out what and how I should do it.&lt;br&gt;&lt;br /&gt;today is 15th august.its our independence day.but I saw that children were not independent.But this is my first day in "nirmaan". I have time to think.well, nirmaan is not just this. for more about it visit &lt;a href="http://www.nirmaan.org"&gt;nirmaan official site&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6371999957535768539-1195797398357881183?l=gauravbits575.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gauravbits575.blogspot.com/feeds/1195797398357881183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gauravbits575.blogspot.com/2009/08/social-service-with-nirmaan.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/1195797398357881183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/1195797398357881183'/><link rel='alternate' type='text/html' href='http://gauravbits575.blogspot.com/2009/08/social-service-with-nirmaan.html' title='social service with nirmaan'/><author><name>Gaurav Kumar</name><uri>http://www.blogger.com/profile/02130735784310318352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_GIQM2n_nQvs/S7MIPVKzgSI/AAAAAAAAABc/M0xtztgMw6o/S220/DSC00550.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6371999957535768539.post-4521687705179807587</id><published>2009-07-23T07:29:00.000-07:00</published><updated>2009-07-23T10:31:04.162-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='symbolic link'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='BITS'/><category scheme='http://www.blogger.com/atom/ns#' term='shell'/><title type='text'>symbolic link(linux) Virus Incident</title><content type='html'>hello friends,&lt;br /&gt;              today I would like to discuss a very simple topic related to linux and how it bothered me.recently I was working with linux trying to learn "symbolic links".Symbolic link is a special file which points to another file in the system.it is similar to shortcut in windows.&lt;br&gt;&lt;br /&gt;                                if you give the command &lt;b&gt;ls -l&lt;/b&gt; in your terminal then you can view link files.if output starts with &lt;b&gt;l&lt;/b&gt; then it's symbolic link.now,to create a symbolic link we have to use "ln" command with -s option."ln" is for link and "-s" is for symbolic option.syntex is like this &lt;i&gt; ln -s source destination&lt;/i&gt;. &lt;br&gt;&lt;br /&gt;                                  now, source means the path of file or directory where it originally is. and destination means the path where you want the link to be.you have to specify the name of link and this should not exist in system otherwise it will give error.&lt;br&gt;&lt;br /&gt;                               But I did something which I forgot later.I made a symbolic link by typing this &lt;b&gt;ln -s /home/gaurav /home/gaurav/h&lt;/b&gt;. since every file of linux was in "gaurav" folder ,when i went in "h" folder inside "gaurav",i found all the files again in this folder  including "h".when i again double-clicked "h" it took me to same folder which contained all files including "h".I didn't remember about symbolic links and instantly I was worried that there is some virus in my system.I had heard earlier that there is a virus which creates a folder in each folder including itself.&lt;br&gt;&lt;br /&gt;after some days when I opened shell and typed ls -l, I found "h" showing l which means it's a link only.then i was relieved and deleted this. then I typed  &lt;i&gt; ln -s /home/gaurav/videos/jal.mp4 /home/gaurav/Desktop/jal&lt;/i&gt;. by this I am able to view this video directly through desktop. I need not go anywhere.and this is done without copying the video or without "cut and paste" from its original destination.&lt;br&gt;&lt;br /&gt;this was a new thing for me.so, I thought it would be good to share this.May be someone new  like me would get help from this.But , if you are master of shell, you may laugh at me.&lt;br /&gt;&lt;br&gt;&lt;br /&gt;thanks everybody to read this post.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6371999957535768539-4521687705179807587?l=gauravbits575.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gauravbits575.blogspot.com/feeds/4521687705179807587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gauravbits575.blogspot.com/2009/07/symbolic-linklinux-virus-incident.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/4521687705179807587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/4521687705179807587'/><link rel='alternate' type='text/html' href='http://gauravbits575.blogspot.com/2009/07/symbolic-linklinux-virus-incident.html' title='symbolic link(linux) Virus Incident'/><author><name>Gaurav Kumar</name><uri>http://www.blogger.com/profile/02130735784310318352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_GIQM2n_nQvs/S7MIPVKzgSI/AAAAAAAAABc/M0xtztgMw6o/S220/DSC00550.JPG'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6371999957535768539.post-4564482078511697176</id><published>2009-07-21T07:17:00.000-07:00</published><updated>2009-07-21T07:53:09.374-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='college'/><category scheme='http://www.blogger.com/atom/ns#' term='holiday'/><title type='text'>LAST WEEK BEFORE COLLEGE STARTS</title><content type='html'>Hello everybody&lt;br&gt;&lt;br /&gt;                Today I am trying to do something since morning but couldn't find anything interesting enough.This is the effect of 2&amp;1/2 months holiday.this is the last week before college is going to  open for 3rd semester.finally holiday will finish.Again, college routine will start.&lt;br /&gt;Well,in this holiday I read a novel "the shadow lines" by Amitav ghosh.this is about India and Bangladesh division.Very sentimental. I am currently reading "the goal"."The Goal" is truely awesome.I have not finished it yet but till now it's very interesting.hope to finish it before holiday ends as I have to return it to its owner.&lt;br&gt;&lt;br /&gt;                                                                       hope this week will pass very soon as I feel like college is calling me .well, this post is all about my holiday. Currently i am doing some experiment with linux shell script. Hope next post will be technical.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6371999957535768539-4564482078511697176?l=gauravbits575.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gauravbits575.blogspot.com/feeds/4564482078511697176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gauravbits575.blogspot.com/2009/07/last-week-before-college-starts.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/4564482078511697176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/4564482078511697176'/><link rel='alternate' type='text/html' href='http://gauravbits575.blogspot.com/2009/07/last-week-before-college-starts.html' title='LAST WEEK BEFORE COLLEGE STARTS'/><author><name>Gaurav Kumar</name><uri>http://www.blogger.com/profile/02130735784310318352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_GIQM2n_nQvs/S7MIPVKzgSI/AAAAAAAAABc/M0xtztgMw6o/S220/DSC00550.JPG'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6371999957535768539.post-3939765223213599206</id><published>2009-07-15T02:36:00.000-07:00</published><updated>2009-07-15T04:28:13.920-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='CLI'/><category scheme='http://www.blogger.com/atom/ns#' term='shell'/><category scheme='http://www.blogger.com/atom/ns#' term='GUI'/><title type='text'>CLI over GUI</title><content type='html'>hello folks,&lt;br&gt;I am learning a bit linux nowadays.so, I thought it would be better to write something related to that.Don't worry , i will not teach you commands here(there are so many sources for that). I was thinking that CLI(command line interface) seems to be boring and cumbersome to use and I know so many people would say the same.Most of us are used to of windows' GUI(graphical user interface).Around 5 months ago my friend bought a laptop and got windows vista as default OS by that company.When i asked him to use linux,he said that as he had been using windows since childhood,he was more comfortable with that.Now i think that how can you compare two things without knowing both. If you also admire GUI then this is for you.CLI has really got some advantages over GUI.lets get it one by one&lt;br&gt;&lt;ul&gt;&lt;li&gt;with a GUI, only the options provided by the interface are available to the user&lt;/li&gt;&lt;br /&gt;&lt;li&gt;lack of space on a screen can limit the number of options that a GUI displays &lt;/li&gt;&lt;br /&gt;&lt;li&gt;no standard methods exist within GUIs for performing standard command-line tasks, such as linking commands in sequences, redirecting output from one destination to another, or collecting commands into scripts&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br&gt;Shell keeps history of recent commands.its very useful.and, if you have to perform certain operations in sequence then you can create shell scripts also.shell script is just like batch files in windows.&lt;br&gt;&lt;br /&gt;there is one more thing that i have recently come to know.shell is more useful in hardware terms.Shells are much less resources-intensive than GUI's.shell requires less memory.It means that command issued in shell will run more quickly than in GUI.&lt;br&gt;&lt;br /&gt;Only thing that i feel difficult is to remember commands.well,once you get used to it,its much easier than you think.&lt;br /&gt;That's it for today.hope,you got something useful.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6371999957535768539-3939765223213599206?l=gauravbits575.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gauravbits575.blogspot.com/feeds/3939765223213599206/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gauravbits575.blogspot.com/2009/07/cli-over-gui.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/3939765223213599206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/3939765223213599206'/><link rel='alternate' type='text/html' href='http://gauravbits575.blogspot.com/2009/07/cli-over-gui.html' title='CLI over GUI'/><author><name>Gaurav Kumar</name><uri>http://www.blogger.com/profile/02130735784310318352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_GIQM2n_nQvs/S7MIPVKzgSI/AAAAAAAAABc/M0xtztgMw6o/S220/DSC00550.JPG'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6371999957535768539.post-5021792941849468770</id><published>2009-07-14T08:37:00.000-07:00</published><updated>2009-07-14T08:59:17.523-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='grub'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><category scheme='http://www.blogger.com/atom/ns#' term='first blog'/><title type='text'>restoring grub menu</title><content type='html'>hi people,&lt;br /&gt;finally pushed myself to write one about a technical issue. recently ,I reinstalled windows vista successfully but after restart i didn't see any grub menu to boot linux(ubuntu).At that instant, i was shocked as i thought linux was gone.Since vista had overwtitten the mbr so it used to boot vista directly.I tried to restore grub menu through a live cd of linux which is done through typing some commands in terminal.Basically, anybody can copy those commands from www.ubuntuforums.org . But those commands were useless for my system as the "stage1" file was washed away from grub folder.finally,i downloaded an iso image of "super grub disk" and made a cd. then i booted through that cd and everything started working fine.when i saw grub menu again, i was so happy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6371999957535768539-5021792941849468770?l=gauravbits575.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gauravbits575.blogspot.com/feeds/5021792941849468770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://gauravbits575.blogspot.com/2009/07/restoring-grub-menu.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/5021792941849468770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6371999957535768539/posts/default/5021792941849468770'/><link rel='alternate' type='text/html' href='http://gauravbits575.blogspot.com/2009/07/restoring-grub-menu.html' title='restoring grub menu'/><author><name>Gaurav Kumar</name><uri>http://www.blogger.com/profile/02130735784310318352</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_GIQM2n_nQvs/S7MIPVKzgSI/AAAAAAAAABc/M0xtztgMw6o/S220/DSC00550.JPG'/></author><thr:total>5</thr:total></entry></feed>
