<?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-5603054489546528346</id><updated>2011-11-27T15:43:11.259-08:00</updated><category term='port unix networking'/><title type='text'>Thamasoma Jyotirgamaya</title><subtitle type='html'>"Asathoma Sathgamaya, 
Thamasoma Jyotirgamaya, 
Mruthyoma Amruthamgamaya"
                          
This is my first step to Blog World..</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://nobleantonyt.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5603054489546528346/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://nobleantonyt.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>ആശാന്(ashaan)</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5603054489546528346.post-3829914573812521128</id><published>2009-02-10T05:35:00.000-08:00</published><updated>2009-02-10T05:37:57.690-08:00</updated><title type='text'>Version of Ubuntu is installed.?</title><content type='html'>How to know, the release version of Ubuntu installed in your system..?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$&lt;span style="font-weight: bold;"&gt;lsb_release -a&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;No LSB modules are available.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;Distributor ID:    Ubuntu&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;Description:    Ubuntu 8.10&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;Release:    8.10&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;Codename:    intrepid&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5603054489546528346-3829914573812521128?l=nobleantonyt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nobleantonyt.blogspot.com/feeds/3829914573812521128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5603054489546528346&amp;postID=3829914573812521128' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5603054489546528346/posts/default/3829914573812521128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5603054489546528346/posts/default/3829914573812521128'/><link rel='alternate' type='text/html' href='http://nobleantonyt.blogspot.com/2009/02/version-of-ubuntu-is-installed.html' title='Version of Ubuntu is installed.?'/><author><name>ആശാന്(ashaan)</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5603054489546528346.post-6994623771693822932</id><published>2009-02-10T05:32:00.000-08:00</published><updated>2009-02-10T05:35:26.008-08:00</updated><title type='text'>Installed package version.</title><content type='html'>How to know the Installed version of  the particular package in debian..?&lt;br /&gt;&lt;br /&gt;You can use the following command...&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;apt-cache show &lt;package-name&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;That will list the version information.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5603054489546528346-6994623771693822932?l=nobleantonyt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nobleantonyt.blogspot.com/feeds/6994623771693822932/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5603054489546528346&amp;postID=6994623771693822932' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5603054489546528346/posts/default/6994623771693822932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5603054489546528346/posts/default/6994623771693822932'/><link rel='alternate' type='text/html' href='http://nobleantonyt.blogspot.com/2009/02/installed-package-version.html' title='Installed package version.'/><author><name>ആശാന്(ashaan)</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5603054489546528346.post-8577702895888049155</id><published>2008-06-04T06:20:00.000-07:00</published><updated>2008-06-04T06:52:15.994-07:00</updated><title type='text'>Useful gdb commands</title><content type='html'>&lt;span style="font-size:100%;"&gt;The following will be useful for the GDB..&lt;br /&gt;&lt;br /&gt;(gdb) disassem&lt;/span&gt;&lt;br /&gt;        &lt;span style="font-style: italic;font-size:85%;" &gt;(display memory as machine instructions)&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;(gdb) info frame&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;         &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;font-size:85%;" &gt; (describe current frame or frame at [addr])&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5603054489546528346-8577702895888049155?l=nobleantonyt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nobleantonyt.blogspot.com/feeds/8577702895888049155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5603054489546528346&amp;postID=8577702895888049155' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5603054489546528346/posts/default/8577702895888049155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5603054489546528346/posts/default/8577702895888049155'/><link rel='alternate' type='text/html' href='http://nobleantonyt.blogspot.com/2008/06/useful-gdb-commands.html' title='Useful gdb commands'/><author><name>ആശാന്(ashaan)</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5603054489546528346.post-15643052105129614</id><published>2008-06-03T02:07:00.000-07:00</published><updated>2008-06-03T02:13:41.227-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='port unix networking'/><title type='text'>Check availability of a Socket.</title><content type='html'>To check whether a particular port is available or not, we can use&lt;br /&gt;&lt;br /&gt;1) netstat -a &lt;br /&gt;    { if you are in the same computer, it will list all the ports it is listening, and all the connections established. }&lt;br /&gt;&lt;br /&gt;2) nmap&lt;br /&gt;    { if you are checking from a remote system, whether a particular port is available.}&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;stinbng51:/home/nthattil# nmap -sU -p 4343 x.x.x.x&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Starting nmap 3.81 ( http://www.insecure.org/nmap/ ) at 2008-06-03 14:25 IST&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Interesting ports on stinbng46 (x.x.x.x):&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;PORT     STATE         SERVICE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;4343/udp open|filtered unicall&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;MAC Address: 00:1E:C9:AD:4F:DE (Unknown)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Nmap finished: 1 IP address (1 host up) scanned in 0.473 seconds&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;stinbng51:/home/nthattil#&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5603054489546528346-15643052105129614?l=nobleantonyt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nobleantonyt.blogspot.com/feeds/15643052105129614/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5603054489546528346&amp;postID=15643052105129614' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5603054489546528346/posts/default/15643052105129614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5603054489546528346/posts/default/15643052105129614'/><link rel='alternate' type='text/html' href='http://nobleantonyt.blogspot.com/2008/06/check-availability-of-socket.html' title='Check availability of a Socket.'/><author><name>ആശാന്(ashaan)</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5603054489546528346.post-6708281353629407659</id><published>2008-01-22T00:29:00.000-08:00</published><updated>2008-01-22T00:34:48.980-08:00</updated><title type='text'>How to get list of installed softwares in Debian/Ubuntu System</title><content type='html'>&lt;code&gt;&lt;span style="font-size:130%;"&gt;The command&lt;br /&gt;&lt;/span&gt;    &lt;span style="font-style: italic; font-weight: bold;font-family:arial;font-size:130%;"  &gt;    $ dpkg --get-selections&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;would list all the installed programs in your debian system.&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5603054489546528346-6708281353629407659?l=nobleantonyt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nobleantonyt.blogspot.com/feeds/6708281353629407659/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5603054489546528346&amp;postID=6708281353629407659' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5603054489546528346/posts/default/6708281353629407659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5603054489546528346/posts/default/6708281353629407659'/><link rel='alternate' type='text/html' href='http://nobleantonyt.blogspot.com/2008/01/how-to-get-list-of-installed-softwares.html' title='How to get list of installed softwares in Debian/Ubuntu System'/><author><name>ആശാന്(ashaan)</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5603054489546528346.post-2692215539969322269</id><published>2008-01-14T06:47:00.000-08:00</published><updated>2008-01-14T06:51:01.679-08:00</updated><title type='text'>Unlock the Installation Lock Ubuntu/debian</title><content type='html'>E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;It says that a lock file preventing your package manager from getting exclusive access.  Package managers create these lock files when they starts and if they crash, you reboot, your power goes out, etc, before they are completed, the lock file remains and the next manager believes another manager is already running&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;font-size:85%;" &gt;sudo rm /var/lib/dpkg/lock&lt;br /&gt;&lt;br /&gt;sudo rm /var/cache/apt/archives/lock&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5603054489546528346-2692215539969322269?l=nobleantonyt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nobleantonyt.blogspot.com/feeds/2692215539969322269/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5603054489546528346&amp;postID=2692215539969322269' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5603054489546528346/posts/default/2692215539969322269'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5603054489546528346/posts/default/2692215539969322269'/><link rel='alternate' type='text/html' href='http://nobleantonyt.blogspot.com/2008/01/unlock-installation-lock-ubuntudebian.html' title='Unlock the Installation Lock Ubuntu/debian'/><author><name>ആശാന്(ashaan)</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5603054489546528346.post-7423228853103967331</id><published>2008-01-14T03:13:00.000-08:00</published><updated>2008-01-14T03:21:09.493-08:00</updated><title type='text'>Enable MACRO in GDB</title><content type='html'>How to Enable MACRO support in GDB..?&lt;br /&gt;&lt;br /&gt;compile your source code using the options -gdwarf-2 -g3,&lt;br /&gt;&lt;pre style="font-style: italic;"&gt;&lt;span style="font-size:130%;"&gt;gcc -gdwarf-2 -g3 &lt;program&gt;&lt;/span&gt;&lt;/pre&gt;then in gdb prompt, you can issue commands&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;macro expand&lt;/span&gt; &lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;expression&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;for more information, you can go &lt;a href="http://developer.apple.com/documentation/DeveloperTools/gdb/gdb/gdb_10.html"&gt;here&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5603054489546528346-7423228853103967331?l=nobleantonyt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nobleantonyt.blogspot.com/feeds/7423228853103967331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5603054489546528346&amp;postID=7423228853103967331' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5603054489546528346/posts/default/7423228853103967331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5603054489546528346/posts/default/7423228853103967331'/><link rel='alternate' type='text/html' href='http://nobleantonyt.blogspot.com/2008/01/enable-macro-in-gdb.html' title='Enable MACRO in GDB'/><author><name>ആശാന്(ashaan)</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5603054489546528346.post-60809534150154836</id><published>2008-01-14T02:39:00.000-08:00</published><updated>2008-01-14T02:55:14.724-08:00</updated><title type='text'>How to know the Linux Distribution Name of your machine?</title><content type='html'>&lt;span style="font-size:85%;"&gt;To get simply the OS kernel version you can use the command &lt;span style="font-style: italic;"&gt;uname -a&lt;br /&gt;&lt;br /&gt;nthattil@nthattil-desktop:~$ &lt;span style="font-weight: bold;"&gt;uname -a&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;Linux nthattil-desktop 2.6.22-14-generic #1 SMP Tue Dec 18 08:02:57 UTC 2007 i686 GNU/Linux&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;But how to know the distribution..?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;You can try one of the below given methods for that..&lt;br /&gt;&lt;span style="font-style: italic;"&gt;nthattil@nthattil-desktop:~$ &lt;span style="font-weight: bold;"&gt;cat /proc/version&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;Linux version 2.6.22-14-generic (buildd@terranova) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Tue Dec 18 08:02:57 UTC 2007&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To get more presided  output, you can use,&lt;br /&gt;&lt;span style="font-style: italic;"&gt;nthattil@nthattil-desktop:~$ &lt;span style="font-weight: bold;"&gt;cat /etc/issue.net&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Ubuntu 7.10&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Or you can also use,&lt;br /&gt;&lt;span style="font-style: italic;"&gt;nthattil@nthattil-desktop:~$ &lt;span style="font-weight: bold;"&gt;dmesg | head -1&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;[    0.000000] Linux version 2.6.22-14-generic (buildd@terranova) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Tue Dec 18 08:02:57 UTC 2007 (Ubuntu 2.6.22-14.47-generic)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5603054489546528346-60809534150154836?l=nobleantonyt.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://nobleantonyt.blogspot.com/feeds/60809534150154836/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5603054489546528346&amp;postID=60809534150154836' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5603054489546528346/posts/default/60809534150154836'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5603054489546528346/posts/default/60809534150154836'/><link rel='alternate' type='text/html' href='http://nobleantonyt.blogspot.com/2008/01/how-to-know-linux-distribution-name-of.html' title='How to know the Linux Distribution Name of your machine?'/><author><name>ആശാന്(ashaan)</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
