1941 -- Born in Bronxville, N.Y.
1963 -- Graduates from Harvard University with a B.S. in Physics
1968 -- Receives from Harvard University a Ph.D. in mathematics
1967 -- Joins Bell Labs, following his father, Alistair E. Ritchie, who had a long career there
1968 -- Joins the Bell Labs team working on Multics, a joint effort of Bell Labs, MIT and GE to develop a general computer operating system
1972 -- Creates C language
1989 -- Receives with Ken Thompson the NEC C&C Prize for significant contributions to computer technology
1983 -- Named Bell Labs Fellow
1988 -- Elected to the U.S. National Academy of Engineering
1990 -- Appointed head, System Software Research Department in the Computer Sciences Research Center at Bell Labs, Murray Hill, N.J.
1995 -- Heads the effort to create the Plan 9 operating system
1996 -- Heads the effort to create the Inferno(TM) operating system
1998 -- Awarded with Kenneth Thompson the U.S. National Medal of Technology for the development of the UNIX system
Monday, November 9, 2009
Kenneth Thompson
1943-1960 - Navy brat moving every few years
1965-66 -- Graduates with B.S and M.S. degrees in electrical engineering from the
1966 -- Joins Bell Labs Computing Research Department, working on the Multics project
1969 -- Develops UNIX* operating system
1970 -- Writes B language, precursor to Dennis Ritchie's C language
1971 -- Moves UNIX from the PDP-7 to the PDP-11
1973 -- Rewrites UNIX in Dennis Ritchie's C language
1973 -- Rewrites portions of UNIX to include Doug McIlroy's concept of pipes
1975-6 -- Visiting professor at the
1980 -- "Belle," a chess-playing computer he developed with Joe H. Condon, wins the
1980 -- Elected to the
1983 -- Named
1983 -- Receives with Dennis Ritchie the ACM Turing Award
1980 -- Elected to the
1988 -- Visiting professor at the University of Sydney, Australia
1998 -- Awarded with Dennis Ritchie the National Medal of Technology for the development of the UNIX system
2000 -- Retires from
Dennis Ritchie & Kenn Thompson in thr yr 1972
From the right, the major items of equipment are
• At the far right, on the table, are what someone discerned was a VT01A storage-tube display (based on Tek 611) and a small keyboard for it. Slightly hard to make out.
• A main CPU cabinet, partly behind the table. The processor is a PDP-11/20; it must have been our second one, with the Digital Special Systems KS-11 memory management unit. Our very first just said "PDP11," not "11/20." The arrays of distorted rectangles above it and in other cabinets are the labels on DECtape canisters.
• Another cabinet. Careful examination of the image by Steve Westin detects the top of the bezel of an 11/45 CPU barely peeking above the TTY to the right of the one Ken is typing at. A paper tape reader is above it.
• The third cabinet sports a dual DECtape drive at the top.
• A cabinet with another DECtape drive, probably also containing BA-11 extension boxes within.
• A cabinet with RK03 disk drives. These were made by Diablo (subsumed by Xerox) and OEMed to Digital. Digital later began manufacturing their own version (RK05).
• A cabinet containing RF11/RS11 controller and fixed-head disks. By this time / and swap space lived there, while /usr was on the RK03s.
• On top of the machine are what look like magtapes. A probable TU10 transport is barely visible just below Ken's chin, at least if you have the monitor brightness and contrast adjusted favorably.
In front, we have
• Ken (sitting) and me (standing), both with more luxuriant and darker hair than we have now.
Scientific American March 1999 p. 48 should have checked the IDs; we're interchanged in its caption of this same picture.
• Two Teletype 33 terminals
• At the far right, on the table, are what someone discerned was a VT01A storage-tube display (based on Tek 611) and a small keyboard for it. Slightly hard to make out.
• A main CPU cabinet, partly behind the table. The processor is a PDP-11/20; it must have been our second one, with the Digital Special Systems KS-11 memory management unit. Our very first just said "PDP11," not "11/20." The arrays of distorted rectangles above it and in other cabinets are the labels on DECtape canisters.
• Another cabinet. Careful examination of the image by Steve Westin detects the top of the bezel of an 11/45 CPU barely peeking above the TTY to the right of the one Ken is typing at. A paper tape reader is above it.
• The third cabinet sports a dual DECtape drive at the top.
• A cabinet with another DECtape drive, probably also containing BA-11 extension boxes within.
• A cabinet with RK03 disk drives. These were made by Diablo (subsumed by Xerox) and OEMed to Digital. Digital later began manufacturing their own version (RK05).
• A cabinet containing RF11/RS11 controller and fixed-head disks. By this time / and swap space lived there, while /usr was on the RK03s.
• On top of the machine are what look like magtapes. A probable TU10 transport is barely visible just below Ken's chin, at least if you have the monitor brightness and contrast adjusted favorably.
In front, we have
• Ken (sitting) and me (standing), both with more luxuriant and darker hair than we have now.
Scientific American March 1999 p. 48 should have checked the IDs; we're interchanged in its caption of this same picture.
• Two Teletype 33 terminals
Monday, November 2, 2009
Improve Multi-OS Computer Performance through Cross Swapping
Let’s first understand what virtual memory is. Today, computers are used for a wide variety of tasks, facilitated in part by modern OSs providing multitasking capabilities. A multitasking OS allows you to run more than one program at a time. If the number of programs you have started is greater than the number of CPUs (processors) available and in use, the OS repeatedly runs tiny parts of each program for very small amounts of time (not noticeable by the user) by turn; that is, it repeatedly allows each program to use the available CPU(s) for tiny fractions of a second. This creates the illusion of all programs running in parallel.
Multitasking, however, places large demands on the system memory (RAM). Running several graphical programs simultaneously can easily exhaust even today’s large memory banks in a short while. To alleviate this problem, modern OSs move some unused program data from RAM onto the hard disk to make room for required data.
This can be done because all of a program’s data in RAM is not needed at all times. If a program has finished working with some data and needs other data that had earlier been moved out to the hard disk, the OS can again move out the used data and move the old data back in. This entire process of moving unneeded data out and required data in is called swapping or paging, and the area on the hard disk where data is moved out from the RAM is called the swap space, page file, or virtual memory. Virtual memory is used even if you do not run more than one program at a time, simply because it allows the OS to keep frequently used parts of the running program in memory (as well as parts of the OS itself).
It is always better to assign a dedicated partition on a hard disk to the virtual memory. Since hard disks are much slower than RAM, it takes a significant amount of time to move data to and from virtual memory. Having a separate partition causes reading and writing of virtual memory to be independent of the reading and writing of other files. We will see how this scheme can be improved further.
Improving performance through cross swapping
If you have more than one hard disk, you can improve the performance of the virtual memory further. To do so, simply install the OS on one hard disk and the virtual memory on a dedicated partition on another hard disk. This scheme is much better than having both on the same hard disk because it gives independent control to the virtual memory. While files are being read from or written to one hard disk, the OS can operate the virtual memory simultaneously on the other—it won’t have to wait for either operation to complete before starting the other.
These days, it is becoming increasingly common to have more than one OS installed on a computer and use (boot) any one of them at a time. If you have more than one hard disk, you can use cross swapping to utilise all hard disks optimally.
It is best to install separate OSs on separate hard disks. This isolates their partition tables, provides physical encapsulation, and prevents space conflict and re-installation if you want to change partition sizes later. However, typically, only one OS is used at a time. All the others remain unused as long as that one is being used. If the other systems are on different hard disks, those hard disks will remain unused for that time. We can therefore utilise them for the virtual memory of the OS that is running. To do this, simply allot each OS’s virtual memory to a partition on a hard disk other than that on which the OS is installed. We will look at a scenario where Microsoft Windows and Linux are to be dual-booted.
Let’s suppose we have two hard disks, A and B. We install Windows on hard disk A and a distribution of Linux on hard disk B. Now, to employ cross swapping, we place the virtual memory for Windows on a dedicated partition on hard disk B, while we place the virtual memory for Linux on a dedicated partition on hard disk A. However, to achieve this, it is best to create the partitions before or while installing the operating systems. They can be created later, but that requires either a RAID/LVM set-up or special software. If you wish to follow the process mentioned, set up your hard disk partitions as shown in Figures 1 and 2.
Figure 1 shows hard disk A with the first two partitions allotted for Windows files and the last partition used as dedicated virtual memory for Linux (the swap partition). Figure 2 shows a similar arrangement of hard disk B with a virtual memory partition for Windows and the last two partitions for Linux files. The exact positioning of the partitions is such because Windows always needs the first partition of the first hard disk, and the Windows swap partition is placed at the head of the second disk because Windows sometimes achieves better performance if its virtual memory partition is placed at the beginning of a hard disk. The two partitions each for Windows and Linux files are just my personal preferences to keep the system and personal files separate. You can use one or more partitions in their place for each OS.
To actually create such a layout during installation, start with two blank hard disks and follow the steps below (note: this assumes we’re using Windows XP and so the exact steps may differ for other versions—refer to Windows documentation for changing the amount of virtual memory in such cases).
Create a primary partition on the first hard disk, make it bootable (active), and install Windows on it (you can create the partition from within the Windows installation program itself).
If you want another Windows partition for your personal files, as shown in Figure 1, create a primary partition on the first hard disk (Disk 0) using the Windows disk management tool (right click on My Computer, click Manage→Disk Management).
Leave the area for the Linux swap unpartitioned at the end of the first hard disk (Disk 0). Keep about 1.5 times the amount of your RAM reserved for this space. You can also keep 1 GB if you have 512 MB or more of RAM and want to conserve disk space.
If the disk management tool is not already open, right click My Computer, click Manage→Disk Management.
On the second hard disk (Disk 1), create a primary partition 1.5 times the size of your RAM (or 1 GB—see the above point); plus about 15 to 20 per cent of that space, assign a drive letter and format it (preferably with NTFS). Note that only Windows needs the extra 15-20 per cent of free disk space. Don’t reserve any extra amount for Linux on the first disk. Close the disk management tool when done.
Right click My Computer, click Properties→Advanced. Under Performance click Settings→Advanced. Under Virtual memory click Change.
Select the first partition (C:), click No paging file, then click Set.
Select the new partition (drive letter) you created in Step 5, then click Custom size.
If you allocated 1.5 times the amount of your RAM, type that amount in megabytes (1 GB = 1024 MB) in both the minimum and maximum boxes, then click Set. If you allocated 1 GB, type 1024 in both boxes, then click Set. This sets up your virtual memory for Windows. Make sure not to set the whole partition space (which includes the additional 15-20 per cent space) here. The extra free space is required by Windows to perform optimally.
Click OK, then OK again to close the Performance Options box.
Click the System Restore tab, then select the partition (drive letter) you set the virtual memory in.
Click Settings… then select ‘Turn off System Restore on this drive’ and click OK. Confirm that you want to turn off System Restore on the drive.
Click OK to close the ‘System Properties’ box.
In your Linux installation program, select the option for custom (or expert) partitioning at the beginning of the partitioning phase (most Linux installers provide such an option, but if yours doesn’t, you can use the fdisk or cfdisk program; (c)fdisk coverage is out of the scope of this article so you can get help from their manual and info pages on a working/live Linux system).
Select the first hard disk and create a primary partition in the space you had reserved for Linux swap at the end of the first disk. Make the partition use the full reserved (available) free space. Set it as the swap partition.
This creates the virtual memory for Linux.
Select the second hard disk and create primary or extended partitions as you want for your Linux files after the existing Windows partition. The existing Windows partition on the second disk contains the Windows virtual memory that was set up previously.
Proceed with your Linux installation. Don’t set the option to automatically mount the Windows virtual memory partition on the second hard disk. If your installer turns it on by itself, make sure to turn it off.
Some notes
The exact performance gains you enjoy will vary depending on the amount of RAM you have (the less the RAM, the more the virtual memory used), the number of applications you use at a time and the load they place on the system memory, and other similar factors. However, even if not perceptible, there will be some difference, which will be better than using the default virtual memory set-up. You can check the amount of virtual memory being used, by using the Task Manager in Windows and the System Monitor in Linux.
A maximum of four primary partitions is allowed on a hard disk. More than four partitions can be created by using logical partitions within an extended partition. If you want to use logical partitions for your Windows files, fill the first hard disk to the end with the extended partition, create your logical partitions and make sure to keep the Linux swap space reserved within the extended partition. Then, in Step 15, create a logical partition for the swap space instead of a primary partition. Note, however, that this is not the optimal set-up for virtual memory.
If you have more than two hard disks and want to install more than two operating systems on them, you can jumble up the virtual memory partitions for them in a similar manner. However, note that cross swapping can be implemented best if you have as many operating systems as hard disks and install each OS on a different hard disk. Also ensure that you keep the first partition on the first hard disk for Windows.
If you use IDE hard disks, the primary master is the first disk, the primary slave the second, the secondary master the third, and the secondary slave the fourth. However, for best performance, you should make your hard disks masters on separate IDE channels (e.g., primary master and secondary master). For SATA hard disks, the disks are ordered according to the SATA ports on which they are connected.
Windows does not recognise/read Linux and UNIX partitions; so it is safe to place the swap partition for Linux/UNIX on the hard disk on which Windows is installed. However, do not try to manipulate any Linux/UNIX swap or other partitions using the Windows disk management tool.
You can allot partitions for the virtual memory of an OS on more than one hard disk with one partition on each hard disk. This will improve performance further. However, don’t allot a virtual memory partition for an OS on the hard disk on which the OS itself is installed, else you will defeat the purpose of cross swapping.
If you use more than one Linux distribution, you can reuse the same virtual memory partition(s) for all of them.
Multitasking, however, places large demands on the system memory (RAM). Running several graphical programs simultaneously can easily exhaust even today’s large memory banks in a short while. To alleviate this problem, modern OSs move some unused program data from RAM onto the hard disk to make room for required data.
This can be done because all of a program’s data in RAM is not needed at all times. If a program has finished working with some data and needs other data that had earlier been moved out to the hard disk, the OS can again move out the used data and move the old data back in. This entire process of moving unneeded data out and required data in is called swapping or paging, and the area on the hard disk where data is moved out from the RAM is called the swap space, page file, or virtual memory. Virtual memory is used even if you do not run more than one program at a time, simply because it allows the OS to keep frequently used parts of the running program in memory (as well as parts of the OS itself).
It is always better to assign a dedicated partition on a hard disk to the virtual memory. Since hard disks are much slower than RAM, it takes a significant amount of time to move data to and from virtual memory. Having a separate partition causes reading and writing of virtual memory to be independent of the reading and writing of other files. We will see how this scheme can be improved further.
Improving performance through cross swapping
If you have more than one hard disk, you can improve the performance of the virtual memory further. To do so, simply install the OS on one hard disk and the virtual memory on a dedicated partition on another hard disk. This scheme is much better than having both on the same hard disk because it gives independent control to the virtual memory. While files are being read from or written to one hard disk, the OS can operate the virtual memory simultaneously on the other—it won’t have to wait for either operation to complete before starting the other.
These days, it is becoming increasingly common to have more than one OS installed on a computer and use (boot) any one of them at a time. If you have more than one hard disk, you can use cross swapping to utilise all hard disks optimally.
It is best to install separate OSs on separate hard disks. This isolates their partition tables, provides physical encapsulation, and prevents space conflict and re-installation if you want to change partition sizes later. However, typically, only one OS is used at a time. All the others remain unused as long as that one is being used. If the other systems are on different hard disks, those hard disks will remain unused for that time. We can therefore utilise them for the virtual memory of the OS that is running. To do this, simply allot each OS’s virtual memory to a partition on a hard disk other than that on which the OS is installed. We will look at a scenario where Microsoft Windows and Linux are to be dual-booted.
Let’s suppose we have two hard disks, A and B. We install Windows on hard disk A and a distribution of Linux on hard disk B. Now, to employ cross swapping, we place the virtual memory for Windows on a dedicated partition on hard disk B, while we place the virtual memory for Linux on a dedicated partition on hard disk A. However, to achieve this, it is best to create the partitions before or while installing the operating systems. They can be created later, but that requires either a RAID/LVM set-up or special software. If you wish to follow the process mentioned, set up your hard disk partitions as shown in Figures 1 and 2.
Figure 1 shows hard disk A with the first two partitions allotted for Windows files and the last partition used as dedicated virtual memory for Linux (the swap partition). Figure 2 shows a similar arrangement of hard disk B with a virtual memory partition for Windows and the last two partitions for Linux files. The exact positioning of the partitions is such because Windows always needs the first partition of the first hard disk, and the Windows swap partition is placed at the head of the second disk because Windows sometimes achieves better performance if its virtual memory partition is placed at the beginning of a hard disk. The two partitions each for Windows and Linux files are just my personal preferences to keep the system and personal files separate. You can use one or more partitions in their place for each OS.
To actually create such a layout during installation, start with two blank hard disks and follow the steps below (note: this assumes we’re using Windows XP and so the exact steps may differ for other versions—refer to Windows documentation for changing the amount of virtual memory in such cases).
Create a primary partition on the first hard disk, make it bootable (active), and install Windows on it (you can create the partition from within the Windows installation program itself).
If you want another Windows partition for your personal files, as shown in Figure 1, create a primary partition on the first hard disk (Disk 0) using the Windows disk management tool (right click on My Computer, click Manage→Disk Management).
Leave the area for the Linux swap unpartitioned at the end of the first hard disk (Disk 0). Keep about 1.5 times the amount of your RAM reserved for this space. You can also keep 1 GB if you have 512 MB or more of RAM and want to conserve disk space.
If the disk management tool is not already open, right click My Computer, click Manage→Disk Management.
On the second hard disk (Disk 1), create a primary partition 1.5 times the size of your RAM (or 1 GB—see the above point); plus about 15 to 20 per cent of that space, assign a drive letter and format it (preferably with NTFS). Note that only Windows needs the extra 15-20 per cent of free disk space. Don’t reserve any extra amount for Linux on the first disk. Close the disk management tool when done.
Right click My Computer, click Properties→Advanced. Under Performance click Settings→Advanced. Under Virtual memory click Change.
Select the first partition (C:), click No paging file, then click Set.
Select the new partition (drive letter) you created in Step 5, then click Custom size.
If you allocated 1.5 times the amount of your RAM, type that amount in megabytes (1 GB = 1024 MB) in both the minimum and maximum boxes, then click Set. If you allocated 1 GB, type 1024 in both boxes, then click Set. This sets up your virtual memory for Windows. Make sure not to set the whole partition space (which includes the additional 15-20 per cent space) here. The extra free space is required by Windows to perform optimally.
Click OK, then OK again to close the Performance Options box.
Click the System Restore tab, then select the partition (drive letter) you set the virtual memory in.
Click Settings… then select ‘Turn off System Restore on this drive’ and click OK. Confirm that you want to turn off System Restore on the drive.
Click OK to close the ‘System Properties’ box.
In your Linux installation program, select the option for custom (or expert) partitioning at the beginning of the partitioning phase (most Linux installers provide such an option, but if yours doesn’t, you can use the fdisk or cfdisk program; (c)fdisk coverage is out of the scope of this article so you can get help from their manual and info pages on a working/live Linux system).
Select the first hard disk and create a primary partition in the space you had reserved for Linux swap at the end of the first disk. Make the partition use the full reserved (available) free space. Set it as the swap partition.
This creates the virtual memory for Linux.
Select the second hard disk and create primary or extended partitions as you want for your Linux files after the existing Windows partition. The existing Windows partition on the second disk contains the Windows virtual memory that was set up previously.
Proceed with your Linux installation. Don’t set the option to automatically mount the Windows virtual memory partition on the second hard disk. If your installer turns it on by itself, make sure to turn it off.
Some notes
The exact performance gains you enjoy will vary depending on the amount of RAM you have (the less the RAM, the more the virtual memory used), the number of applications you use at a time and the load they place on the system memory, and other similar factors. However, even if not perceptible, there will be some difference, which will be better than using the default virtual memory set-up. You can check the amount of virtual memory being used, by using the Task Manager in Windows and the System Monitor in Linux.
A maximum of four primary partitions is allowed on a hard disk. More than four partitions can be created by using logical partitions within an extended partition. If you want to use logical partitions for your Windows files, fill the first hard disk to the end with the extended partition, create your logical partitions and make sure to keep the Linux swap space reserved within the extended partition. Then, in Step 15, create a logical partition for the swap space instead of a primary partition. Note, however, that this is not the optimal set-up for virtual memory.
If you have more than two hard disks and want to install more than two operating systems on them, you can jumble up the virtual memory partitions for them in a similar manner. However, note that cross swapping can be implemented best if you have as many operating systems as hard disks and install each OS on a different hard disk. Also ensure that you keep the first partition on the first hard disk for Windows.
If you use IDE hard disks, the primary master is the first disk, the primary slave the second, the secondary master the third, and the secondary slave the fourth. However, for best performance, you should make your hard disks masters on separate IDE channels (e.g., primary master and secondary master). For SATA hard disks, the disks are ordered according to the SATA ports on which they are connected.
Windows does not recognise/read Linux and UNIX partitions; so it is safe to place the swap partition for Linux/UNIX on the hard disk on which Windows is installed. However, do not try to manipulate any Linux/UNIX swap or other partitions using the Windows disk management tool.
You can allot partitions for the virtual memory of an OS on more than one hard disk with one partition on each hard disk. This will improve performance further. However, don’t allot a virtual memory partition for an OS on the hard disk on which the OS itself is installed, else you will defeat the purpose of cross swapping.
If you use more than one Linux distribution, you can reuse the same virtual memory partition(s) for all of them.
Thursday, September 10, 2009
Mount pendrive using your name !
We will create new rule file inside /etc/udev/rules.d/
Follow the steps:
1. insert pendrive and see device name using "fdisk -l", in my case it is '/dev/sdb1'
2. create a file named '99-udev.rules' and make entry as shown
(any name can be given but it is necessary to end it with ".rules")
# vim /etc/udev/rules.d/99-udev.rules
KERNEL=="sdb1", Name="addy", MODE="0600", OWNER="root"
:wq (save and exit)
3. # mount /dev/addy /mnt
We need to be a super user to perform this action, more options can be appended in rule file as per our requirement, kindly go through udev man pages.
Follow the steps:
1. insert pendrive and see device name using "fdisk -l", in my case it is '/dev/sdb1'
2. create a file named '99-udev.rules' and make entry as shown
(any name can be given but it is necessary to end it with ".rules")
# vim /etc/udev/rules.d/99-udev.rules
KERNEL=="sdb1", Name="addy", MODE="0600", OWNER="root"
:wq (save and exit)
3. # mount /dev/addy /mnt
We need to be a super user to perform this action, more options can be appended in rule file as per our requirement, kindly go through udev man pages.
Tuesday, September 8, 2009
And the very next mail from RMS's friend John :-)
Flag this message
Re: Hello Richard
Sunday, 17 May, 2009 7:37 AM
From:
"John C. Vernaleo"
Add sender to Contacts
To:
"ADARSH SINGH"
Hi. I'm John (john@netpurgatory.com). As RMS may have said, I'm the
one who gets people volunteering set up. Of the current people
helping, I've been doing it the longest, so if you have any trouble,
just email me, and there is a good chance I know what is up. And I
can usually answer faster than rms. For the most part I don't do
normal updates anymore due to time issues, but I try to make sure
everything runs smoothly.
Before you can log in, please email me an ssh key (as an attachment).
If you need help doing that, let me know. After you can log in, you
should send rms an email so he can add you to the email list that he
sends updates to.
Once I've put your ssh key in, so you should be able to connect with a simple ssh rms@stallman.org (we all log in as rms so permissions don't become a problem). If it doesn't work, let me know.
RMS sends emails to everyone, usually a few a day. The majority of them are the pol-notes. These need to be put in the current pol-note file. At the moment, that file is ~/public_html/archives/2009-mar-jun.html. This file is switched with a new file every two months by a cron job (where the new file overlaps with the old one by a month). Also, an rss feed is made from the current page by a cron job.
Pick some text from the note (or a slight variation if it sounds better) as the title and put this in a line by itself above the last pol-note. Then in emacs type Meta-x fix-pol-note to format the title properly.
Then put the text of the note and put the link somewhere appropriate.
For urgent notes, they go in the pol-note page (with the title urgent note and some unique number if there are more than one for that day) and in the urgent note section of the main page. Expired urgent note should occasionally be removed from the main page only.
Long term note only go on the main page. Anything else, just follow the instructions in the email. Recently, we've been doing a lot of unsubscribe requests for mailing lists from rms.
You should send an email to rms (not to stallman.org) and to me after
you update things with a quick update of what you've done (4
pol-notes, 2 urgent note or something like that).
Currently the only way we coordinate things is to just look at the website and see what has already been done. I also tend to type "who" when I log on to make sure no one else is editing when I am.
There are a lot of pages in ~/public_html/photos, but those are all automatically generated, so don't worry about them.
They main page is valid html and we are trying to keep that up. Slowly other pages are also being made to validate, so try to keep that in mind. The pol-note pages are not valid at the moment.
Also, in case you are worried about backups, I have a cron job on my home machine that rsyncs ~rms to a spare disk on my machine once a week, and keeps dated tarballs of it that go back a little more than a month.
Thanks for helping.
John
Re: Hello Richard
Sunday, 17 May, 2009 7:37 AM
From:
"John C. Vernaleo"
Add sender to Contacts
To:
"ADARSH SINGH"
Hi. I'm John (john@netpurgatory.com). As RMS may have said, I'm the
one who gets people volunteering set up. Of the current people
helping, I've been doing it the longest, so if you have any trouble,
just email me, and there is a good chance I know what is up. And I
can usually answer faster than rms. For the most part I don't do
normal updates anymore due to time issues, but I try to make sure
everything runs smoothly.
Before you can log in, please email me an ssh key (as an attachment).
If you need help doing that, let me know. After you can log in, you
should send rms an email so he can add you to the email list that he
sends updates to.
Once I've put your ssh key in, so you should be able to connect with a simple ssh rms@stallman.org (we all log in as rms so permissions don't become a problem). If it doesn't work, let me know.
RMS sends emails to everyone, usually a few a day. The majority of them are the pol-notes. These need to be put in the current pol-note file. At the moment, that file is ~/public_html/archives/2009-mar-jun.html. This file is switched with a new file every two months by a cron job (where the new file overlaps with the old one by a month). Also, an rss feed is made from the current page by a cron job.
Pick some text from the note (or a slight variation if it sounds better) as the title and put this in a line by itself above the last pol-note. Then in emacs type Meta-x fix-pol-note to format the title properly.
Then put the text of the note and put the link somewhere appropriate.
For urgent notes, they go in the pol-note page (with the title urgent note and some unique number if there are more than one for that day) and in the urgent note section of the main page. Expired urgent note should occasionally be removed from the main page only.
Long term note only go on the main page. Anything else, just follow the instructions in the email. Recently, we've been doing a lot of unsubscribe requests for mailing lists from rms.
You should send an email to rms (not to stallman.org) and to me after
you update things with a quick update of what you've done (4
pol-notes, 2 urgent note or something like that).
Currently the only way we coordinate things is to just look at the website and see what has already been done. I also tend to type "who" when I log on to make sure no one else is editing when I am.
There are a lot of pages in ~/public_html/photos, but those are all automatically generated, so don't worry about them.
They main page is valid html and we are trying to keep that up. Slowly other pages are also being made to validate, so try to keep that in mind. The pol-note pages are not valid at the moment.
Also, in case you are worried about backups, I have a cron job on my home machine that rsyncs ~rms to a spare disk on my machine once a week, and keeps dated tarballs of it that go back a little more than a month.
Thanks for helping.
John
Now, Working with RMS, THE LEADER OF FREE WORLD :-) ((here is the copy of his mail))
Go to Previous message | Go to Next message | Back to Search Results
Mark as Unread | Print
Flag this message
Re: Hello Richard
Friday, 15 May, 2009 1:38 PM
From:
"ADARSH SINGH"
Add sender to Contacts
To:
rms@gnu.org
Hello RMS,
I am pleased to have your reply,
Ya I would like to do it with pleasure, Anything for the Leader of Free World Revolution.
Now, lets move towards the work, You are talking about political and exigent notes, is it associated with open source/FSF ?
Ya, I am interested in this work, tell me what/How to do and from when I can start ?
Thanks
Bye
--- On Thu, 14/5/09, Richard M Stallman wrote:
From: Richard M Stallman
Subject: Re: Hello Richard
To: "ADARSH SINGH"
Date: Thursday, 14 May, 2009, 11:48 PM
The task is simply to login on stallman.org every day
(or nearly every day) and install any political notes
and urgent notes that are waiting for installation.
It doesn't require deep knowledge of HTML or web design.
I'm looking for someone who will reliably do this for months or even
years. It is not a lot of work, especially if there are two or three
people dividing the task, but it is important for it to be done often.
Would you like to do this?
Mark as Unread | Print
Flag this message
Re: Hello Richard
Friday, 15 May, 2009 1:38 PM
From:
"ADARSH SINGH"
Add sender to Contacts
To:
rms@gnu.org
Hello RMS,
I am pleased to have your reply,
Ya I would like to do it with pleasure, Anything for the Leader of Free World Revolution.
Now, lets move towards the work, You are talking about political and exigent notes, is it associated with open source/FSF ?
Ya, I am interested in this work, tell me what/How to do and from when I can start ?
Thanks
Bye
--- On Thu, 14/5/09, Richard M Stallman
From: Richard M Stallman
Subject: Re: Hello Richard
To: "ADARSH SINGH"
Date: Thursday, 14 May, 2009, 11:48 PM
The task is simply to login on stallman.org every day
(or nearly every day) and install any political notes
and urgent notes that are waiting for installation.
It doesn't require deep knowledge of HTML or web design.
I'm looking for someone who will reliably do this for months or even
years. It is not a lot of work, especially if there are two or three
people dividing the task, but it is important for it to be done often.
Would you like to do this?
Create multiple users at a time.
It is a very time consuming job to create new users and supply passwords frequently.
By the following small script we can easily create multiple users with passwords.
In my example there are 3 users (user1, user2 and user3) but we can take any number.
# for USER in user1 user2 user3
do
useradd $USER
passwd $USER
done
Just hit 'enter' and you will be directly prompted for password for all the three users.
By the following small script we can easily create multiple users with passwords.
In my example there are 3 users (user1, user2 and user3) but we can take any number.
# for USER in user1 user2 user3
do
useradd $USER
passwd $USER
done
Just hit 'enter' and you will be directly prompted for password for all the three users.
Saturday, September 5, 2009
!!! Pack 6 Linux Distros into one USB Flashdrive !!!
!!! Pack 6 Linux Distros into one USB Flashdrive !!!
----------------------------------------------------
Yes, this is now very easy to have 6 or even more Linux distros in a single pendrive.
I'm trying to explain how we can pack them in a pendrive.
But, for this your Motherboard should support booting fron flashdrives
a.I'm using Dell Inspiron
b.Intel core 2 Duo 1.83 GHz
c.Cent-OS as operating system
d.Transend JFv33 drive
((for any support or ready configuration mail me on "addi_adarsh@yahoo.co.in"))
_________________________________________________________________________
Please keep two terminals open, one is for root user and the other is for normal user.
# -> Root user
$ -> Normal user
((Be Careful with this))
We should have the ISO images of the distros ready so that we can easily mount it and get the essential files.
Here in my case the distros are :
Austrumi,Puppy Linux, Slitaz, CDLinux, DSL, GeeXbox
__________________________________________________________________________
Follow the steps:
1. $ mkdir -p work_dir/mbcd/boot
2. $ cd work_dir
Now, create 6 directories in /mnt for mounting 6 distros's ISO files
3. # mkdir /mnt/tmp{1,2,3,4,5,6}
Mount different ISO images one by one in tmp1,tmp2.....and so on and one more thing which we should keep in mind is we will use normal user's UID/GID while mounting.
4. # mount austrumi*.iso /mnt/tmp1 -o loop,uid=500,gid=500
5. # mount puppy*.iso /mnt/tmp2 -o loop,uid=500,gid=500
6. # mount slitaz*.iso /mnt/tmp3 -o loop,uid=500,gid=500
7. # mount CDlinux*.iso /mnt/tmp4 -o loop,uid=500,gid=500
8. # mount dsl*.iso /mnt/tmp5 -o loop,uid=500,gid=500
9. # mount geexbox*.iso /mnt/tmp6 -o loop,uid=500,gid=500
All the ISO images are successfully mounted and it's time to copy essential files from /mnt/tmp1... to /home//work_dir/....
_________________________________________________________________________________
1. $ cd work_dir (and all the below should be executed from here only)
Austrumi
--------
2. $ cp /mnt/tmp1/boot/austrumi.* mbcd/boot/
3. $ mkdir mbcd/boot/austrumi
4. $ cp /mnt/tmp1/isolinux/initrd.gz /mbcd/boot/austrumi
5. $ cp /mnt/tmp1/isolinux/bzImage /mbcd/boot/austrumi
Puppy Linux
-----------
6. $ mkdir mbcd/boot/puppy mbcd/Puppy
7. $ cp /mnt/tmp2/initrd.gz mbcd/boot/puppy
8. $ cp /mnt/tmp2/vmlinuz mbcd/boot/puppy
9. $ cp /mnt/tmp2/zdrv_400.sfs mbcd/Puppy
SliTz
-----
10.$ mkdir mbcd/boot/slitaz
11.$ cp /mnt/tmp3/boot/bzImage mbcd/boot/slitaz
12.$ cp /mnt/tmp3/boot/rootfs.gz mbcd/boot/slitaz
13.$ cp /mnt/tmp3/boot/vmlinu-*-slitaz mbcd/boot
Cdlinux
-------
14. $ mkdir mbcd/boot/cdlinux mbcd/Cdlinux
15. $ cp /mnt/tmp4/CDlinux/bzImage mbcd/boot/cdlinux
16. $ cp -r /mnt/tmp4/CDlinux/extra mbcd/CDlinux
17. $ cp -r /mnt/tmp4/Cdlinux/settings mbcd/CDlinux
DSL
---
18. $ mkdir mbcd/boot/dsl mbcd/dsl
19. $ cp /mnt/tmp5/boot/isolinux/linux24 mbcd/boot/dsl
20. $ cp /mnt/tmp5/boot/isolinux/minirt24.gz mbcd/boot/dsl
21. $ cp /mnt/tmp5/KNOPPIX/KNOPPIX mbcd/dsl
GeeXboX
-------
22. $ mkdir mbcd/boot/geexbox
23. $ cp /mnt/tmp6/GEEXBOX/boot/vmlinuz mbcd/boot/geexbox
24. $ cp /mnt/tmp6/GEEXBOX/boot/initrd.gz mbcd/boot/geexbox
25. $ cp /mnt/tmp6/GEEXBOX/boot/splash.png mbcd/boot/geexbox
26. $ cp -r /mnt/tmp6/GEEXBOX mbcd/
27. $ chmod -R u+w mbcd/GEEXBOX
28. $ rm -r mbcd/GEEXBOX/boot
__________________________________________________________________
Now, we will create a grub directory and copy "stage2_eltorito" file in it.
$ mkdir mbcd/boot/grub
$ rpm grub rpm -ql grub | grep stage2_eltorito
((see where this file is located and copy it in mbcd/boot/grub))
$ cp ........./stage2_eltorito mbcd/boot/grub
___________________________________________________________________
Make an image with GIMP as splash.jpg and convert it like this:
$ convert -colos 14 -depth 8 resize 640*480! splash.jpg splash.xpm.gz
$ cp splash.xpm.gz mbcd/boot/grub/
______________________________________________________________________
Now, create a grub.conf file as shown below:
$ vim mbcd/boot/grub/grub.conf
splashimage=/boot/grub/splash.xpm.gz
title Autrumi
kernel /boot/austrumi/bzImage dousb
initrd /boot/austrumi/initrd.gz
title Puppy
kernel /boot/puppy/vmlinuz pmedia=usbflash
initrd /boot/puppy/initrd.gz
title CDlinux
kernel /boot/cdlinux/bzImage quiet
initrd /boot/cdlinux/initrd
title Slitaz
kernel /boot/slitaz/bzImage rw root/dev/null vga=normal
initrd /boot/slitaz/rootfs.gz
title DSL
kernel /boot/dsl/linux24 ramdisk_size=100000 init=/etc/init
initrd /boot/dsl/minirt24.gz
title GeeXboX
kernel /boot/geexbox/vmlinuz root=/dev/ram0 rw rdinit=linuxrc boot=UUID= lang=en remote=atiusb receiver=atiusb keymap=qwerty splash=silent vga=789 video=vesafb:ywrap,mtrr hdtv quiet
initrd /boot/geexbox/initrd.gz
___________________________________________________________________
In my case pendrive is "/dev/sdb1"
Then we will copy the contents of work_dir in flashdrive:
# mount /dev/sdb1 /media/disk/
# cp -r /home/.../work_done/mbcd/* /media/disk/
___________________________________________________________________
Now, Its time for installing Grub in flash drive:
# grub-install --root-directory=/media/disk /dev/sdX
# umount /dev/sdxy
# parted /dev/sdX set y boot on
((e.g. /dev/sdb1 => X=b & y=1))
_____________________________________________________________________
Here, we are DONE
Boot from Pen drive and enjoy 6 distros, Space occupied in pendrive is approximately 350 MBs
*****************************************************************************************
----------------------------------------------------
Yes, this is now very easy to have 6 or even more Linux distros in a single pendrive.
I'm trying to explain how we can pack them in a pendrive.
But, for this your Motherboard should support booting fron flashdrives
a.I'm using Dell Inspiron
b.Intel core 2 Duo 1.83 GHz
c.Cent-OS as operating system
d.Transend JFv33 drive
((for any support or ready configuration mail me on "addi_adarsh@yahoo.co.in"))
_________________________________________________________________________
Please keep two terminals open, one is for root user and the other is for normal user.
# -> Root user
$ -> Normal user
((Be Careful with this))
We should have the ISO images of the distros ready so that we can easily mount it and get the essential files.
Here in my case the distros are :
Austrumi,Puppy Linux, Slitaz, CDLinux, DSL, GeeXbox
__________________________________________________________________________
Follow the steps:
1. $ mkdir -p work_dir/mbcd/boot
2. $ cd work_dir
Now, create 6 directories in /mnt for mounting 6 distros's ISO files
3. # mkdir /mnt/tmp{1,2,3,4,5,6}
Mount different ISO images one by one in tmp1,tmp2.....and so on and one more thing which we should keep in mind is we will use normal user's UID/GID while mounting.
4. # mount austrumi*.iso /mnt/tmp1 -o loop,uid=500,gid=500
5. # mount puppy*.iso /mnt/tmp2 -o loop,uid=500,gid=500
6. # mount slitaz*.iso /mnt/tmp3 -o loop,uid=500,gid=500
7. # mount CDlinux*.iso /mnt/tmp4 -o loop,uid=500,gid=500
8. # mount dsl*.iso /mnt/tmp5 -o loop,uid=500,gid=500
9. # mount geexbox*.iso /mnt/tmp6 -o loop,uid=500,gid=500
All the ISO images are successfully mounted and it's time to copy essential files from /mnt/tmp1... to /home/
_________________________________________________________________________________
1. $ cd work_dir (and all the below should be executed from here only)
Austrumi
--------
2. $ cp /mnt/tmp1/boot/austrumi.* mbcd/boot/
3. $ mkdir mbcd/boot/austrumi
4. $ cp /mnt/tmp1/isolinux/initrd.gz /mbcd/boot/austrumi
5. $ cp /mnt/tmp1/isolinux/bzImage /mbcd/boot/austrumi
Puppy Linux
-----------
6. $ mkdir mbcd/boot/puppy mbcd/Puppy
7. $ cp /mnt/tmp2/initrd.gz mbcd/boot/puppy
8. $ cp /mnt/tmp2/vmlinuz mbcd/boot/puppy
9. $ cp /mnt/tmp2/zdrv_400.sfs mbcd/Puppy
SliTz
-----
10.$ mkdir mbcd/boot/slitaz
11.$ cp /mnt/tmp3/boot/bzImage mbcd/boot/slitaz
12.$ cp /mnt/tmp3/boot/rootfs.gz mbcd/boot/slitaz
13.$ cp /mnt/tmp3/boot/vmlinu-*-slitaz mbcd/boot
Cdlinux
-------
14. $ mkdir mbcd/boot/cdlinux mbcd/Cdlinux
15. $ cp /mnt/tmp4/CDlinux/bzImage mbcd/boot/cdlinux
16. $ cp -r /mnt/tmp4/CDlinux/extra mbcd/CDlinux
17. $ cp -r /mnt/tmp4/Cdlinux/settings mbcd/CDlinux
DSL
---
18. $ mkdir mbcd/boot/dsl mbcd/dsl
19. $ cp /mnt/tmp5/boot/isolinux/linux24 mbcd/boot/dsl
20. $ cp /mnt/tmp5/boot/isolinux/minirt24.gz mbcd/boot/dsl
21. $ cp /mnt/tmp5/KNOPPIX/KNOPPIX mbcd/dsl
GeeXboX
-------
22. $ mkdir mbcd/boot/geexbox
23. $ cp /mnt/tmp6/GEEXBOX/boot/vmlinuz mbcd/boot/geexbox
24. $ cp /mnt/tmp6/GEEXBOX/boot/initrd.gz mbcd/boot/geexbox
25. $ cp /mnt/tmp6/GEEXBOX/boot/splash.png mbcd/boot/geexbox
26. $ cp -r /mnt/tmp6/GEEXBOX mbcd/
27. $ chmod -R u+w mbcd/GEEXBOX
28. $ rm -r mbcd/GEEXBOX/boot
__________________________________________________________________
Now, we will create a grub directory and copy "stage2_eltorito" file in it.
$ mkdir mbcd/boot/grub
$ rpm grub rpm -ql grub | grep stage2_eltorito
((see where this file is located and copy it in mbcd/boot/grub))
$ cp ........./stage2_eltorito mbcd/boot/grub
___________________________________________________________________
Make an image with GIMP as splash.jpg and convert it like this:
$ convert -colos 14 -depth 8 resize 640*480! splash.jpg splash.xpm.gz
$ cp splash.xpm.gz mbcd/boot/grub/
______________________________________________________________________
Now, create a grub.conf file as shown below:
$ vim mbcd/boot/grub/grub.conf
splashimage=/boot/grub/splash.xpm.gz
title Autrumi
kernel /boot/austrumi/bzImage dousb
initrd /boot/austrumi/initrd.gz
title Puppy
kernel /boot/puppy/vmlinuz pmedia=usbflash
initrd /boot/puppy/initrd.gz
title CDlinux
kernel /boot/cdlinux/bzImage quiet
initrd /boot/cdlinux/initrd
title Slitaz
kernel /boot/slitaz/bzImage rw root/dev/null vga=normal
initrd /boot/slitaz/rootfs.gz
title DSL
kernel /boot/dsl/linux24 ramdisk_size=100000 init=/etc/init
initrd /boot/dsl/minirt24.gz
title GeeXboX
kernel /boot/geexbox/vmlinuz root=/dev/ram0 rw rdinit=linuxrc boot=UUID=
initrd /boot/geexbox/initrd.gz
___________________________________________________________________
In my case pendrive is "/dev/sdb1"
Then we will copy the contents of work_dir in flashdrive:
# mount /dev/sdb1 /media/disk/
# cp -r /home/.../work_done/mbcd/* /media/disk/
___________________________________________________________________
Now, Its time for installing Grub in flash drive:
# grub-install --root-directory=/media/disk /dev/sdX
# umount /dev/sdxy
# parted /dev/sdX set y boot on
((e.g. /dev/sdb1 => X=b & y=1))
_____________________________________________________________________
Here, we are DONE
Boot from Pen drive and enjoy 6 distros, Space occupied in pendrive is approximately 350 MBs
*****************************************************************************************
Monday, August 31, 2009
Microsoft's Windows calc.exe SUCKS !!!
2704 / 52 = ????
doesn't work on Windows calc.exe : - )
and I'm afraid thinking how many such errors about to take place :(
I think this is the main reason
Server Administrators don't use WINDOWS
doesn't work on Windows calc.exe : - )
and I'm afraid thinking how many such errors about to take place :(
I think this is the main reason
Server Administrators don't use WINDOWS
VLC is now Goldeneye
Guyzzz, The superb media player "VLC" is now known by "Goldeneye"
It enhanced itself in codec support, frame by frame display, Recoding etc
So, don't get confused and enjoy the Goldeneye.
It enhanced itself in codec support, frame by frame display, Recoding etc
So, don't get confused and enjoy the Goldeneye.
Friday, August 7, 2009

Google’s OS: Just A Chrome Polish or Is There Some Metal Inside Too?
How can you be the lord of the sea without your own ship? This is what Google, a company that started out with a search engine, then entered domain after domain, before becoming the tallest giant of the Internet Age, has realised.
All of Google’s businesses are in the online world—if there were no Internet or access to Google services, it would mean no business for the Mountain View company. The only interface to Google services has always been a browser. Microsoft saw Google as its biggest threat on this turf, so there was little chance that Microsoft’s IE (Instant Exploiter) would ever give Google an easy ride on the Internet Highway.
Google did make friends with Firefox and others, but for how long can you take a ride on rented cars? So Google launched its very own Chrome browser, which like most Google services is still in the beta stage and not very efficient on the GNU/Linux platform. But the next problem Google faced was how to entice users of Windows or a Mac to the world of Chrome. So it decided to develop its own operating system as well.
While analysts are busy studying the impact this OS will have on the market, industry and FOSS leaders have refused to comment on the Google Chrome OS. When I asked him for his opinion, leading Linux kernel developer, Greg Kroah-Hartman said, “There’s nothing to comment on regarding a press-release. I prefer to see actual code.”
The timing could not have been better. Netbooks are now the preferred choice of more and more advanced on-the-move users. The trend is catching up in India as well. Last week I was travelling from Delhi to Lucknow on the Shatabdi, and from among the five laptop users in my compartment, two were using netbooks.
Now, what are you going to run on a netbook? Vista has been a huge disaster and PC makers have had to go back to a Flintstone Age Windows-XP. (Microsoft, on its part, is still trying to harvest that old crop, as it has nothing more efficient in its barn.) GNU/Linux players like Novell and Red Hat have little interest in home users. The only commercial player that is giving Microsoft and Apple a tough fight is Canonical’s Ubuntu.
Microsoft’s polished and rechristened Vista (under the name of Windows 7), which is around the corner, is supposed to run well on netbooks. Well, Microsoft committed the blunder of claiming Vista and IE7 to be the best OS and browsers ever, which only helped it in losing its credibility further. Besides, the price tag that Windows comes with has also upset the OEMs. Now, what better position than this, for OEMs to not only bargain with Microsoft but also delay deals with the Redmond giant as the Chrome OS will offer a ‘free’ (as in cost and customisation) alternative.
Google is already working with Acer, Adobe, ASUS, Freescale, Hewlett-Packard, Lenovo, Qualcomm, Texas Instruments and Toshiba—a very impressive partner list indeed. On the other side, Google has its Android OS for the mobile segment; thus the company has just started to stretch its boundaries—the full extent of which is still unclear. The announcement of the Chrome OS has definitely put Microsoft in a sorry state. The company is now not in a position to further re-work on its already reworked ‘Vista as Windows 7’ to make it better.
Google, on the other hand, now has more muscle to influence hardware players than ever before. It is already driving the Open Handset Alliance, which brought the company closer to the hardware players. And now with the Chrome OS, the search engine giant has touched MS’s pain point.
Typically, the netbook players will now be working closer with Google than with Microsoft, because they will have a free version of an OS with much more control for customisation as compared to Microsoft’s product, since Chrome follows the Free Software policy. Also, since it is based on the Linux kernel, it is secure by design—which addresses one of the major concerns of netbook users.
What we expect to happen is that more and more netbook players will install the Chrome OS on their machines, which will give Google a strategic advantage to drive users to use its services and make money for itself as well as its partners. This seems to be the best deal for GNU/Linux as well as for OEMs.
But, there are bigger dangers with using Google, compared to Apple or Microsoft. Everything you do today, using any of the Google services, gives Google access to all your data and information. Honestly, today Google knows more about you than the government does.
RMS has already warned us all against going in blindly for such services. If successful, the Chrome OS will put Google in a monopolistic position—and it’s no news that monopolies tend to exploit users and kill competitors. One of the biggest examples is Intel, which now seems to have forgotten the foundations laid by Moore, and is now getting into the same sinful practices as its brother-in-arms, Microsoft.
I guess it is fine to support the Chrome OS in the beginning, because it is very important to continue creating and strengthening free alternatives of any software that people would depend on. But what I would like to add is, “Welcome Chrome, but Ubuntu and others… pull up your socks! We might need your help soon.”
Thursday, July 30, 2009
Wednesday, July 29, 2009
Crazy Commands !
Many of us who love to work on Linux enjoy the privilege of using a plethora of commands and tools. Here is our effort to introduce you to a few very simple- to-use, yet enormously effective commands. The intended audience may belong to all classes of Linux users and the only requirement is to have a basic acquaintance with Linux. Our article deals with bash shell and Linux version Fedora 9, kernel 2.6.25.
1. Often, commands on the console may span many lines, and encountering a type mistake at the beginning of the command would require you to use the slow way of punching the right/left arrow keys to traverse in the command string.
Remedy: Try Ctrl+e to move to the end of the command string and Ctrl+a to reach start. It’s the fastest way to edit a Linux command line. To delete a word in the command string, use Ctrl+w.
2. Another wonder of a simple shell variable is !$. Let’s say you have to create a directory, go into it and then rename it. So the flow of commands would be:
$ mkdir your_dir
$ mv your_dir my_dir
$ cd my_dir
Remedy: Well, Linux has a shorter and quicker way:
$ mkdir your_dir
$ mv !$ my_dir
$ cd !$
!$ points to the last string in the command string. This is useful in various scenarios where the last word of command string is to be used in subsequent commands (almost with all Linux commands like vi, tar, gzip, etc).
3. Do you want to know what an ls or a date command does internally? Just run the following code to get to know the basic block of any Linux command:
$ strace -c /usr/bin/ls
strace is a system call monitor command and provides information about system calls made by an application, including the call arguments and return value.
4. What if you want to create a chain of directories and sub-directories, something like /tmp/our/your/mine?
Remedy: Try this:
$ mkdir -p /tmp/our/your/mine
5. One very interesting way to combine some related commands is with &&.
$ cd dir_name && ls -alr && cd ..
6. Now for some fun! Have you ever tried checking the vulnerability of your Linux system? Try a fork-bomb to evaluate this:
$ :( ){ :| : & };:
It’s actually a shell function; look closely and it’s an unnamed function :( ) with the body enclosed in {}. The statement ‘ :| :’ makes a call to the function itself and pipes the output to another function call—thus we are calling the function twice. & puts all processes in the background and hence you can’t kill any process. Finally ‘;’ completes the function definition and the last ‘:’ initiates a call to this unnamed function. So it recursively creates processes and eventually your system will hang. This is one of the most dangerous Linux commands and may cause your computer to crash!
Remedy: How to avoid a fork bomb? Of course, by limiting the process limit; you need to edit /etc/security/limits.conf. Edit the variable nproc to user_name hard nproc 100. You require root privileges to modify this file.
7. One more dirty way to hack into the system is through continuous reboots, resulting in the total breakdown of a Linux machine. Here’s an option that you need root access for. Edit the file /etc/inittab and modify the line id:5:initdefault: to id:6:initdefault:. That’s all! Linux specifies various user modes and 6 is intended for reboot. Hence, your machine keeps on rebooting every time it checks for the default user mode.
Remedy: Modify your Grub configuration (the Linux bootloader) and boot in single user mode. Edit the file /etc/inittab and change the default user level to 5.
I hope you’ll have some fun trying out these commands, and that they bring you closer to Linux. Please do share your feedback and comments.
1. Often, commands on the console may span many lines, and encountering a type mistake at the beginning of the command would require you to use the slow way of punching the right/left arrow keys to traverse in the command string.
Remedy: Try Ctrl+e to move to the end of the command string and Ctrl+a to reach start. It’s the fastest way to edit a Linux command line. To delete a word in the command string, use Ctrl+w.
2. Another wonder of a simple shell variable is !$. Let’s say you have to create a directory, go into it and then rename it. So the flow of commands would be:
$ mkdir your_dir
$ mv your_dir my_dir
$ cd my_dir
Remedy: Well, Linux has a shorter and quicker way:
$ mkdir your_dir
$ mv !$ my_dir
$ cd !$
!$ points to the last string in the command string. This is useful in various scenarios where the last word of command string is to be used in subsequent commands (almost with all Linux commands like vi, tar, gzip, etc).
3. Do you want to know what an ls or a date command does internally? Just run the following code to get to know the basic block of any Linux command:
$ strace -c /usr/bin/ls
strace is a system call monitor command and provides information about system calls made by an application, including the call arguments and return value.
4. What if you want to create a chain of directories and sub-directories, something like /tmp/our/your/mine?
Remedy: Try this:
$ mkdir -p /tmp/our/your/mine
5. One very interesting way to combine some related commands is with &&.
$ cd dir_name && ls -alr && cd ..
6. Now for some fun! Have you ever tried checking the vulnerability of your Linux system? Try a fork-bomb to evaluate this:
$ :( ){ :| : & };:
It’s actually a shell function; look closely and it’s an unnamed function :( ) with the body enclosed in {}. The statement ‘ :| :’ makes a call to the function itself and pipes the output to another function call—thus we are calling the function twice. & puts all processes in the background and hence you can’t kill any process. Finally ‘;’ completes the function definition and the last ‘:’ initiates a call to this unnamed function. So it recursively creates processes and eventually your system will hang. This is one of the most dangerous Linux commands and may cause your computer to crash!
Remedy: How to avoid a fork bomb? Of course, by limiting the process limit; you need to edit /etc/security/limits.conf. Edit the variable nproc to user_name hard nproc 100. You require root privileges to modify this file.
7. One more dirty way to hack into the system is through continuous reboots, resulting in the total breakdown of a Linux machine. Here’s an option that you need root access for. Edit the file /etc/inittab and modify the line id:5:initdefault: to id:6:initdefault:. That’s all! Linux specifies various user modes and 6 is intended for reboot. Hence, your machine keeps on rebooting every time it checks for the default user mode.
Remedy: Modify your Grub configuration (the Linux bootloader) and boot in single user mode. Edit the file /etc/inittab and change the default user level to 5.
I hope you’ll have some fun trying out these commands, and that they bring you closer to Linux. Please do share your feedback and comments.
Wednesday, July 15, 2009
Forget Computer Hacking, your BRAIN may be the next !
I'm really shocked with this article published in the Times Group.
IT sectors are busy fighting with the word "HACK" nowadays, If computer hacking not be cured yet, What about saving brain ?
According to the experts, Hackers who can easily break into computers are giving researchers sleepless night as they hear that someday, Human mind get hacked as well.
In the last few years researchers have developed technologies that makes it possible to use thoughts to operate computers, maneuver a wheelchair or even use Twitter, all without lifting a finger. But as neural devices become more complicated and go wireless, some scientists say the risk of "BRAIN HACKING" should be taken seriously.
So what to say on this, Is it possible ?
Three questions arising here,
1. Why anyone would want to hack other's brain ?
2. What will be the wireless range ?
3. What will be the anti-hacking software then, and where to install it ?
IT sectors are busy fighting with the word "HACK" nowadays, If computer hacking not be cured yet, What about saving brain ?
According to the experts, Hackers who can easily break into computers are giving researchers sleepless night as they hear that someday, Human mind get hacked as well.
In the last few years researchers have developed technologies that makes it possible to use thoughts to operate computers, maneuver a wheelchair or even use Twitter, all without lifting a finger. But as neural devices become more complicated and go wireless, some scientists say the risk of "BRAIN HACKING" should be taken seriously.
So what to say on this, Is it possible ?
Three questions arising here,
1. Why anyone would want to hack other's brain ?
2. What will be the wireless range ?
3. What will be the anti-hacking software then, and where to install it ?
Is Sun's demise = failure of the Open Source model ???
Let's Check it out !
There is a feeling that Sun's demise also means the failure of Open source model. But this isn't correct. Sun failed due to the problems it inherited.
Laurent Lachal, director, open source research, Ovum notes, "Oracle is better positioned to make money out of this business than Sun was, Sun didn't make much of its open source software because software business-irrespective of the software being open source or not.
"Its tough to make money in any business these days, let alone a profitable s/w business. There are small number of companies that have built successful open source business. But REDHAT proves that it is possible to build a successful open source business".
By: Jim Zemlin, executive director, The Linux Foundation
There is a feeling that Sun's demise also means the failure of Open source model. But this isn't correct. Sun failed due to the problems it inherited.
Laurent Lachal, director, open source research, Ovum notes, "Oracle is better positioned to make money out of this business than Sun was, Sun didn't make much of its open source software because software business-irrespective of the software being open source or not.
"Its tough to make money in any business these days, let alone a profitable s/w business. There are small number of companies that have built successful open source business. But REDHAT proves that it is possible to build a successful open source business".
By: Jim Zemlin, executive director, The Linux Foundation
!!! ORACLE GRAVITY PULLS IN SUN !!!

"Sun's failure is not the failure of Open Source"
Michel Tiemann (pic), The president of Open source affairs ar REDHAT Inc. addressed a press conference: A Summary -->
It will be totally a Culture Shock for Sun Developrs at Oracle, Sun was known as the open source company but Oracle doesn't have that reputation. He told that Oracle has been contributing to the Linux kernel for quite some time.
Open source is a great way to grow a value of technology asset, so perhaps Oracle will directly attack to Java.Customers are looking for heterogeneous environments and they find Redhat and Oracle better than Microsoft, while Redhat is leading open source company, Oracle offers a mix.
--> David Axmark, co-founder, MySQL Database:
The whole idea with FLOSS software is that it doesn't matterwho owns it even remotely as much as it does for closed source software. So they (customers-users) can continue to use MySQL whatever happens. And there are still tons of good MySQL support people at Sun, so there is no problem buying support from Sun.
(I think Axmark has a strong point in this)
--> Monty Widenius, co-founder, MySQL Database:
"We would be happy to cooperate very closely with Oracle but we are not likely to join. After working for a big company like Sun, we enjoy the extra freedom and benefits we get in a smaller company. Another thing is that I don't think Oracle can match the benefits of the hacking business model we have been using."
(Hmmmm...Kool down Mr. Widenius)
Fight Club (Mandriva vs Windows 7)


The war has begun, The final release of Windows 7, the latest (and greatest?) version of windows is just months away.
A face off between Mandriva Linux 2009.1 spring and the release candidate of Windows 7 which is freely available on Microsoft's site (FREELY)!!!
I read the article quite many times repeatedly and can extract an idea that gradually Microsoft is moving towards open source business, but it will be too early to say this.
In Windows 7 Microsoft tried a lot for GUI support and must say, They succeeded !!!
Here I provide Ratings b/w them:
__________________________________________
Ratings windows Mandriva 2009
__________________________________________
Looks 8 5
Speed 16 mins+user 11 mins+user
Function 4 7
Codec support 8.5 9
h/w support 9 9
__________________________________________
So, guyzzz it's upon you to judge :-))
My views:
I use Linux O/S with a real flair, but judging on the fact,
Don't be Fooled!!! Mandriva any day!
Though Windows looks great but does nothing else, we (RHCEs) are command line experts and say, GUI are for idiots :-(
So, if you need good version of Linux kernel, other than Fedora they can also go with Mandriva spring edition.
Thursday, July 9, 2009
Frauds beware, software can see through disguise !


A cutting-edge face recognition software could revolutionize security systems, especially if it can see through disguises, according to the latest research.
Every face has special features that define that person, yet faces can also be very similar, explained Ling Huang from from Florida Atlantic University (FLA)in Boca Raton. That makes computerized face recognition for security and other applications an interesting but difficult task. however, powerful techniques have so far required powerful computers.
Now, Huang and colleagues Hanqi Zuhang and Salvotore Morgera, have applied a one dimensional filter to the two dimensional data from conventional analysis, such as the Gabor method this allows them to reduce significantly the amount of computer power required without compromising accuracy. It can even see through certain types of disguises such as facial hair and glasses.
The team tested the performance of their new algorithm on a standard database of 400 images and 40 subjects. They found that their technique is not only faster and works with low resolution images, such as those produced by CCTV cameras, but also solves the variation problems caused by different light levels and shadows, viewing directions, pose and facial expressions.
Face recognition software has been in development for many years. However, for biometric authentication at border crossings, for access to buildings, for automated banking and crime investigation.
Monday, March 30, 2009
Red Hat Certified Engineer (RHCE)
Subscribe to:
Posts (Atom)





