<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom="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" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-4128089761558623137</atom:id><lastBuildDate>Sat, 15 Nov 2025 16:11:02 +0000</lastBuildDate><category>ubuntu</category><category>ubuntu 9.04</category><category>desktop</category><category>ubuntu 9.10 Karmic</category><category>deb package</category><category>karmic koala</category><category>android</category><category>apt</category><category>desktop search</category><category>disk space</category><category>dns</category><category>gadget</category><category>gnome</category><category>google</category><category>kde</category><category>linux</category><category>ltsp</category><category>lucid</category><category>music and video</category><category>nautilus</category><category>network</category><category>remote filesystem</category><category>ssh</category><category>sshfs</category><category>youtube</category><title>Experimenting with GNU/Linux</title><description>A platform to learn about GNU Linux  and other  derivatives of Unix</description><link>http://unixlab.blogspot.com/</link><managingEditor>noreply@blogger.com (UbuntuGuru)</managingEditor><generator>Blogger</generator><openSearch:totalResults>178</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-6248248745339145646</guid><pubDate>Wed, 31 May 2017 22:45:00 +0000</pubDate><atom:updated>2017-06-01T04:15:15.337+05:30</atom:updated><title>Reduce the size of PDF files</title><description>&lt;pre style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 1pt none windowtext; color: #303336; padding: 0cm;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;h3 style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;background: rgb(255, 255, 255); border: 1pt none windowtext; padding: 0cm;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;Reduce the size of PDF file using ghost script&lt;/span&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 1pt none windowtext; color: #303336; padding: 0cm;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 1pt none windowtext; padding: 0cm;&quot;&gt;&lt;span style=&quot;color: #303336;&quot;&gt;https://tex.stackexchange.com/questions/73444/can-pdflatex-or-any-tex-package-automatically-rescale-included-images-which-ha&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;h3 style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; vertical-align: baseline;&quot;&gt;
&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 1pt none windowtext; color: #303336; padding: 0cm;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 1pt none windowtext; color: #303336; font-family: inherit, serif; padding: 0cm;&quot;&gt;gswin64c.exe -sDEVICE&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 1pt none windowtext; color: #c31818; font-family: inherit, serif; padding: 0cm;&quot;&gt;&lt;span style=&quot;font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 1pt none windowtext; color: #303336; font-family: inherit, serif; padding: 0cm;&quot;&gt;&lt;span style=&quot;font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;&quot;&gt;pdfwrite -dMaxSubsetPct&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 1pt none windowtext; color: #c31818; font-family: inherit, serif; padding: 0cm;&quot;&gt;&lt;span style=&quot;font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 1pt none windowtext; color: #303336; font-family: inherit, serif; padding: 0cm;&quot;&gt;&lt;span style=&quot;font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;&quot;&gt;100 -dPDFSETTINGS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 1pt none windowtext; color: #c31818; font-family: inherit, serif; padding: 0cm;&quot;&gt;&lt;span style=&quot;font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 1pt none windowtext; color: #303336; font-family: inherit, serif; padding: 0cm;&quot;&gt;&lt;span style=&quot;font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;&quot;&gt;/&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #242729; font-family: &amp;quot;Lucida Grande&amp;quot;; font-size: 11.5pt;&quot;&gt;ebook&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 1pt none windowtext; color: #303336; font-family: inherit, serif; padding: 0cm;&quot;&gt; -dAutoFilterColorImages&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 1pt none windowtext; color: #c31818; font-family: inherit, serif; padding: 0cm;&quot;&gt;&lt;span style=&quot;font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 1pt none windowtext; color: #303336; font-family: inherit, serif; padding: 0cm;&quot;&gt;&lt;span style=&quot;font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;&quot;&gt;false -dColorImageFilter&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 1pt none windowtext; color: #c31818; font-family: inherit, serif; padding: 0cm;&quot;&gt;&lt;span style=&quot;font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 1pt none windowtext; color: #303336; font-family: inherit, serif; padding: 0cm;&quot;&gt;&lt;span style=&quot;font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;&quot;&gt;/FlateEncode -sOutputFile&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pun&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 1pt none windowtext; color: #c31818; font-family: inherit, serif; padding: 0cm;&quot;&gt;&lt;span style=&quot;font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 1pt none windowtext; color: #303336; padding: 0cm;&quot;&gt;&lt;span style=&quot;font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit;&quot;&gt;&quot; Thesis.pdf&quot; -dNOPAUSE -dBATCH &quot;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #333333; font-size: 14.5pt;&quot;&gt;PHD_Thesis_madhu&lt;/span&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 1pt none windowtext; color: #303336; padding: 0cm;&quot;&gt;.pdf &quot;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span class=&quot;pln&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 1pt none windowtext; color: #303336; padding: 0cm;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;margin-bottom: 12.0pt; margin-left: 0cm; margin-right: 0cm; margin-top: 0cm; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #242729; font-family: &amp;quot;Lucida Grande&amp;quot;; font-size: 11.5pt;&quot;&gt;Ghostscript resamples to a given dpi based on dPDFSETTINGS:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.53); font-stretch: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0cm 0cm 12pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #242729; font-family: &amp;quot;Lucida Grande&amp;quot;; font-size: 11.5pt;&quot;&gt;prepress
= 300 dpi&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.53); font-stretch: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0cm 0cm 12pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #242729; font-family: &amp;quot;Lucida Grande&amp;quot;; font-size: 11.5pt;&quot;&gt;printer
= 300 dpi&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.53); font-stretch: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0cm 0cm 12pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #242729; font-family: &amp;quot;Lucida Grande&amp;quot;; font-size: 11.5pt;&quot;&gt;ebook
= 150 dpi&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: rgba(255, 255, 255, 0.53); font-stretch: inherit; font-variant-numeric: inherit; line-height: inherit; margin: 0cm 0cm 12pt; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #242729; font-family: &amp;quot;Lucida Grande&amp;quot;; font-size: 11.5pt;&quot;&gt;screen
= 72 dpi&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</description><link>http://unixlab.blogspot.com/2017/06/reduce-size-of-pdf-files.html</link><author>noreply@blogger.com (madhu)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-7314164481888005814</guid><pubDate>Mon, 26 Sep 2016 05:05:00 +0000</pubDate><atom:updated>2016-09-26T10:35:38.395+05:30</atom:updated><title>Pattern download wget </title><description>&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Pattern&amp;nbsp;&quot;*1080*mov&quot;&amp;nbsp;with one level (red colour) down search&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
wget -A &quot;*1080*mov&quot; -r -np -nc -l&lt;span style=&quot;color: red;&quot;&gt;1&lt;/span&gt; --no-check-certificate -e robots=off http://www.example.com&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
link&amp;nbsp;&lt;a href=&quot;http://stackoverflow.com/questions/20927157/wget-accept-files-containing-pattern&quot;&gt;http://stackoverflow.com/questions/20927157/wget-accept-files-containing-pattern&lt;/a&gt;&lt;/div&gt;
</description><link>http://unixlab.blogspot.com/2016/09/pattern-download-wget.html</link><author>noreply@blogger.com (madhu)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-3061598782439243333</guid><pubDate>Tue, 21 Apr 2015 01:50:00 +0000</pubDate><atom:updated>2015-04-21T07:20:30.848+05:30</atom:updated><title>Installing Torque on debian 7</title><description>&lt;div&gt;
# DO the following after installation into default&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
# Configure the trqauthd daemon to start automatically at system boot&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;cp contrib/init.d/debian.trqauthd.in /etc/init.d/trqauthd.in&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
# Fix the server_name in /var/spool/torque/server_name&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;echo &quot;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;$HOSTNAME&quot;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;&amp;gt;/var/spool/torque/server_name&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;echo &#39;/usr/local/lib&#39; &amp;gt; /etc/ld.so.conf.d/torque.conf&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;ldconfig&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: blue;&quot;&gt;cp contrib/init.d/debian.pbs_mom.in /etc/init.d/pbs_mom&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;update-rc.d pbs_mom defaults&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;cp contrib/init.d/debian.pbs_server.in /etc/init.d/pbs_server&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;update-rc.d pbs_server defaults&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;echo &quot;\$pbsserver $HOSTNAME&quot; | sudo tee /var/spool/torque/mom_priv/config&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;echo &quot;$HOSTNAME np=`cat /proc/cpuinfo | grep processor | wc -l`&quot; | sudo tee /var/spool/torque/server_priv/nodes&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;cp pbs_server pbs_mom pbs_sched /etc/init.d/&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;qterm&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;pbs_server&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;pbs_mom&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;pbs_sched&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
# &amp;nbsp;see if nodes are available:&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;qnodes -a&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
# setup database&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;pbs_server -t create&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
# create queue and set server settings in database&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;Code:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;qmgr&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;create queue batch&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;set queue batch queue_type = Execution&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;set queue batch max_running = 22&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;set queue batch resources_max.ncpus = 24&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;set queue batch resources_max.nodes = 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;set queue batch resources_default.ncpus = 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;set queue batch resources_default.neednodes = 1:ppn=24&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;set queue batch resources_default.walltime = 3600:00:00&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;set queue batch max_user_run = 6&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;set queue batch enabled = True&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;set queue batch started = True&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;set server default_queue = batch&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;set server scheduling = True&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;exit&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
# restart the server&lt;br /&gt;
trqauthd&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;qterm&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;pbs_server&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;pbs_sched &lt;/span&gt;&amp;nbsp;# this will give some warning about missing files&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;pbs_mom&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
# &amp;nbsp;important&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;sudo su &amp;nbsp; # login to root&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;qterm -t quick&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;momctl -s &amp;nbsp;% shutdown pbs_mom&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;killall pbs_sched &amp;nbsp;% kill all sched&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;pbsnodes -a &amp;nbsp;%% all should be free&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: red;&quot;&gt;qmgr -a -c &#39;set node cvraman state=free&#39;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
</description><link>http://unixlab.blogspot.com/2015/04/installing-torque-on-debian-7.html</link><author>noreply@blogger.com (madhu)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-7879821710582977899</guid><pubDate>Tue, 21 Apr 2015 01:41:00 +0000</pubDate><atom:updated>2016-04-20T07:56:11.357+05:30</atom:updated><title>Rename files recursively in Linux</title><description>&lt;br /&gt;
&lt;div class=&quot;crayon-pre&quot; style=&quot;background-image: none; border: none; margin: 0px; overflow: visible; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-5535a94830d96266107275-1&quot; style=&quot;background-position: 0px 50%; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px 5px; vertical-align: baseline; white-space: pre;&quot;&gt;
&lt;span style=&quot;color: #0b0412;&quot;&gt;copy folders between linux servers&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #0b0412;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #fafbfc; color: #666666; font-family: &amp;quot;consolas&amp;quot; , &amp;quot;monaco&amp;quot; , &amp;quot;menlo&amp;quot; , &amp;quot;courier&amp;quot; , &amp;quot;verdana&amp;quot; , sans-serif; font-size: 16px; line-height: 16px; white-space: normal;&quot;&gt;rsync -avh ssh /home/foo jerry@openbsd.nixcraft.in:/home/madhu/&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; color: rgb(0 , 45 , 122); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; color: rgb(0 , 45 , 122); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;#In the specified directory &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-5535a94830d96266107275-1&quot; style=&quot;background-position: 0px 50%; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px 5px; vertical-align: baseline; white-space: pre;&quot;&gt;
&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; color: rgb(0 , 45 , 122); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-5535a94830d96266107275-1&quot; style=&quot;background-position: 0px 50%; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px 5px; vertical-align: baseline; white-space: pre;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; color: rgb(0 , 45 , 122); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;find&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0 , 111 , 224); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; color: rgb(0 , 111 , 224); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; color: rgb(0 , 45 , 122); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;my&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; color: rgb(0 , 111 , 224); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; color: rgb(0 , 45 , 122); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;directory&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; color: rgb(0 , 111 , 224); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0 , 111 , 224); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; color: rgb(0 , 111 , 224); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-i&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;name&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0 , 111 , 224); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-s&quot; style=&quot;border: 0px; color: rgb(0 , 128 , 0); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;*.jpeg&quot;&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0 , 111 , 224); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; color: rgb(0 , 111 , 224); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;border: 0px; color: rgb(0 , 78 , 208); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;exec &lt;/span&gt;&lt;span class=&quot;crayon-i&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;rename&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0 , 111 , 224); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; color: rgb(0 , 45 , 122); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;s&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; color: rgb(0 , 111 , 224); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; color: rgb(51 , 51 , 51); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; color: rgb(0 , 45 , 122); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;jpeg&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; color: rgb(0 , 111 , 224); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; color: rgb(51 , 51 , 51); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;border: 0px; color: rgb(0 , 45 , 122); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;jpg&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;border: 0px; color: rgb(0 , 111 , 224); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0 , 111 , 224); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; color: rgb(51 , 51 , 51); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; color: rgb(51 , 51 , 51); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;border: 0px; color: rgb(0 , 111 , 224); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; color: rgb(51 , 51 , 51); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-5535a94830d96266107275-1&quot; style=&quot;background-position: 0px 50%; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px 5px; vertical-align: baseline; white-space: pre;&quot;&gt;
&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; color: rgb(51 , 51 , 51); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-5535a94830d96266107275-1&quot; style=&quot;background-position: 0px 50%; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px 5px; vertical-align: baseline; white-space: pre;&quot;&gt;
# In all subdirectories&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-5535a94830d96266107275-1&quot; style=&quot;background-position: 0px 50%; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px 5px; vertical-align: baseline; white-space: pre;&quot;&gt;
&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; color: rgb(51 , 51 , 51); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;# Rename &#39;&lt;/span&gt;.gz%0D&#39; extension to &#39;.gz&#39;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-5535a94830d96266107275-1&quot; style=&quot;background-position: 0px 50%; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px 5px; vertical-align: baseline; white-space: pre;&quot;&gt;
&lt;span class=&quot;crayon-sy&quot; style=&quot;border: 0px; color: rgb(51 , 51 , 51); font-family: inherit; font-size: inherit; font-weight: inherit; height: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-5535a94830d96266107275-1&quot; style=&quot;background-position: 0px 50%; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; height: inherit; margin: 0px; padding: 0px 5px; vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; white-space: pre;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;find . -name &quot;*.gz%0D&quot; -exec rename s/.gz%0D/.gz/ {} \;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; white-space: pre;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; white-space: pre;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; white-space: pre;&quot;&gt;
# Unzip recursievly &amp;nbsp;in all subdirectories&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; white-space: pre;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; white-space: pre;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; white-space: pre;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;find . -name &quot;*.gz&quot; | xargs gunzip&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; white-space: pre;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
# find number of file in all subdirectories&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; white-space: pre;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; white-space: pre;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;find . -type f | wc -l&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; white-space: pre;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; white-space: pre;&quot;&gt;
&lt;span style=&quot;font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit;&quot;&gt;#  &lt;/span&gt;Delete files with specified extension in all subbirectories &lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; white-space: pre;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; white-space: pre;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;code style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, sans-serif; font-size: 13px; margin: 0px; padding: 1px 5px; white-space: pre-wrap;&quot;&gt;find . -name \*.tiff -type f -delete&lt;/code&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: 15px; line-height: 19.5px; white-space: normal;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; white-space: pre;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: 15px; line-height: 19.5px; white-space: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: inherit;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 15px; line-height: 19.5px;&quot;&gt;Delete ZIP files in all sub folders&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: inherit;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 15px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: inherit;&quot;&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 15px; line-height: 19.5px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 19.5px;&quot;&gt;find . -name &quot;*.ZIP&quot; -print0 | xargs -0 rm -rf&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 19.5px;&quot;&gt;Unzip files in all sub folders&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 19.5px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 19.5px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica neue&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 15px; line-height: 19.5px;&quot;&gt;find . -name &quot;*.ZIP&quot; -exec sh -c &#39;unzip -d &quot;${1%.*}&quot; &quot;$1&quot;&#39; _ {} \;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: inherit;&quot;&gt;
Find all files in sub directories and copy to desired folder&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13.3333px;&quot;&gt;find &amp;lt;start directory&amp;gt; -iname &quot;&amp;lt;all my&amp;nbsp;files type&amp;gt;&quot; -exec&amp;nbsp;cp {} &amp;lt;target_dir&amp;gt; \;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; white-space: pre;&quot;&gt;
&lt;br /&gt;
# See this&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: c&quot; style=&quot;background-color: white; line-height: 18.2px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;$ rename &#39;s/search/replace/;&#39; file1 [file2 file3...]&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;brush: c&quot; style=&quot;background-color: white; line-height: 18.2px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;$ rename &#39;s/tutorial0/mymodel/;&#39; *&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</description><link>http://unixlab.blogspot.com/2015/04/rename-files-recursively-in-linux.html</link><author>noreply@blogger.com (madhu)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-8061967677126401578</guid><pubDate>Thu, 15 May 2014 05:53:00 +0000</pubDate><atom:updated>2014-05-15T11:23:20.632+05:30</atom:updated><title>Converting a space delimited file to tab delimited</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
try this one liner&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span dir=&quot;ltr&quot; id=&quot;:13k&quot;&gt;cat file | tr &#39; &#39; &#39;\t&#39;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&lt;/div&gt;
</description><link>http://unixlab.blogspot.com/2014/05/converting-space-delimited-file-to-tab.html</link><author>noreply@blogger.com (UbuntuGuru)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-1338629750739360163</guid><pubDate>Mon, 10 Jun 2013 10:43:00 +0000</pubDate><atom:updated>2013-06-10T16:13:58.896+05:30</atom:updated><title>How to cut video  using ffmpeg</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
You can cut a piece of video from a bigger video like this.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;ajy&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;ajz&quot; data-tooltip=&quot;Show details&quot; id=&quot;:1ik&quot; role=&quot;button&quot; src=&quot;http://mail.google.com/mail/u/0/images/cleardot.gif&quot; tabindex=&quot;0&quot; /&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #f4f4f4; border: 0px; color: #333333; font-family: &#39;Ubuntu Mono&#39;,&#39;Ubuntu Beta Mono A&#39;,Consolas,&#39;Bitstream Vera Sans Mono&#39;,&#39;Courier New&#39;,Courier,monospace; font-size: 14px; line-height: 18px; margin-bottom: 10px; margin-top: 0px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;code style=&quot;border: 0px; color: #222222; font-family: &#39;Ubuntu Mono&#39;,&#39;Ubuntu Beta Mono A&#39;,Consolas,&#39;Bitstream Vera Sans Mono&#39;,&#39;Courier New&#39;,Courier,monospace; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ffmpeg -ss 00:00:30 -t 00:00:05 -i source_video -vcodec copy -acodec copy newfilename &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
</description><link>http://unixlab.blogspot.com/2013/06/how-to-cut-video-using-ffmpeg.html</link><author>noreply@blogger.com (UbuntuGuru)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-8831228607061107600</guid><pubDate>Tue, 28 May 2013 05:11:00 +0000</pubDate><atom:updated>2013-05-28T10:41:15.130+05:30</atom:updated><title>skype 4.2  j on debian wheezy behind proxy</title><description>The new skype 4.2 on linux machines do not offer a configuration screen when you start it for the first time. If you are behind a proxy, you&amp;nbsp; are stuck.&lt;br /&gt;
&amp;nbsp;Here is the quick solution.&lt;br /&gt;
&amp;nbsp; Start skype. The EULA screen will come up. Accept it (at your own risk). The skype log in screen will come up.&amp;nbsp; Press Cntrol + O . The configuration screen will come up.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrIwrS68mbSGI1nQ6Vxi1wZLqtm7ijfx_KfhGdF3p-xaLX232cu0VmZEKaDE2mKFsZdp_i1G3mMMgrpg8m-fuHgRlCKO7Z75Z54ssRNuDug1-JnCuYZTFVXNzP3DbsRN44qq34qwSo1tE/s1600/skype1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;223&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrIwrS68mbSGI1nQ6Vxi1wZLqtm7ijfx_KfhGdF3p-xaLX232cu0VmZEKaDE2mKFsZdp_i1G3mMMgrpg8m-fuHgRlCKO7Z75Z54ssRNuDug1-JnCuYZTFVXNzP3DbsRN44qq34qwSo1tE/s320/skype1.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhn36BCHfqKQ3IzHCsuN8xgpKpDvkMTeGwS_rdTWvU32OS337cpeQYsLZgdonmbTy5hyQzcHAPPi3z8dAPEIPba5r4xx7OcAd7gHrF-LGi4qYo1GcgrPsX2JQhT8FF9pHfp9znJLJrRuo0/s1600/skype2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;236&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhn36BCHfqKQ3IzHCsuN8xgpKpDvkMTeGwS_rdTWvU32OS337cpeQYsLZgdonmbTy5hyQzcHAPPi3z8dAPEIPba5r4xx7OcAd7gHrF-LGi4qYo1GcgrPsX2JQhT8FF9pHfp9znJLJrRuo0/s320/skype2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;</description><link>http://unixlab.blogspot.com/2013/05/skype-42-j-on-debian-wheezy-behind-proxy.html</link><author>noreply@blogger.com (Fermi Level)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrIwrS68mbSGI1nQ6Vxi1wZLqtm7ijfx_KfhGdF3p-xaLX232cu0VmZEKaDE2mKFsZdp_i1G3mMMgrpg8m-fuHgRlCKO7Z75Z54ssRNuDug1-JnCuYZTFVXNzP3DbsRN44qq34qwSo1tE/s72-c/skype1.png" height="72" width="72"/><thr:total>3</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-5696190264074181254</guid><pubDate>Tue, 28 May 2013 04:56:00 +0000</pubDate><atom:updated>2013-05-28T10:26:09.209+05:30</atom:updated><title>Skype on debian Wheezy amd 64</title><description>Here are is what I did for installing skype on debian wheezy 64 bit.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;1) Enable 32 bit repositories&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;pre&gt;# dpkg --add-architecture i386
&lt;span class=&quot;anchor&quot; id=&quot;line-2-1&quot;&gt;&lt;/span&gt;# apt-get update&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt; 2 Install  libpulse from i386 repository&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;  &amp;nbsp;
# apt-get install libpulse0:i386&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;Download skype from skype.com. Choose debian wheezy package (multiartch)&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;
&lt;/pre&gt;
&lt;pre&gt;
&lt;/pre&gt;
&lt;pre&gt;# dpkg -i skype-debian_4.2.0.11-1_i386.deb&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;pre&gt;The package will fail to configure.&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;Install the dependencies by&amp;nbsp;&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;pre&gt; #apt-get install -f&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;/pre&gt;
&lt;pre&gt;Done :)&lt;/pre&gt;
&lt;pre&gt;
&lt;/pre&gt;
&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;
</description><link>http://unixlab.blogspot.com/2013/05/skype-on-debian-wheezy-amd-64.html</link><author>noreply@blogger.com (Fermi Level)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-16436960606116709</guid><pubDate>Fri, 21 Dec 2012 17:19:00 +0000</pubDate><atom:updated>2012-12-21T22:49:49.876+05:30</atom:updated><title>File format conversion  made simple </title><description>&lt;i&gt;&lt;b&gt;Format Junkie&lt;/b&gt;&lt;/i&gt; is an&amp;nbsp; Graphical&amp;nbsp;
 application which gives you an&amp;nbsp; easy file format manipulation facility on your desktop. The home page of Format Junkie is&amp;nbsp; &lt;a href=&quot;http://sourceforge.net/projects/format-junkie/&quot;&gt;here&lt;/a&gt; . It is available in launch pad so that you can quickly install it&amp;nbsp; on Ubuntu .&lt;br /&gt;
Some of the&amp;nbsp; file conversion&amp;nbsp; capabilities are &lt;br /&gt;
&lt;br /&gt;
a) Audio: Conversion between the audio formats: mp3, mp2, wav, ogg, wma, flac, m4r, m4a and aac&lt;br /&gt;
b) Video: Conversion between the video formats: avi, ogv, vob, mp4, vob, flv, 3gp, mpg, mkv, wmv&lt;br /&gt;
c) Image: Conversion between the image formats: jpg, png, ico, bmp, svg, tif, pcx, pdf, tga, pnm&lt;br /&gt;
d) Iso|Cso Create an iso with selected files, convert iso to cso and vice versa.&lt;br /&gt;
e) Advanced Encode subtitles to an avi file.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=4128089761558623137&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;b&gt;Format Junkie Installation:&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;
Add the ppa to your machine &lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;sudo add-apt-repository ppa:format-junkie-team/release&lt;/span&gt;&lt;/blockquote&gt;
&amp;nbsp;
Install format junkiee&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;sudo apt-get update&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;sudo apt-get install formatjunkie&lt;/span&gt;&lt;/blockquote&gt;
After successful installation, you can open up the application from the Unity &#39;Dash&#39;&amp;nbsp;&amp;nbsp; Here is a screen shot. &lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;197&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7s8a4LnyHbDQJD4FDrGq1EXUzntwEMFOdRUUzETtM9DJyzJavzUhj8eT3OTOc7jMK1Kj6LHT60tnf2XxUAPDnzIsOzHaxB6j3JDP1zP9rM_mops-vodtpAbpcNYGkHV5RvBU4Fiy_v2Q/s320/formatjunkie.png&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;
</description><link>http://unixlab.blogspot.com/2012/12/file-format-conversion-made-simple.html</link><author>noreply@blogger.com (UbuntuGuru)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi7s8a4LnyHbDQJD4FDrGq1EXUzntwEMFOdRUUzETtM9DJyzJavzUhj8eT3OTOc7jMK1Kj6LHT60tnf2XxUAPDnzIsOzHaxB6j3JDP1zP9rM_mops-vodtpAbpcNYGkHV5RvBU4Fiy_v2Q/s72-c/formatjunkie.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-5557351191758518800</guid><pubDate>Wed, 19 Dec 2012 17:50:00 +0000</pubDate><atom:updated>2012-12-19T23:20:29.711+05:30</atom:updated><title>Command-Line Multitasking with Screen</title><description>&lt;table border=&quot;0&quot; cellpadding=&quot;3&quot; cellspacing=&quot;0&quot; class=&quot;jeduthun&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td width=&quot;12&quot;&gt;&lt;img alt=&quot;&quot; height=&quot;1&quot; src=&quot;http://www.kuro5hin.org/images/clear.gif&quot; width=&quot;12&quot; /&gt;&lt;/td&gt;
  &lt;td class=&quot;justified&quot; colspan=&quot;2&quot;&gt;&lt;span style=&quot;font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;
   
  &lt;/span&gt;&lt;br /&gt;
&amp;nbsp;
   &lt;span style=&quot;font-family: arial, Helvetica, Sans-Serif; font-size: x-small;&quot;&gt; &lt;/span&gt;
   &lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;3&quot; height=&quot;3&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;Most modern 
Unix like&amp;nbsp; operating systems (e.g. Linux, MacOS X, and BSD) come with ( 
or&amp;nbsp; can be installed )&amp;nbsp; a little console-mode utility called &lt;a href=&quot;http://www.gnu.org/software/screen/screen.html&quot;&gt;GNU Screen&lt;/a&gt;.&amp;nbsp; Even some of the power user who work exclusively on console are unaware of its existence. &lt;/span&gt;&lt;span style=&quot;font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;b&gt;What is screen ?&lt;/b&gt;

&lt;br /&gt;
Screen is best described as a &lt;i&gt;terminal multiplexer&lt;/i&gt;.&amp;nbsp; That is any number of console applications can be run concurrently with in a single terminal and you can quickly switch back and forth between these applications. If you are logged to a remote server via ssh , you can run many applications in&amp;nbsp; a single ssh session. The programs will be running even if you accidentally close the ssh connection.\&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Starting&amp;nbsp; screen: launching and switching between programs&lt;/b&gt; &lt;br /&gt;
Start screen just by typing &lt;i&gt;screen&lt;/i&gt; at your favourite 
command shell prompt.  You&#39;ll probably be greeted by a welcome message. 
 Dismiss this and you&#39;ll have with an empty terminal containing a shell 
prompt, which is pretty much what you had before you started screen.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Every program running under screen runs in a window, and every 
window is identified by a unique number.  Screen made a new window, 
numbered it 0, and started a command shell inside it.&lt;br /&gt;
&lt;br /&gt;
Let us run ls command in this window or any other command so that we can recognise the window later on.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Now make another window; this will be window 1.&lt;br /&gt;
&lt;br /&gt;
To do this, type &lt;i&gt;C-a c&lt;/i&gt;; that is, type Ctrl-a and then type c&lt;br /&gt;
&lt;br /&gt;
Now that you have two windows,&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
.  To switch between windows , type &lt;i&gt;C-a C-a&lt;/i&gt;,
 which will switch you to whichever window you were using before the 
current one. Here are some more window&amp;nbsp; switching key sequences&amp;nbsp; if you have many windows open under screen. &lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;&lt;span style=&quot;font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;
&lt;li&gt;Use &lt;i&gt;C-a n&lt;/i&gt; and &lt;i&gt;C-a p&lt;/i&gt; to switch to the next or previous window in the list, by number.
&lt;/li&gt;
&lt;li&gt;Use &lt;i&gt;C-a &lt;i&gt;N&lt;/i&gt;&lt;/i&gt;, where &lt;i&gt;N&lt;/i&gt; is a number from 0 to 9, to switch to the corresponding window.
&lt;/li&gt;
&lt;li&gt;Use &lt;i&gt;C-a &quot;&lt;/i&gt; to get a full-screen list of windows.  You can
 navigate this list with the arrow keys (or vi-style, with j and k), and
 pick a window to activate by pressing Enter when it&#39;s highlighted.  &lt;i&gt;C-a w&lt;/i&gt; will give you a small, non-interactive list of windows.&lt;/li&gt;
&lt;/span&gt;&lt;/ol&gt;
&lt;span style=&quot;font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;
&amp;nbsp;A window can be given a name if you type&amp;nbsp; &lt;i&gt;C-a A &amp;nbsp;&lt;/i&gt;&amp;nbsp; This name will be used in the window listing, and will help you remember
 what you&#39;re doing in each window when you start using a lot of windows.

&lt;br /&gt;
Exiting the last program in a window will cause the window to disappear.  You can also kill misbehaving programs with &lt;i&gt;C-a K&lt;/i&gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;b&gt; Terminal decoupling and re coupling &lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;&amp;nbsp;  You can &lt;i&gt;detach&lt;/i&gt; from&amp;nbsp; the screen session by pressing &lt;i&gt;C-a d&lt;/i&gt;.&amp;nbsp;
  This means the screen session will be decoupled from the&amp;nbsp;&amp;nbsp; terminal in which you started it up.&amp;nbsp; If&amp;nbsp; you close the terminal in which screen is running , the session will be automatically detached.&amp;nbsp;&amp;nbsp; Detaching a screen session does not terminate any of the programs running in that screen session .&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Start up a new terminal emulator, and type &lt;i&gt;screen -r&lt;/i&gt;&amp;nbsp; .  You&#39;ll be right back where you were when you detached.&lt;br /&gt;
&amp;nbsp;&amp;nbsp; You can detach from a screen 
session at work, shell into the machine from home, and reattach.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;nbsp;Copying, pasting, and the scrollback buffer&lt;/b&gt;

&lt;br /&gt;
&lt;br /&gt;
Screen remembers a configurable number of scrollback lines, and 
you&#39;ll need them because you won&#39;t be able to use your terminal 
emulator&#39;s scroll features while running screen.  You can access the 
scrollback buffer by entering &quot;copy mode&quot;, which is accomplished by 
typing &lt;i&gt;C-a [&lt;/i&gt;.  You can mark text anywhere in the scrollback buffer and paste it with &lt;i&gt;C-a ]&lt;/i&gt;.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Monitoring for silence and activity&lt;/b&gt; 

&lt;br /&gt;
One of the disadvantages of running a bunch of programs within 
screen is that you can&#39;t keep an eye on all of them at the same time, 
since in general you can only see one at once. )  To help mitigate this 
problem, Screen has features that allow you to monitor a window for 
silence--useful for knowing when a compile has finished, for example--or
 activity--useful for knowing when someone is finally talking on your favourite IRC channel, for example.

&lt;br /&gt;
To start or stop monitoring the current window for 30 seconds of silence, type &lt;i&gt;C-a _&lt;/i&gt;; to start or stop monitoring a window for activity, type &lt;i&gt;C-a M&lt;/i&gt;.

&lt;br /&gt;
&lt;b&gt;Config Files&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; Screen looks for a startup configuration file named .screenrc in your home directory.&amp;nbsp; Look in screen man pages for options.&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;3&quot; height=&quot;3&quot;&gt;&lt;span style=&quot;font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;3&quot; height=&quot;3&quot;&gt;&lt;span style=&quot;font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;3&quot; height=&quot;3&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;3&quot; height=&quot;3&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;3&quot; height=&quot;3&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;3&quot; height=&quot;3&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;3&quot; height=&quot;3&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;3&quot; height=&quot;3&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;3&quot; height=&quot;3&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;3&quot; height=&quot;3&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;3&quot; height=&quot;3&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;3&quot; height=&quot;3&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;3&quot; height=&quot;3&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;3&quot; height=&quot;3&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;3&quot; height=&quot;3&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;3&quot; height=&quot;3&quot;&gt;&lt;/td&gt;&lt;td colspan=&quot;3&quot; height=&quot;3&quot;&gt;&lt;span style=&quot;font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;3&quot; height=&quot;3&quot;&gt;&lt;span style=&quot;font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;3&quot; height=&quot;3&quot;&gt;&lt;span style=&quot;font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;3&quot; height=&quot;3&quot;&gt;&lt;span style=&quot;font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;td colspan=&quot;3&quot; height=&quot;3&quot;&gt;&lt;span style=&quot;font-family: verdana, arial, helvetica, sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
</description><link>http://unixlab.blogspot.com/2012/12/command-line-multitasking-with-screen.html</link><author>noreply@blogger.com (UbuntuGuru)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-8593799318013760832</guid><pubDate>Fri, 14 Dec 2012 08:06:00 +0000</pubDate><atom:updated>2012-12-14T13:36:11.439+05:30</atom:updated><title>Remote control your desktop with android phone</title><description>&lt;br /&gt;
&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;http://www.gmote.org/images/gmote_logo_small.png&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;74&quot; src=&quot;http://www.gmote.org/images/gmote_logo_small.png&quot; width=&quot;200&quot; /&gt;&lt;/a&gt; Gmote is a powerful program which allows your anddroid&amp;nbsp; phone to act as a remote control for your Linux desktop.&amp;nbsp; Gmote provides all standard remote control features such as play, 
pause, rewind, volume controls etc. &amp;nbsp; &lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Gmote can 
also be used as a wireless Touchpad and keyboard, allowing you to 
control your computer at distance. &amp;nbsp;
Gmote has&amp;nbsp; the ability to stream music from your computer to your phone!&lt;/div&gt;
&amp;nbsp;Gmote has to be set up both on your computer and on your android phone.&lt;br /&gt;
Here are the steps.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.blogger.com/blogger.g?blogID=4128089761558623137&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;b&gt;Setting up the Gmote Server on PC &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;The Gmote Server requires the Java JVM version 1.6 or higher&lt;/i&gt;.&lt;br /&gt;
To determine your java version, go to terminal and type &#39;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;java -version&lt;/span&gt;&lt;/i&gt;&#39;.&lt;br /&gt;
You can download the latest JVM from &lt;a href=&quot;http://www.java.com/en/download/index.jsp&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.java.com/en/download/index.jsp&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
On the computer you wish to control, download and install the appropriate package for your Ubuntu Linux system - &lt;a href=&quot;http://marcsto.googlepages.com/GmoteServerLinux2.0.0.tar.gz&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;,&amp;nbsp;after&amp;nbsp;successful&amp;nbsp;installation, open the terminal and type following command:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;tar -zxvf GmoteServerLinux2.0.0.tar.gz&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;cd GmoteServerLinux2.0.0/&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;./GmoteServer.sh&lt;/span&gt;&lt;/blockquote&gt;
On
 starting you&#39;ll see a password prompt. This allows you to set a 
password so that only you can connect to the server from your phone. 
You&#39;ll be asked to enter this password once on the phone as well. You 
can change your password later by right clicking on the Gmote server 
icon (task bar) and selecting &#39;Change password&#39;.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img border=&quot;0&quot; height=&quot;115&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjviLxXuhsIhKvbISOGbiPmAlI5p7RWB6jmmZzxXqPVb5GBfnSUcnwbRFSSgOKWZHYKX0jFLZ2x3e-R4UGvV-5CiwbYN945LMHw7AFM-EzNZsSMkKgv2F5ZQ071SMIiYjNaR5xpm_-FTDY/s320/Gmote+Server.png&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
Finally Gmore server will get started on port &lt;i&gt;8889&lt;/i&gt;, &lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;make sure to adjust your firewall rules&amp;nbsp;accordingly to allow connection on port 8889&lt;/span&gt;&lt;/i&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Setting up the Gmote Client:&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
The installation process for client is fairly simple. From your Android handset, download and install the &lt;a href=&quot;http://www.gmote.org/download/gmote.apk&quot; rel=&quot;nofollow&quot;&gt;Gmote client&lt;/a&gt;.&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
You need wifi or 3G connectivity between your phone&amp;nbsp; and PC. &lt;br /&gt;
&amp;nbsp;Launch Gmote from your phone, select the server to connect to, and enjoy.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</description><link>http://unixlab.blogspot.com/2012/12/remote-control-your-desktop-with.html</link><author>noreply@blogger.com (Fermi Level)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjviLxXuhsIhKvbISOGbiPmAlI5p7RWB6jmmZzxXqPVb5GBfnSUcnwbRFSSgOKWZHYKX0jFLZ2x3e-R4UGvV-5CiwbYN945LMHw7AFM-EzNZsSMkKgv2F5ZQ071SMIiYjNaR5xpm_-FTDY/s72-c/Gmote+Server.png" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-4252886586134832730</guid><pubDate>Tue, 11 Dec 2012 10:15:00 +0000</pubDate><atom:updated>2012-12-11T15:47:15.915+05:30</atom:updated><title>sudo on ubuntu</title><description>Here are&amp;nbsp; some sudo&amp;nbsp;&amp;nbsp; variations I use. (Be careful :) )&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt; sudo command&lt;/span&gt; - run command as root&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: red;&quot;&gt;sudo su&lt;/span&gt; – root shell open&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: red;&quot;&gt;sudo su user &lt;/span&gt;– open shell as a user&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: red;&quot;&gt;sudo -k&lt;/span&gt; – forget your password sudo&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: red;&quot;&gt;gksudo command &lt;/span&gt;– sudo visual dialog (GNOME)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: red;&quot;&gt;kdesudo command&lt;/span&gt; – sudo visual dialog (KDE)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt; sudo visudo&lt;/span&gt; – edit / etc / sudoers&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: red;&quot;&gt;gksudo nautilus &lt;/span&gt;– root file manager (GNOME)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;color: red;&quot;&gt;kdesudo konqueror &lt;/span&gt;– root file manager (KDE)</description><link>http://unixlab.blogspot.com/2012/12/sudo-on-ubuntu.html</link><author>noreply@blogger.com (Fermi Level)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-6390265644842936611</guid><pubDate>Tue, 11 Dec 2012 10:12:00 +0000</pubDate><atom:updated>2012-12-11T15:42:09.177+05:30</atom:updated><title>How to  customize  the GRUB 2  in Ubuntu</title><description>
GRUB 2 is the next generation of GNU GRUB. All recent versions of ubuntu come with GRUB 2. GRUB 2 cleaner, safer, more robust, more portable and more 
powerful.&lt;br /&gt;
&lt;br /&gt;
If you&#39;re already familiar with older&amp;nbsp; GRUB, &amp;nbsp; GRUB 2
 configuration file is similar in broad sense, but it varies in many finer&amp;nbsp; 
details. Some times it can be a bit tricky too.&lt;br /&gt;
&lt;br /&gt;&amp;nbsp;
The main&amp;nbsp; config file is &amp;nbsp; /etc/default/grub .&amp;nbsp; Open it using &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp; $ sudo gedit /etc/default/grub&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;you will&amp;nbsp; see&amp;nbsp; some thing&amp;nbsp; very similar to the following&amp;nbsp; ....&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;codeview&quot;&gt;
# If you change this file, run &#39;update-grub&#39; afterwards to update&lt;br /&gt;
# /boot/grub/grub.cfg.&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;GRUB_DEFAULT=0&lt;/span&gt;&lt;br /&gt;
#GRUB_HIDDEN_TIMEOUT=0&lt;br /&gt;
GRUB_HIDDEN_TIMEOUT_QUIET=true&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;GRUB_TIMEOUT=7&lt;/span&gt;&lt;br /&gt;
GRUB_DISTRIBUTOR=`lsb_release -i -s 2&amp;gt; /dev/null || echo Debian`&lt;br /&gt;
GRUB_CMDLINE_LINUX_DEFAULT=&quot;quiet splash&quot;&lt;br /&gt;
GRUB_CMDLINE_LINUX=&quot;&quot;&lt;br /&gt;
&lt;br /&gt;
# Uncomment to enable BadRAM filtering, modify to suit your needs&lt;br /&gt;
# This works with Linux (no patch required) and with any kernel that obtains&lt;br /&gt;
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)&lt;br /&gt;
#GRUB_BADRAM=&quot;0x01234567,0xfefefefe,0x89abcdef,0xefefefef&quot;&lt;br /&gt;
&lt;br /&gt;
# Uncomment to disable graphical terminal (grub-pc only)&lt;br /&gt;
#GRUB_TERMINAL=console&lt;br /&gt;
&lt;br /&gt;
# The resolution used on graphical terminal&lt;br /&gt;
# note that you can use only modes which your graphic card supports via VBE&lt;br /&gt;
# you can see them in real GRUB with the command `vbeinfo&#39;&lt;br /&gt;
GRUB_GFXMODE=640x480&lt;br /&gt;
&lt;br /&gt;
# Uncomment if you don&#39;t want GRUB to pass &quot;root=UUID=xxx&quot; parameter to Linux&lt;br /&gt;
#GRUB_DISABLE_LINUX_UUID=true&lt;br /&gt;
&lt;br /&gt;
# Uncomment to disable generation of recovery mode menu entries&lt;br /&gt;
#GRUB_DISABLE_LINUX_RECOVERY=&quot;true&quot;&lt;br /&gt;
&lt;br /&gt;
# Uncomment to get a beep at grub start&lt;br /&gt;
#GRUB_INIT_TUNE=&quot;480 440 1&quot;&lt;/div&gt;
&lt;div class=&quot;codeview&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;codeview&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;codeview&quot;&gt;
Some of the important configuration options you can try changing are &amp;nbsp; &lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Change default Timeout:&lt;/b&gt;&lt;br /&gt;
To change the default timeout option in GRUB 2, you just need to change the&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;GRUB_TIMEOUT&lt;/span&gt;&amp;nbsp;parameter. The value of this parameter is in sec, change this value as per your requirement.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Change the default boot option:&lt;/b&gt;&lt;br /&gt;
To change the default boot option in&amp;nbsp;GRUB 2, you just need to change the&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;GRUB_DEFAULT&lt;/span&gt;&amp;nbsp;parameter.
 0 is the first entry, so if you want Windows to be your default boot 
option which is, say at, 5th position in the grub menu, then you just 
need to change the&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;GRUB_DEFAULT&lt;/span&gt;&amp;nbsp;value
 to 4 and save the file and close it. Save the file after making all 
the&amp;nbsp;required&amp;nbsp;changes and from the terminal run the following command&lt;br /&gt;
&lt;blockquote&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: blue;&quot;&gt;sudo update-grub&lt;/span&gt;&lt;/blockquote&gt;
</description><link>http://unixlab.blogspot.com/2012/12/how-to-customize-grub-2-in-ubuntu.html</link><author>noreply@blogger.com (Fermi Level)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-3010951447723047033</guid><pubDate>Tue, 11 Dec 2012 10:02:00 +0000</pubDate><atom:updated>2012-12-11T15:32:37.492+05:30</atom:updated><title>How to disable a user account in linux</title><description>The easiest &amp;nbsp; way to lock a user account on Linux machines is to use -l option to passwd command.&lt;br /&gt;
&amp;nbsp; Open a terminal and acquire root &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; # passwd -l&amp;nbsp; abc&amp;nbsp;&amp;nbsp;&amp;nbsp; ( abc is the user you want to lock.) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; You can unlock the account with -u option&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; #passwd -u abc&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; :)&lt;br /&gt;
&lt;br /&gt;</description><link>http://unixlab.blogspot.com/2012/12/how-to-disable-user-account-in-linux.html</link><author>noreply@blogger.com (Fermi Level)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-384708055543643603</guid><pubDate>Sun, 24 Jun 2012 06:37:00 +0000</pubDate><atom:updated>2012-06-24T12:07:00.303+05:30</atom:updated><title>Multimedia &amp; Video Howto on Ubuntu 12.04</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
The easiest way to get&amp;nbsp; most of the media format&amp;nbsp; working on ubuntu 12.04 is to enable&amp;nbsp; medibuntu repository and install&amp;nbsp; couple of extra packages.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; This can be done quickly as follows.&lt;br /&gt;
Copy the following line to a command prompt&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset; height: 34px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 640px;&quot;&gt;sudo -E wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list &amp;amp;&amp;amp; sudo sed -i &quot;/^# deb .*partner/ s/^# //&quot; /etc/apt/sources.list &amp;amp;&amp;amp; sudo apt-get --quiet update &amp;amp;&amp;amp; sudo apt-get -y --force-yes --quiet --allow-unauthenticated install medibuntu-keyring app-install-data-medibuntu apport-hooks-medibuntu &amp;amp;&amp;amp; sudo apt-get update&lt;/pre&gt;
&lt;/div&gt;
Then install the packages.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset; height: 34px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 640px;&quot;&gt;sudo apt-get install ubuntu-restricted-extras non-free-codecs p7zip-rar acroread gimp inkscape blender smplayer vlc libdvdcss2 libdvdread4 faac faad audacious rubyripper cd-discid aacplusenc gtkpod lame cdrdao aacgain flac mp3gain normalize-audio vorbisgain arista soundconverter gnome-sushi exfalso winff devede openshot audacity cheese synaptic gconf-editor lsb-core&lt;/pre&gt;
&lt;/div&gt;
enjoy.&lt;/div&gt;</description><link>http://unixlab.blogspot.com/2012/06/multimedia-video-howto-on-ubuntu-1204.html</link><author>noreply@blogger.com (Fermi Level)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-5267823107759175117</guid><pubDate>Sat, 23 Jun 2012 06:27:00 +0000</pubDate><atom:updated>2012-06-23T11:57:36.247+05:30</atom:updated><title>Dangerous commands you should not try</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&amp;nbsp;&amp;nbsp; I was browsing through Ubuntu forums when I saw this list of dangerous commands. I am copying them for my own reference.&amp;nbsp; Don&#39;t&amp;nbsp; try them out.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;1)&amp;nbsp; Delete all files, delete current directory, and delete visible files in 
current directory.&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset; height: 66px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 640px;&quot;&gt;rm -rf /
rm -rf .
rm -rf *&lt;/pre&gt;
&lt;/div&gt;
2) Reformat. This command will reformat your hard disk ( you may need superuser permission to run) &amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset; height: 66px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 640px;&quot;&gt;mkfs
mkfs.ext3
mkfs.anything&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
3) Block device manipulation . These commands manipulate underlying block device. ( here also you may need root permission)&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset; height: 50px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 640px;&quot;&gt;any_command &amp;gt; /dev/sda
dd if=something of=/dev/sda&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
4) Forkbomb : This will&amp;nbsp; spawn a number of processes and eventually your system will hang. ( This works for bash shell )&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset; height: 34px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 640px;&quot;&gt;:(){:|:&amp;amp;};:&lt;/pre&gt;
&lt;br /&gt;
&lt;/div&gt;</description><link>http://unixlab.blogspot.com/2012/06/dangerous-commands-you-should-not-try.html</link><author>noreply@blogger.com (Fermi Level)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-7126435715716549862</guid><pubDate>Fri, 27 Apr 2012 09:38:00 +0000</pubDate><atom:updated>2012-06-23T11:33:49.967+05:30</atom:updated><title>Transparent Proxy on Linux using redsocks</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&amp;nbsp; Adapted form &amp;nbsp;&amp;nbsp; &lt;a href=&quot;http://pritambaral.com/2012/04/transparent-proxy-on-linux/&quot;&gt;http://pritambaral.com/2012/04/transparent-proxy-on-linux/&lt;/a&gt;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
This post is targeted at those Linux users behind a network proxy &amp;nbsp; but cannot set it in an app, or are just plain 
lazy to go about telling every app to use a proxy. I’ll give a quick 
rundown of the instructions for those in haste, with geeky details 
following towards the end. I’m assuming a fairly recent distro here, and
 I’m targeting the Ubuntu 12.04 release.&lt;br /&gt;
&lt;h4&gt;


What we’ll need:&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;A Linux OS (obviously!)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://darkk.net.ru/redsocks/&quot; target=&quot;_blank&quot; title=&quot;redsocks source&quot;&gt;redsocks&lt;/a&gt;&amp;nbsp;(an app, check in your repos, or compile it yourself)&lt;/li&gt;
&lt;li&gt;a text-editor&lt;/li&gt;
&lt;/ul&gt;
&amp;nbsp;On Ubuntu, we have another package that we’ll need, 
iptables-persistent. But before we install it, let’s set some rules 
(iptables rules.) Don’t worry, it’s nothing but a bunch a lines in a 
text file.&lt;br /&gt;
&lt;pre&gt;*nat
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
-A OUTPUT -d 10.0.0.0/8 -j RETURN
-A OUTPUT -d 127.0.0.0/8 -j RETURN
-A OUTPUT -d 192.168.0.0/16 -j RETURN
-A OUTPUT -o eth0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 127.0.0.1:5123
-A OUTPUT -o eth0 -p tcp -m tcp --dport 443 -j DNAT --to-destination 127.0.0.1:5124
-A OUTPUT -o wlan0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 127.0.0.1:5123
-A OUTPUT -o wlan0 -p tcp -m tcp --dport 443 -j DNAT --to-destination 127.0.0.1:5124
COMMIT&lt;/pre&gt;
I saved it as redirect.rules and ran this command:&lt;br /&gt;
&lt;pre&gt;sudo iptables-restore ./redirect.rules&lt;/pre&gt;
Now we shall install the package &lt;b&gt;iptables-persitent&lt;/b&gt;.
 During the installation, it will ask you whether you want to save the 
current rules. Yes, you do. The redirection’s been set-up. Time to get 
the juicer running.&lt;br /&gt;
Install redsocks (if you haven’t already.) Save this in the file /etc/redsocks.conf&lt;br /&gt;
&lt;pre&gt;base {
 log_debug = off;&lt;/pre&gt;
&lt;pre&gt; log_info = off;&lt;/pre&gt;
&lt;pre&gt; log = &quot;stderr&quot;;&lt;/pre&gt;
&lt;pre&gt; daemon = on;&lt;/pre&gt;
&lt;pre&gt; user = redsocks;
 group = redsocks;&lt;/pre&gt;
&lt;pre&gt; redirector = iptables;
}&lt;/pre&gt;
&lt;pre&gt;redsocks {
 /* `local_ip&#39; defaults to 127.0.0.1 for security reasons,
 * use 0.0.0.0 if you want to listen on every interface.
 * `local_*&#39; are used as port to redirect to.
 */
 local_ip = 127.0.0.1;
 local_port = 5123;&lt;/pre&gt;
&lt;pre&gt;// `ip&#39; and `port&#39; are IP and tcp-port of proxy-server
 ip = 10.201.13.50;
 port = 80;&lt;/pre&gt;
&lt;pre&gt;// known types: socks4, socks5, http-connect, http-relay
 type = http-relay;&lt;/pre&gt;
&lt;pre&gt;login = &quot;LDAP ID HERE&quot;;
 password = &quot;LDAP PASSWORD HERE&quot;;
}&lt;/pre&gt;
&lt;pre&gt;redsocks {
 local_ip = 127.0.0.1;
 local_port = 5124;&lt;/pre&gt;
&lt;pre&gt;ip = 10.201.13.50;
 port = 80;&lt;/pre&gt;
&lt;pre&gt;type = http-connect;&lt;/pre&gt;
&lt;pre&gt;login = &quot;LDAP ID HERE TOO&quot;;
 password = &quot;LDAP PASSWORD HERE TOO&quot;;
}&lt;/pre&gt;
Make sure you feed your own LDAP IDs and passwords. AT BOTH 
LOCATIONS. Feed your password as-it-is, no matter what special character
 it has. (Unless, of course, it’s a double-quote itself! Bit of a soup 
there.)&lt;br /&gt;
Now either restart your system, or run &lt;b&gt;sudo service redsocks start&lt;/b&gt;&lt;br /&gt;
Voila! You have the ultimate solution to proxy! You may (or may-not) 
set a proxy in Gnome, Firefox, wget, gedit, whatever; it will work. This will not interfere with what you have 
set in Chrome/Firefox/whatever. In fact, I&amp;nbsp;recommend&amp;nbsp;that you explicitly
 set a proxy wherever you can. You see, redsocks has a knack of getting 
in a bundle sometimes (too many pending requests…,) in which case, a 
simple&amp;nbsp;&lt;b&gt;sudo service redsocks restart&lt;/b&gt;&amp;nbsp;should suffice.&lt;br /&gt;
&lt;br /&gt;
This also “fixes” those apps which provide no method of setting a 
proxy whatsoever, e.g, Gwibber. Sadly, unsupported protocols still won’t
 work. Sorry, no Thunderbird, no torrents, no irc.&lt;br /&gt;
PS: This is the exact same method used by the Android app ProxyDroid to provide system-wide proxy on rooted Android devices.&lt;/div&gt;</description><link>http://unixlab.blogspot.com/2012/04/transparent-proxy-on-linux-using.html</link><author>noreply@blogger.com (Fermi Level)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-3405007408967139105</guid><pubDate>Sun, 15 Apr 2012 14:24:00 +0000</pubDate><atom:updated>2012-04-15T19:54:39.965+05:30</atom:updated><title>How to restore missing gnome panel</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h1 class=&quot;ha&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;hP&quot; id=&quot;:1b9&quot;&gt;Open a terminal and try &lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;h1 class=&quot;ha&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;hP&quot; id=&quot;:1b9&quot;&gt;$gconftool --recursiv&lt;wbr&gt;&lt;/wbr&gt;e-unset  /apps/pane&lt;wbr&gt;&lt;/wbr&gt;l &amp;amp;&amp;amp; killall gnome-pane&lt;wbr&gt;&lt;/wbr&gt;l&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;/div&gt;</description><link>http://unixlab.blogspot.com/2012/04/how-to-restore-missing-gnome-panel.html</link><author>noreply@blogger.com (UbuntuGuru)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-6901507471428469270</guid><pubDate>Sun, 15 Apr 2012 14:22:00 +0000</pubDate><atom:updated>2012-04-15T19:52:21.547+05:30</atom:updated><title>How to Convert MTS to AVI in Linux</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Try this&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;$&amp;nbsp; ffmpeg -i &lt;i&gt;InputFile.MTS&lt;/i&gt; -vcodec libxvid -b 18000k -acodec  libmp3lame -ac 2-ab 320k -deinterlace -s 1440x1080 &lt;i&gt;OutputFile.AVI&lt;/i&gt;&lt;/div&gt;</description><link>http://unixlab.blogspot.com/2012/04/how-to-convert-mts-to-avi-in-linux.html</link><author>noreply@blogger.com (UbuntuGuru)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-1333299847378214026</guid><pubDate>Fri, 03 Feb 2012 09:54:00 +0000</pubDate><atom:updated>2012-02-03T15:37:22.678+05:30</atom:updated><title>Setting up a NIS slave server</title><description>&lt;pre&gt;This note explains how to setup a nis slave server. It is assumed that you have a NIS server running .

  Setup
       Existing NIS server  named  mahalanobis  on 10.107.35.1
       The slave  server is to be set up  is named  gauss on 10.107.35.6

Install ubuntu 10. 04 Lucid on  gauss  10.107.35.6. Setup the network interface and make sure that it works as a standalone machine.


Install NIS software on Gauss

 # apt-get install   portmap nis

Setup the slave as a NIS client

 Edit /etc/yp.conf  and add

ypserver 127.0.0.1
Edit  /etc/hosts on master ( Mahalanobis) and add an entry for slave 
 
10.107.35.6    gauss
Edit  /etc/hosts on  slave ( Gauss) and add an entry for master 
10.107.35.6     mahalanobis

 
Log on to the master server. Add the slave server to the master 
server&#39;s database map by editing the /var/yp/ypservers file on the 
master.
 # File: /var/yp/ypservers
mahalanobis
  gauss
 
The make file in the /var/yp directory defines how the NIS server will 
build the database map and how the master will relate to the NIS slave. 
Edit the make file to allow the master to push maps to the slave.


# File: /var/vp/Makefile
 
# Allow the master to do database pushes to the slave
#
NOPUSH=false

Run make command. (You must be in /var/yp )

Iniitialise slave database 
#  /usr/lib/yp/ypinit -s  mahalanobis

On   slave ( gauss) edit /etc/defaults/nis ) Change  the flag NISSERVER to slave

  # /etc/defaults/nis    Configuration settings for the NIS daemons.
#

# Are we a NIS server and if so what kind (values: false, slave, master)?
NISSERVER=slave


Restart   nis services on  slave

  #/etc/init.d/nis restart


Testing

   On a client machine which is being authenticated by the master edit /etc/yp.conf  and change the  ypserv  entry to point to the new slave machine.
Restart nis on that client machine and see if you are able to login.
&lt;/pre&gt;</description><link>http://unixlab.blogspot.com/2012/02/setting-up-nis-slave-server.html</link><author>noreply@blogger.com (Fermi Level)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-8782931651063117822</guid><pubDate>Mon, 12 Dec 2011 03:11:00 +0000</pubDate><atom:updated>2011-12-12T08:41:49.204+05:30</atom:updated><title>Mount Ext4 partitios in Windows</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
Ubuntu partitions are incompatible with Windows, we can not read and write to them&amp;nbsp; from widows. Ext4 partitions can be read&amp;nbsp; from windows if you install a simple utility in Windows.&lt;br /&gt;
&amp;nbsp;Download ext2fsd from&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&lt;pre&gt;&lt;a href=&quot;http://sourceforge.net/projects/ext2fsd/files/Ext2fsd/0.51/&quot;&gt;http://sourceforge.net/projects/ext2fsd/files/Ext2fsd/0.51/&lt;/a&gt;&lt;/pre&gt;&amp;nbsp;Find out&amp;nbsp; Ext2Fsd-0.51.exe from the above site and install it. The following screen shots are self explanatory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSG-mDxLuYnnz9bDKyTEzTDWDJqbOnDmFO8DE1d2MfDba4vDlAPerOIVV1ecObW2pOn03mYjG4njJVCxEOY0LN8A27_TcXcslRxNjJbv55LAxSEx-c25SA-4k9lh4-G6JB5-dVuAEIFIaK/s1600/8.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;250&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSG-mDxLuYnnz9bDKyTEzTDWDJqbOnDmFO8DE1d2MfDba4vDlAPerOIVV1ecObW2pOn03mYjG4njJVCxEOY0LN8A27_TcXcslRxNjJbv55LAxSEx-c25SA-4k9lh4-G6JB5-dVuAEIFIaK/s320/8.jpeg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8gL7y7g3fnm9JYUrJV-EiZiWyb5vpAIFO7o9AIOXQ7kM1iUQFU6dFa-FGSXZCDy97nGrN1E805bIcRhgLZ4Mgd0AtFpaJnWD2jdRoIhXgc_XECKI-hOoMAT-LlXd01Dn1ypavpaaI4r8h/s1600/9.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;250&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8gL7y7g3fnm9JYUrJV-EiZiWyb5vpAIFO7o9AIOXQ7kM1iUQFU6dFa-FGSXZCDy97nGrN1E805bIcRhgLZ4Mgd0AtFpaJnWD2jdRoIhXgc_XECKI-hOoMAT-LlXd01Dn1ypavpaaI4r8h/s320/9.jpeg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGtLm0xv2ahlQ4Jdp2MAfoiFt50FJ4cM021RbINZirxy-AHJlL43VDfn5oKRH4T719RvSf60WawNhNU1mK3JH8wGJXRGaDlTOuDAm9MSqnW5UKXHtOD4G270w-ZeEN2Shfb49GJhReJUMx/s1600/10.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;250&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGtLm0xv2ahlQ4Jdp2MAfoiFt50FJ4cM021RbINZirxy-AHJlL43VDfn5oKRH4T719RvSf60WawNhNU1mK3JH8wGJXRGaDlTOuDAm9MSqnW5UKXHtOD4G270w-ZeEN2Shfb49GJhReJUMx/s320/10.jpeg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4BfmPqbL4BeDVXbE24rydyyCc3eXamD7pLm9d6NHIJEZRZmf1ceuEz_-904KiOshJu1nwulldJscZvYU7H_K3Wy4-MGHA3SebbeeMOJ_tOFilGAKhr7FDTxNR7Xz6H0Ic0YMOdW-Tm_JE/s1600/11.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;257&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4BfmPqbL4BeDVXbE24rydyyCc3eXamD7pLm9d6NHIJEZRZmf1ceuEz_-904KiOshJu1nwulldJscZvYU7H_K3Wy4-MGHA3SebbeeMOJ_tOFilGAKhr7FDTxNR7Xz6H0Ic0YMOdW-Tm_JE/s320/11.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilW6ta20WLNpzAfxEByu0dr4KxzdczqxiiYiSadL2yH17PFz5TxXO7rajBz_uXcSSxosRaDPimTZq17AyzU6TglWuVyzIByv8As8zcvOwQwK2d0KNRdNXT38d39T4dNOD4jlvduhmMKebz/s1600/12.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEilW6ta20WLNpzAfxEByu0dr4KxzdczqxiiYiSadL2yH17PFz5TxXO7rajBz_uXcSSxosRaDPimTZq17AyzU6TglWuVyzIByv8As8zcvOwQwK2d0KNRdNXT38d39T4dNOD4jlvduhmMKebz/s1600/12.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;</description><link>http://unixlab.blogspot.com/2011/12/mount-ext4-partitios-in-windows.html</link><author>noreply@blogger.com (UbuntuGuru)</author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSG-mDxLuYnnz9bDKyTEzTDWDJqbOnDmFO8DE1d2MfDba4vDlAPerOIVV1ecObW2pOn03mYjG4njJVCxEOY0LN8A27_TcXcslRxNjJbv55LAxSEx-c25SA-4k9lh4-G6JB5-dVuAEIFIaK/s72-c/8.jpeg" height="72" width="72"/><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-3877809497497219093</guid><pubDate>Sun, 11 Dec 2011 16:23:00 +0000</pubDate><atom:updated>2011-12-11T21:53:44.803+05:30</atom:updated><title>how to clone ubuntu installation</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Here is a quick way to&amp;nbsp; build an exactly similar&amp;nbsp; ubuntu installation on another computer. &lt;br /&gt;
&lt;br /&gt;
Run&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;$ dpkg --get-selections &amp;gt;my_pakages&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;on the machine that you want to clone. Install a clean copy of Ubuntu on the target machine. Copy the file my_packages to the target machine.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Run the following command on the target machine. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;$&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;sudo dpkg --set-selections &amp;lt;  ./package_names&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;$&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;sudo apt-get -u dselect-upgrade&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;Done. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;background-color: #f3f3f3;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</description><link>http://unixlab.blogspot.com/2011/12/how-to-clone-ubuntu-installation.html</link><author>noreply@blogger.com (UbuntuGuru)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-7862426117321093771</guid><pubDate>Sat, 26 Nov 2011 15:07:00 +0000</pubDate><atom:updated>2011-11-26T20:37:30.037+05:30</atom:updated><title>SSH Login Without Password</title><description>&lt;h3&gt;&lt;br /&gt;
&lt;/h3&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;For this you required to generate your own personal set of private/public pair. &lt;em&gt;ssh-keygen&lt;/em&gt; is used to generate that key pair for you.&lt;/div&gt;On the user’s home directory, on the localhost, type&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;[local-host]$ ssh-keygen -t dsa&lt;/strong&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;This will ask you a passphrase. A  passphrase is a sequence of words or other text used to control access  to a computer system, program or data. A passphrase is similar to a  password in usage, but is generally longer for added security. Once  entered the passphrase you will be prompted to enter the same passphrase  again for confirmation.&lt;/div&gt;The private key was saved in .ssh/id_dsa and the public key .ssh/id_dsa.pub.&lt;br /&gt;
Now, copy the public key to the remote machine&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;wp_syntax&quot;&gt;&lt;div class=&quot;code&quot;&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;[&lt;/span&gt;local-host&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;]&lt;/span&gt;$ ssh-copy-id &lt;span style=&quot;color: #660033;&quot;&gt;-i&lt;/span&gt; ~&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;/&lt;/span&gt;.ssh&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;/&lt;/span&gt;id_dsa.pub user&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;@&lt;/span&gt;remotehost&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
or if you don’t have ssh-copy-id script installed use&lt;br /&gt;
&lt;div class=&quot;wp_syntax&quot;&gt;&lt;div class=&quot;code&quot;&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;[&lt;/span&gt;local-host&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;]&lt;/span&gt;$ &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;cat&lt;/span&gt; ~&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;/&lt;/span&gt;.ssh&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;/&lt;/span&gt;id_dsa.pub &lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;|&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;ssh&lt;/span&gt; user&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;@&lt;/span&gt;remotehost &lt;span style=&quot;color: red;&quot;&gt;&quot;cat - &amp;gt;&amp;gt; ~/.ssh/authorized_keys&quot;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
Now on the localhost machine, on GNOME select &lt;strong&gt;System &amp;gt; Preferences &amp;gt; Sessions&lt;/strong&gt;.&lt;br /&gt;
Select &lt;strong&gt;Startup Programs&lt;/strong&gt; and add a new entry with this command.&lt;br /&gt;
&lt;div class=&quot;wp_syntax&quot;&gt;&lt;div class=&quot;code&quot;&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;eval&lt;/span&gt; &lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;`&lt;/span&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;ssh-agent&lt;/span&gt;&lt;span style=&quot;color: black; font-weight: bold;&quot;&gt;`&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;em&gt;ssh-agen&lt;/em&gt;t is a program that  used together with OpenSSH or similar ssh programs provides a secure way  of storing the passphrase of the private key.&lt;/div&gt;Open terminal and run &lt;strong&gt;ssh-add &lt;/strong&gt;without any arguments, it will ask your passphrase once.&lt;br /&gt;
&lt;em&gt;ssh-add&lt;/em&gt; adds identities to the authentication agent, ssh-agent.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;wp_syntax&quot;&gt;&lt;div class=&quot;code&quot;&gt;&lt;pre class=&quot;bash&quot; style=&quot;font-family: monospace;&quot;&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;[&lt;/span&gt;local-host&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;]&lt;/span&gt;$ &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;ssh-add&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
Enter passphrase for /home/vinod/.ssh/id_dsa: &lt;enter here=&quot;&quot; passphrase=&quot;&quot; your=&quot;&quot;&gt;&lt;/enter&gt;&lt;br /&gt;
Identity added: /home/you/.ssh/id_dsa (/home/you/.ssh/id_dsa)&lt;br /&gt;
That’s it, now login to remote server it will not ask any password or passphrase.&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;strong&gt;NB: No one else must see the content of .ssh/id_dsa, as it is used to decrypt all correspondence encrypted with the public key.&lt;/strong&gt;&lt;/div&gt;</description><link>http://unixlab.blogspot.com/2011/11/ssh-login-without-password.html</link><author>noreply@blogger.com (Fermi Level)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-4877944988058303571</guid><pubDate>Fri, 08 Jul 2011 04:12:00 +0000</pubDate><atom:updated>2011-07-08T09:42:44.597+05:30</atom:updated><title>Childsplay for kids</title><description>&amp;nbsp;&lt;i&gt;&lt;b&gt;Childsplay &lt;/b&gt;&lt;/i&gt;is a collection of educational activities for young children and runs on Windows, OSX, and Linux. It can be used at home, kindergartens and pre-schools.  Childsplay is a fun and save way to let young children use the computer  and at the same time teach them a little math, letters of the alphabets,  spelling, eye-hand coordination etc.&lt;br /&gt;
&lt;br /&gt;
Childsplay is part of the schoolsplay.org project&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Childsplay includes the following games:&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;* Numbers - Put the correct operator between two numbers.&lt;br /&gt;
&amp;nbsp;* SoundNpic - A toy for young children with pictures and sounds.&lt;br /&gt;
&amp;nbsp;* Packid - A pac-man game, try to catch the letters.&lt;br /&gt;
&amp;nbsp;* Soundmemory - The classic memory game, with sounds.&lt;br /&gt;
&amp;nbsp;* Fallingletter - Type them before the reach the ground.&lt;br /&gt;
&amp;nbsp;* Findsound - Listen to a sound and find the image to which it belongs&lt;br /&gt;
&amp;nbsp;* Findsound2 - The same as findsound, now with numbers and letters.&lt;br /&gt;
&amp;nbsp;* Pong - The classic game, play alone or against another child.&lt;br /&gt;
&amp;nbsp;* Billiards - Try to shoot the balls into the hole.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;&quot; name=&quot;more&quot;&gt;&lt;/a&gt;&lt;b&gt;Childsplay installation:&lt;/b&gt;&lt;br /&gt;
&amp;nbsp; On ubuntu&amp;nbsp; open a terminal and type&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote style=&quot;color: blue;&quot;&gt; sudo apt-get install childsplay&lt;/blockquote&gt;After installation you can open childsplay from Applications &amp;gt; Education &amp;gt; Childsplay</description><link>http://unixlab.blogspot.com/2011/07/childsplay-for-kids.html</link><author>noreply@blogger.com (UbuntuGuru)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-4128089761558623137.post-6262933137073133681</guid><pubDate>Wed, 29 Jun 2011 09:49:00 +0000</pubDate><atom:updated>2011-06-29T15:19:05.347+05:30</atom:updated><title>How to recover deleted files in Ubuntu/Linux</title><description>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2&gt;&lt;br /&gt;
&lt;/h2&gt;&lt;div class=&quot;rtejustify&quot;&gt;  When a file is deleted, only the pointer to the file is overwritten and  the original file will still reside in the blocks of the storage device  and will be kept there until it is overwritten by another file. In a  sense, you can always write a file but you can never delete it. So if  you have ever faced the dilemma of trying to recover a deleted file in  Ubuntu then  look no further. Linux offers a wide range of tools for &lt;a href=&quot;http://ubuntumanual.org/posts/357/recover-your-deleted-files-in-ubuntu&quot;&gt;recovering deleted files&lt;/a&gt;. These tools work by retrieving the pointer to the deleted files.&lt;/div&gt;&lt;div class=&quot;rtejustify&quot;&gt;  The chief among the recovery tools would be Scalpel. Scalpel is a  platform independent command based tool which is small yet very  powerful. You can install the latest version of Scalpel (version 2.0) by  doing a simple&lt;/div&gt;&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset; height: 34px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 480px;&quot;&gt;sudo apt-get install scalpel &lt;/pre&gt;in the terminal.&lt;br /&gt;
&lt;div class=&quot;rtejustify&quot;&gt;  After installation you need to go to the configuration file of scalpel which resides in&lt;/div&gt;&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset; height: 34px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 480px;&quot;&gt;/etc/scalpel/scalpel.conf&lt;/pre&gt;&lt;div class=&quot;rtejustify&quot;&gt;  Using an editor like gedit open the scalpel.conf file using the command.&lt;/div&gt;&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset; height: 34px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 480px;&quot;&gt;sudo gedit /etc/scalpel/scalpel.conf&lt;/pre&gt;&lt;div class=&quot;rtejustify&quot;&gt;  You will notice that that all the lines in the file are preceded by a  comment (#) symbol. Remove the # symbol preceding the file you want to  recover.&lt;/div&gt;&lt;pre class=&quot;alt2&quot; dir=&quot;ltr&quot; style=&quot;border: 1px inset; height: 34px; margin: 0px; overflow: auto; padding: 6px; text-align: left; width: 480px;&quot;&gt;sudo scalpel &quot;device name/Directoryname/file name&quot; -o &quot;output directory&quot;&lt;/pre&gt;&lt;div class=&quot;rtejustify&quot;&gt;  The output directory is the directory where you want to restore your  deleted files. It should be empty before running the command, otherwise  you will get an error. You can also input the deleted filename directly  by using -i option.&lt;/div&gt;&lt;/div&gt;</description><link>http://unixlab.blogspot.com/2011/06/how-to-recover-deleted-files-in.html</link><author>noreply@blogger.com (UbuntuGuru)</author><thr:total>2</thr:total></item></channel></rss>