<?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:blogger='http://schemas.google.com/blogger/2008' 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-7012178422827630178</id><updated>2024-08-29T23:53:35.252-07:00</updated><title type='text'>linux</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://linux-hai-bhai.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012178422827630178/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://linux-hai-bhai.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>A True Engineer</name><uri>http://www.blogger.com/profile/06952307779345396757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7012178422827630178.post-5240516342352768579</id><published>2008-05-05T02:04:00.000-07:00</published><updated>2009-07-20T05:40:07.168-07:00</updated><title type='text'>Monitor resolution test using perl</title><content type='html'>dccmd.exe is a tool which gives all supported resolutions of a monitor.&lt;br /&gt;Download Location:&lt;br /&gt;http://www.softpedia.com/get/System/OS-Enhancements/ResChange.shtml&lt;br /&gt;&lt;br /&gt;If somebody wants to write a script to test &lt;br /&gt;the graphics or resolutions supported by the Monitor &lt;br /&gt;we can write a basic perl script as below:&lt;br /&gt;&lt;br /&gt;#!c:\Perl\bin\perl.exe&lt;br /&gt;#use Strict;&lt;br /&gt;#use warnings;&lt;br /&gt;&lt;br /&gt;# Find all posible resolutions supported by the used monitor &lt;br /&gt;# And capture the command output.&lt;br /&gt;open(SYSCMD, &quot;dccmd -listmodes |&quot;);&lt;br /&gt;&lt;br /&gt;while(&lt;SYSCMD&gt;)&lt;br /&gt; {&lt;br /&gt;  if(/(\d+)[\s+](.*)$/)&lt;br /&gt;   { &lt;br /&gt;    chomp;&lt;br /&gt;    push(@X_Cord, $1);&lt;br /&gt;   }&lt;br /&gt;  if(/[\s+](\d+)(\s+)(.*)$/)&lt;br /&gt;   { &lt;br /&gt;    chomp;&lt;br /&gt;    push(@Y_Cord, $1);&lt;br /&gt;&lt;br /&gt;   }&lt;br /&gt;  if(/[\s+](\d+)(\s+)(\d+)$/)&lt;br /&gt;   { &lt;br /&gt;    chomp;&lt;br /&gt;    push(@depth, $1);&lt;br /&gt;&lt;br /&gt;   }&lt;br /&gt;  if(/[\s+](\d+)$/)&lt;br /&gt;   { &lt;br /&gt;    chomp;&lt;br /&gt;    push(@refresh, $1);&lt;br /&gt;&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt; }&lt;br /&gt;close(SYSCMD);&lt;br /&gt;&lt;br /&gt;# Put all supported resolutions in arrays &lt;br /&gt;# And count any one arrays length.&lt;br /&gt;&lt;br /&gt;$Count = @X_Cord;&lt;br /&gt;&lt;br /&gt;# Use dccmd tool to run any utility of test &lt;br /&gt;# in all posible resolutions&lt;br /&gt;# For example I am running &lt;br /&gt;# a movie using media player classic&lt;br /&gt;# Once the movie will be over in one particular resolution, &lt;br /&gt;# it will come back to original resolution &lt;br /&gt;# and again go back to next resolution &lt;br /&gt;# and run the movie again&lt;br /&gt;&lt;br /&gt;for ($i=0; $i &lt;= $Count; $i++)&lt;br /&gt;{&lt;br /&gt; `dccmd -force -width=$X_Cord[$i] -height=$Y_Cord[$i] -depth=$depth[$i] -refresh=$refresh[$i] mplayerc.exe /play pursuit_of_happiness.avi /close /fullscreen`;&lt;br /&gt;}</content><link rel='replies' type='application/atom+xml' href='http://linux-hai-bhai.blogspot.com/feeds/5240516342352768579/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7012178422827630178/5240516342352768579' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012178422827630178/posts/default/5240516342352768579'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012178422827630178/posts/default/5240516342352768579'/><link rel='alternate' type='text/html' href='http://linux-hai-bhai.blogspot.com/2008/05/pcietesting.html' title='Monitor resolution test using perl'/><author><name>A True Engineer</name><uri>http://www.blogger.com/profile/06952307779345396757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012178422827630178.post-1098397026270313223</id><published>2007-07-11T00:51:00.000-07:00</published><updated>2007-12-21T01:55:59.377-08:00</updated><title type='text'>How to mount a USB drive if its not auto mounted in Linux</title><content type='html'>1. cat /proc/partitions - find the partition of your USB stick&lt;br /&gt;( Check for all entries with USB drive connected and without USB drive connected, and the diff is the name of USB partition)&lt;br /&gt;   2. make a mount point (perhaps in /media) to which you will mount the USB stick&lt;br /&gt;   3. for user accessibility, edit your /etc/fstab file&lt;br /&gt;   4. mount the usb stick&lt;br /&gt;&lt;br /&gt;Most of the time, when you plug in a USB stick or card reader (with a card in it), SUSE Linux will just pop open a window asking you if you want to see the contents of the device. However, in cases where that does not happen, or you are using a distribution that doesn’t do that, this trick should work.&lt;br /&gt;&lt;br /&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--&lt;br /&gt;google_ad_client = &quot;pub-2870697527299195&quot;;&lt;br /&gt;//728x90, created 12/5/07&lt;br /&gt;google_ad_slot = &quot;8825259108&quot;;&lt;br /&gt;google_ad_width = 728;&lt;br /&gt;google_ad_height = 90;&lt;br /&gt;//--&gt;&lt;/script&gt;&lt;br /&gt;&lt;script type=&quot;text/javascript&quot;&lt;br /&gt;src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--&lt;br /&gt;google_ad_client = &quot;pub-2870697527299195&quot;;&lt;br /&gt;//728x90, created 12/21/07&lt;br /&gt;google_ad_slot = &quot;0725703335&quot;;&lt;br /&gt;google_ad_width = 728;&lt;br /&gt;google_ad_height = 90;&lt;br /&gt;//--&gt;&lt;/script&gt;&lt;br /&gt;&lt;script type=&quot;text/javascript&quot;&lt;br /&gt;src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;&lt;br /&gt;&lt;/script&gt;</content><link rel='replies' type='application/atom+xml' href='http://linux-hai-bhai.blogspot.com/feeds/1098397026270313223/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7012178422827630178/1098397026270313223' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012178422827630178/posts/default/1098397026270313223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012178422827630178/posts/default/1098397026270313223'/><link rel='alternate' type='text/html' href='http://linux-hai-bhai.blogspot.com/2007/07/how-to-mount-usb-drive-if-its-not-auto.html' title='How to mount a USB drive if its not auto mounted in Linux'/><author><name>A True Engineer</name><uri>http://www.blogger.com/profile/06952307779345396757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7012178422827630178.post-5886723828156003754</id><published>2007-07-02T01:22:00.000-07:00</published><updated>2007-07-02T01:34:15.722-07:00</updated><title type='text'>Change the IP permanently..in linux</title><content type='html'># cd /etc/sysconfig/network-scripts&lt;br /&gt;&lt;br /&gt;# ls -l will give the listing of files as per the no of ethernet cards installed&lt;br /&gt;&lt;br /&gt;suppose you want to change the IP of eth0.&lt;br /&gt;The concerned file will be &quot;ifcfg-eth0&quot;&lt;br /&gt;&lt;br /&gt;So edit the file and change the IP as per requirement and save and exit.</content><link rel='replies' type='application/atom+xml' href='http://linux-hai-bhai.blogspot.com/feeds/5886723828156003754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7012178422827630178/5886723828156003754' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7012178422827630178/posts/default/5886723828156003754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7012178422827630178/posts/default/5886723828156003754'/><link rel='alternate' type='text/html' href='http://linux-hai-bhai.blogspot.com/2007/07/change-ip-permanentlyin-linux.html' title='Change the IP permanently..in linux'/><author><name>A True Engineer</name><uri>http://www.blogger.com/profile/06952307779345396757</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>