<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2092640392849377030</id><updated>2012-01-30T09:41:58.742-08:00</updated><title type='text'>GixEsperiene</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>31</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-2312280612143148258</id><published>2012-01-30T09:41:00.001-08:00</published><updated>2012-01-30T09:41:58.751-08:00</updated><title type='text'>Shell Script esempio ciclo while</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;#!/usr/bin/ksh&lt;br /&gt;while :&lt;br /&gt;do&lt;br /&gt;&amp;nbsp;read a b c d e f g h&lt;br /&gt;if [ $? -ne 0 ]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; break&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fi&lt;br /&gt;&lt;br /&gt;echo $1,$2,$3,$4,$5,$6,$7,$8 &amp;gt;&amp;gt; /tmp/alarm.sandro&lt;br /&gt;&lt;br /&gt;done &amp;lt; /tmp/allarmi.txt&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-2312280612143148258?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/2312280612143148258/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=2312280612143148258' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/2312280612143148258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/2312280612143148258'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2012/01/shell-script-esempio-ciclo-while.html' title='Shell Script esempio ciclo while'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-6724879008478329823</id><published>2012-01-30T09:38:00.001-08:00</published><updated>2012-01-30T09:38:20.778-08:00</updated><title type='text'>Shell Script espressioni utili AWK</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt; &lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="width: 768px;"&gt;&lt;colgroup&gt;&lt;col style="mso-width-alt: 28086; mso-width-source: userset; width: 576pt;" width="768"&gt;&lt;/col&gt; &lt;/colgroup&gt;&lt;tbody&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt; width: 576pt;" width="768"&gt;HANDY  ONE-LINERS FOR AWK&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;22 July  2003&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;compiled by Eric Pement  &lt;pemente@northpark.edu&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &lt;/span&gt;version 0.22&lt;/pemente@northpark.edu&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Latest version of this file is usually at:&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;  &lt;/span&gt;http://www.student.northpark.edu/pemente/awk/awk1line.txt&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;USAGE:&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Unix:&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;  &lt;/span&gt;awk '/pattern/ {print "$1"}'&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;# standard Unix shells&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;DOS/Win:&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;  &lt;/span&gt;awk '/pattern/ {print "$1"}'&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;# okay for DJGPP compiled&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;awk "/pattern/ {print  \"$1\"}"&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;# required for  Mingw32&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;Most of my experience comes  from version of GNU awk (gawk) compiled for&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;Win32. Note in particular that  DJGPP compilations permit the awk script&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;to follow Unix quoting syntax  '/like/ {"this"}'. However, the user must&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;know that single quotes under  DOS/Windows do not protect the redirection&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;arrows (&amp;lt;, &amp;gt;) nor do  they protect pipes (|). Both are special symbols&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;for the DOS/CMD command shell  and their special meaning is ignored only&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;if they are placed within  "double quotes." Likewise, DOS/Win users must&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;remember that the percent sign  (%) is used to mark DOS/Win environment&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;variables, so it must be  doubled (%%) to yield a single percent sign&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;visible to awk.&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;If I am sure that a script  will NOT need to be quoted in Unix, DOS, or&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;CMD, then I normally omit the  quote marks. If an example is peculiar to&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;GNU awk, the command 'gawk'  will be used. Please notify me if you find&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;errors or new commands to add  to this list (total length under 65&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;characters). I usually try to  put the shortest script first.&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;FILE SPACING:&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# double space a file&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '1;{print ""}'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk 'BEGIN{ORS="\n\n"};1'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# double space a file which already has  blank lines in it. Output file&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# should contain no more than one blank line  between lines of text.&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# NOTE: On Unix systems, DOS lines which  have only CRLF (\r\n) are&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# often treated as non-blank, and thus 'NF'  alone will return TRUE.&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk 'NF{print $0 "\n"}'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# triple space a file&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '1;{print "\n"}'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;NUMBERING AND CALCULATIONS:&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# precede each line by its line number FOR  THAT FILE (left alignment).&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# Using a tab (\t) instead of space will  preserve margins.&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{print FNR "\t" $0}' files*&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# precede each line by its line number FOR  ALL FILES TOGETHER, with tab.&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{print NR "\t" $0}' files*&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# number each line of a file (number on  left, right-aligned)&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# Double the percent signs if typing from  the DOS command prompt.&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{printf("%5d : %s\n",  NR,$0)}'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# number each line of file, but only print  numbers if line is not blank&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# Remember caveats about Unix treatment of  \r (mentioned above)&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk 'NF{$0=++a " :" $0};{print}'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{print (NF? ++a " :"  :"") $0}'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# count lines (emulates "wc -l")&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk 'END{print NR}'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print the sums of the fields of every line&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{s=0; for (i=1; i&amp;lt;=NF; i++) s=s+$i;  print s}'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# add all fields in all lines and print the  sum&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{for (i=1; i&amp;lt;=NF; i++) s=s+$i};  END{print s}'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print every line after replacing each  field with its absolute value&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{for (i=1; i&amp;lt;=NF; i++) if ($i &amp;lt;  0) $i = -$i; print }'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{for (i=1; i&amp;lt;=NF; i++) $i = ($i &amp;lt;  0) ? -$i : $i; print }'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print the total number of fields  ("words") in all lines&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{ total = total + NF }; END {print  total}' file&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print the total number of lines that  contain "Beth"&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '/Beth/{n++}; END {print n+0}' file&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print the largest first field and the line  that contains it&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# Intended for finding the longest string in  field #1&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '$1 &amp;gt; max {max=$1; maxline=$0}; END{  print max, maxline}'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print the number of fields in each line,  followed by the line&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{ print NF ":" $0 } '&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print the last field of each line&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{ print $NF }'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print the last field of the last line&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{ field = $NF }; END{ print field }'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print every line with more than 4 fields&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk 'NF &amp;gt; 4'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print every line where the value of the  last field is &amp;gt; 4&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '$NF &amp;gt; 4'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;TEXT CONVERSION AND  SUBSTITUTION:&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# IN UNIX ENVIRONMENT: convert DOS newlines  (CR/LF) to Unix format&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{sub(/\r$/,"");print}'&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;# assumes EACH line ends with Ctrl-M&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# IN UNIX ENVIRONMENT: convert Unix newlines  (LF) to DOS format&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{sub(/$/,"\r");print}&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# IN DOS ENVIRONMENT: convert Unix newlines  (LF) to DOS format&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk 1&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# IN DOS ENVIRONMENT: convert DOS newlines  (CR/LF) to Unix format&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# Cannot be done with DOS versions of awk,  other than gawk:&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;gawk -v BINMODE="w" '1' infile  &amp;gt;outfile&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# Use "tr" instead.&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;tr -d \r &lt;infile&gt;outfile&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;# GNU tr version 1.22 or higher&lt;/infile&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# delete leading whitespace (spaces, tabs)  from front of each line&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# aligns all text flush left&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{sub(/^[ \t]+/, ""); print}'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# delete trailing whitespace (spaces, tabs)  from end of each line&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{sub(/[ \t]+$/, "");print}'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# delete BOTH leading and trailing  whitespace from each line&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{gsub(/^[ \t]+|[  \t]+$/,"");print}'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{$1=$1;print}'&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;# also removes extra space between  fields&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# insert 5 blank spaces at beginning of each  line (make page offset)&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{sub(/^/, "&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;");print}'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# align all text flush right on a 79-column  width&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{printf "%79s\n", $0}' file*&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# center all text on a 79-character width&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{l=length();s=int((79-l)/2); printf  "%"(s+l)"s\n",$0}' file*&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# substitute (find and replace)  "foo" with "bar" on each line&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk  '{sub(/foo/,"bar");print}'&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &lt;/span&gt;# replaces only 1st instance&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;gawk  '{$0=gensub(/foo/,"bar",4);print}'&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;  &lt;/span&gt;# replaces only 4th instance&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk  '{gsub(/foo/,"bar");print}'&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;  &lt;/span&gt;# replaces ALL instances in a line&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# substitute "foo" with  "bar" ONLY for lines which contain "baz"&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '/baz/{gsub(/foo/,  "bar")};{print}'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# substitute "foo" with  "bar" EXCEPT for lines which contain "baz"&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '!/baz/{gsub(/foo/,  "bar")};{print}'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# change "scarlet" or  "ruby" or "puce" to "red"&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{gsub(/scarlet|ruby|puce/,  "red"); print}'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# reverse order of lines (emulates  "tac")&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{a[i++]=$0} END {for (j=i-1; j&amp;gt;=0;)  print a[j--] }' file*&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# if a line ends with a backslash, append  the next line to it&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# (fails if there are multiple lines ending  with backslash...)&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '/\\$/ {sub(/\\$/,""); getline  t; print $0 t; next}; 1' file*&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print and sort the login names of all  users&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk -F ":" '{ print $1 |  "sort" }' /etc/passwd&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print the first 2 fields, in opposite  order, of every line&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{print $2, $1}' file&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# switch the first 2 fields of every line&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{temp = $1; $1 = $2; $2 = temp}' file&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print every line, deleting the second  field of that line&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{ $2 = ""; print }'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print in reverse order the fields of every  line&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{for (i=NF; i&amp;gt;0; i--)  printf("%s ",i);printf ("\n")}' file&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# remove duplicate, consecutive lines  (emulates "uniq")&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk 'a !~ $0; {a=$0}'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# remove duplicate, nonconsecutive lines&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '! a[$0]++'&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;# most concise script&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '!($0 in a) {a[$0];print}'&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;# most efficient script&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# concatenate every 5 lines of input, using  a comma separator&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# between fields&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk 'ORS=%NR%5?",":"\n"'  file&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;SELECTIVE PRINTING OF CERTAIN  LINES:&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print first 10 lines of file (emulates  behavior of "head")&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk 'NR &amp;lt; 11'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print first line of file (emulates  "head -1")&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk 'NR&amp;gt;1{exit};1'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;# print the last 2 lines of a file  (emulates "tail -2")&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '{y=x "\n" $0; x=$0};END{print  y}'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print the last line of a file (emulates  "tail -1")&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk 'END{print}'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print only lines which match regular  expression (emulates "grep")&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '/regex/'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print only lines which do NOT match regex  (emulates "grep -v")&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '!/regex/'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print the line immediately before a regex,  but not the line&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# containing the regex&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '/regex/{print x};{x=$0}'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '/regex/{print (x=="" ?  "match on line 1" : x)};{x=$0}'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print the line immediately after a regex,  but not the line&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# containing the regex&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '/regex/{getline;print}'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# grep for AAA and BBB and CCC (in any  order)&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '/AAA/; /BBB/; /CCC/'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# grep for AAA and BBB and CCC (in that  order)&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '/AAA.*BBB.*CCC/'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print only lines of 65 characters or  longer&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk 'length &amp;gt; 64'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print only lines of less than 65  characters&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk 'length &amp;lt; 64'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print section of file from regular  expression to end of file&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '/regex/,0'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '/regex/,EOF'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print section of file based on line  numbers (lines 8-12, inclusive)&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk 'NR==8,NR==12'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print line number 52&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk 'NR==52'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk 'NR==52 {print;exit}'&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;# more efficient on large files&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# print section of file between two regular  expressions (inclusive)&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '/Iowa/,/Montana/'&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;# case sensitive&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;SELECTIVE DELETION OF CERTAIN  LINES:&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;# delete ALL blank lines from a file (same  as "grep '.' ")&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk NF&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&lt;/span&gt;awk '/./'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;CREDITS AND THANKS:&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-6724879008478329823?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/6724879008478329823/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=6724879008478329823' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/6724879008478329823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/6724879008478329823'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2012/01/shell-script-espressioni-utili-awk.html' title='Shell Script espressioni utili AWK'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-5690163319839301802</id><published>2012-01-30T09:37:00.000-08:00</published><updated>2012-01-30T09:37:14.877-08:00</updated><title type='text'>Shell Script esempi SED</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt; &lt;br /&gt;&lt;table border="0" cellpadding="0" cellspacing="0" style="width: 768px;"&gt;&lt;colgroup&gt;&lt;col style="mso-width-alt: 28086; mso-width-source: userset; width: 576pt;" width="768"&gt;&lt;/col&gt; &lt;/colgroup&gt;&lt;tbody&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt; width: 576pt;" width="768"&gt;cat &lt;nome file=""&gt; | grep -n&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;stringa&gt; |  sed -n -e '2,$p'&lt;/stringa&gt;&lt;/nome&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;stampa dalla seconda riga in poi.&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;- stampa tutte le linee di un  file tranne i commenti (iniziano con '#')&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;cat $FILE | sed -e '/^#/d'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;- stampa tutte le linee che  iniziano con un numero&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;cat $FILE | sed -n "/^[0-9]/p"&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;- stampa tutte le linee che  NON iniziano con un numero&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;cat $FILE | sed -n "/^[0-9]/p"&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;- rimuove tutte le linee vuote  (costituite solo da \n)&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;cat $FILE | sed -e "/^$/d"&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;- rimuove tutte le linee  formate da spazi (e seguite da \n)&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;cat $FILE | sed -e "/^[ ][&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;]*$/d"&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;- rimuove tutte le linee che  contengono 'exportPIPPO'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;sed "/export[ |&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;]*PIPPO/d" $FILE&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;- rimuove il path di un  filename&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;echo "/usr/bin/prova" | sed -e  "s/.*\///"&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;scrive: prova&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;- scrive solo il path&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;echo "/usr/bin/prova" | sed -e  "s/\/[^\/]*$//"&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;scrive: /usr/bin&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;- stampa la 'n'esima riga di  un file (nell'esempio la 5a)&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;sed -n -e "5p" $FILE&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;- stampa le righe di un file  (nell'esempio dalla 2a alla 5a)&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;sed -n -e "2,5p" $FILE&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;- esempi di sostituzioni:&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;sed "s/\"/ /g"&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.. sostituisce tutte le '"' con  space&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;sed "s/,/ /g"&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.. sostituisce tutte le ',' con  space&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;sed 's:bin::'&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.. sostituisce il primo 'bin' con nulla&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;- esempi di estrazioni:&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;- id | sed -n  "/^uid=[0-9]*(\([^)]*\)).*/s//\1/p"&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;estrae: nome dell'user&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;- echo "-T100" | sed 's/^-T//'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;estrae: 100&lt;/td&gt; &lt;/tr&gt;&lt;tr height="17" style="height: 12.75pt;"&gt;  &lt;td height="17" style="height: 12.75pt;"&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;- estrae i campi user e home  (il 1o e il 6o) dal file /etc/passwd e formatta:&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;cat /etc/passwd | sed  's/\([^:]*\):.*:\(.*\):[^:]*$/_dir=\2 _user=\1/'&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;scrive: _dir=/ _user=root&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;...&lt;/td&gt; &lt;/tr&gt;&lt;tr height="20" style="height: 15.0pt;"&gt;  &lt;td class="xl65" height="20" style="height: 15.0pt;"&gt;&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;_dir=/home/bellina _user=bellina&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-5690163319839301802?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/5690163319839301802/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=5690163319839301802' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/5690163319839301802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/5690163319839301802'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2012/01/shell-script-esempi-sed.html' title='Shell Script esempi SED'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-4342444647741100729</id><published>2012-01-30T09:32:00.000-08:00</published><updated>2012-01-30T09:32:32.020-08:00</updated><title type='text'>ESX enable ssh and snmp</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;!--[if !mso]&gt;&lt;style&gt;v\:* {behavior:url(#default#VML);}o\:* {behavior:url(#default#VML);}w\:* {behavior:url(#default#VML);}.shape {behavior:url(#default#VML);}&lt;/style&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt; &lt;w:WordDocument&gt;  &lt;w:View&gt;Normal&lt;/w:View&gt;  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;  &lt;w:TrackMoves&gt;false&lt;/w:TrackMoves&gt;  &lt;w:TrackFormatting/&gt;  &lt;w:HyphenationZone&gt;14&lt;/w:HyphenationZone&gt;  &lt;w:PunctuationKerning/&gt;  &lt;w:ValidateAgainstSchemas/&gt;  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;  &lt;w:DoNotPromoteQF/&gt;  &lt;w:LidThemeOther&gt;IT&lt;/w:LidThemeOther&gt;  &lt;w:LidThemeAsian&gt;X-NONE&lt;/w:LidThemeAsian&gt;  &lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;  &lt;w:Compatibility&gt;   &lt;w:BreakWrappedTables/&gt;   &lt;w:SnapToGridInCell/&gt;   &lt;w:WrapTextWithPunct/&gt;   &lt;w:UseAsianBreakRules/&gt;   &lt;w:DontGrowAutofit/&gt;   &lt;w:SplitPgBreakAndParaMark/&gt;   &lt;w:DontVertAlignCellWithSp/&gt;   &lt;w:DontBreakConstrainedForcedTables/&gt;   &lt;w:DontVertAlignInTxbx/&gt;   &lt;w:Word11KerningPairs/&gt;   &lt;w:CachedColBalance/&gt;  &lt;/w:Compatibility&gt;  &lt;m:mathPr&gt;   &lt;m:mathFont m:val="Cambria Math"/&gt;   &lt;m:brkBin m:val="before"/&gt;   &lt;m:brkBinSub m:val="&amp;#45;-"/&gt;   &lt;m:smallFrac m:val="off"/&gt;   &lt;m:dispDef/&gt;   &lt;m:lMargin m:val="0"/&gt;   &lt;m:rMargin m:val="0"/&gt;   &lt;m:defJc m:val="centerGroup"/&gt;   &lt;m:wrapIndent m:val="1440"/&gt;   &lt;m:intLim m:val="subSup"/&gt;   &lt;m:naryLim m:val="undOvr"/&gt;  &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt;&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt; &lt;w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"  DefSemiHidden="true" DefQFormat="false" DefPriority="99"  LatentStyleCount="267"&gt;  &lt;w:LsdException Locked="false" Priority="0" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Normal"/&gt;  &lt;w:LsdException Locked="false" Priority="9" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="heading 1"/&gt;  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/&gt;  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/&gt;  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/&gt;  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/&gt;  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/&gt;  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/&gt;  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/&gt;  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 1"/&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 2"/&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 3"/&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 4"/&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 5"/&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 6"/&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 7"/&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 8"/&gt;  &lt;w:LsdException Locked="false" Priority="39" Name="toc 9"/&gt;  &lt;w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/&gt;  &lt;w:LsdException Locked="false" Priority="10" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Title"/&gt;  &lt;w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/&gt;  &lt;w:LsdException Locked="false" Priority="11" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/&gt;  &lt;w:LsdException Locked="false" Priority="22" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Strong"/&gt;  &lt;w:LsdException Locked="false" Priority="20" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/&gt;  &lt;w:LsdException Locked="false" Priority="59" SemiHidden="false"   UnhideWhenUsed="false" Name="Table Grid"/&gt;  &lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/&gt;  &lt;w:LsdException Locked="false" Priority="1" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/&gt;  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading"/&gt;  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List"/&gt;  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid"/&gt;  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1"/&gt;  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2"/&gt;  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1"/&gt;  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2"/&gt;  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1"/&gt;  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2"/&gt;  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3"/&gt;  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List"/&gt;  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading"/&gt;  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List"/&gt;  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid"/&gt;  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 1"/&gt;  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 1"/&gt;  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 1"/&gt;  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/&gt;  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/&gt;  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/&gt;  &lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/&gt;  &lt;w:LsdException Locked="false" Priority="34" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/&gt;  &lt;w:LsdException Locked="false" Priority="29" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Quote"/&gt;  &lt;w:LsdException Locked="false" Priority="30" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/&gt;  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/&gt;  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/&gt;  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/&gt;  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/&gt;  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 1"/&gt;  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/&gt;  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 1"/&gt;  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/&gt;  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 2"/&gt;  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 2"/&gt;  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 2"/&gt;  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/&gt;  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/&gt;  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/&gt;  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/&gt;  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/&gt;  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/&gt;  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/&gt;  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 2"/&gt;  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/&gt;  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 2"/&gt;  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/&gt;  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 3"/&gt;  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 3"/&gt;  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 3"/&gt;  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/&gt;  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/&gt;  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/&gt;  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/&gt;  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/&gt;  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/&gt;  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/&gt;  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 3"/&gt;  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/&gt;  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 3"/&gt;  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/&gt;  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 4"/&gt;  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 4"/&gt;  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 4"/&gt;  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/&gt;  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/&gt;  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/&gt;  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/&gt;  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/&gt;  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/&gt;  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/&gt;  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 4"/&gt;  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/&gt;  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 4"/&gt;  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/&gt;  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 5"/&gt;  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 5"/&gt;  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 5"/&gt;  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/&gt;  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/&gt;  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/&gt;  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/&gt;  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/&gt;  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/&gt;  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/&gt;  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 5"/&gt;  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/&gt;  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 5"/&gt;  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/&gt;  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Shading Accent 6"/&gt;  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"   UnhideWhenUsed="false" Name="Light List Accent 6"/&gt;  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"   UnhideWhenUsed="false" Name="Light Grid Accent 6"/&gt;  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/&gt;  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/&gt;  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/&gt;  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/&gt;  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/&gt;  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/&gt;  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/&gt;  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"   UnhideWhenUsed="false" Name="Dark List Accent 6"/&gt;  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/&gt;  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful List Accent 6"/&gt;  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"   UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/&gt;  &lt;w:LsdException Locked="false" Priority="19" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/&gt;  &lt;w:LsdException Locked="false" Priority="21" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/&gt;  &lt;w:LsdException Locked="false" Priority="31" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/&gt;  &lt;w:LsdException Locked="false" Priority="32" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/&gt;  &lt;w:LsdException Locked="false" Priority="33" SemiHidden="false"   UnhideWhenUsed="false" QFormat="true" Name="Book Title"/&gt;  &lt;w:LsdException Locked="false" Priority="37" Name="Bibliography"/&gt;  &lt;w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/&gt; &lt;/w:LatentStyles&gt;&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt;&lt;style&gt; /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Tabella normale"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;}&lt;/style&gt;&lt;![endif]--&gt;&lt;br /&gt;&lt;div class="MsoNormal"&gt;&lt;span lang="EN-US" style="font-size: 20.0pt; line-height: 115%; mso-ansi-language: EN-US;"&gt;Enable SSH on ESX 3.5&lt;/span&gt;&lt;/div&gt;&lt;div class="style1"&gt;&lt;span lang="EN-US" style="mso-ansi-language: EN-US;"&gt;ESXi 3.5 doesship with the ability to run SSH, but this is disabled by default (and is notsupported). If you just need to access the console of ESXi, then you only needto perform steps 1 - 3.&lt;/span&gt;&lt;/div&gt;&lt;div class="style1"&gt;&lt;span lang="EN-US" style="mso-ansi-language: EN-US;"&gt;1) At theconsole of the ESXi host, press ALT-F1 to access the console window.&lt;br /&gt;2) Enter &lt;strong&gt;unsupported&lt;/strong&gt; in the console and then press Enter. Youwill not see the text you type in.&lt;br /&gt;3) If you typed in unsupported correctly, you will see the Tech Support Modewarning and a password prompt. Enter the password for the root login.&lt;br /&gt;4) You should then see the prompt of ~ #. Edit the file inetd.conf (enter thecommand &lt;strong&gt;vi /etc/inetd.conf&lt;/strong&gt;).&lt;br /&gt;5) Find the line that begins with #ssh and remove the #. Then save the file. Ifyou're new to using vi, then move the cursor down to #ssh line and then pressthe &lt;strong&gt;Insert&lt;/strong&gt; key. Move the cursor over one space and then hitbackspace to delete the #. Then press &lt;strong&gt;ESC&lt;/strong&gt; and type in &lt;strong&gt;:wq&lt;/strong&gt;to save the file and exit vi. If you make a mistake, you can press the &lt;strong&gt;ESC&lt;/strong&gt;key and then type it :q! to quit vi without saving the file.&lt;br /&gt;6) Once you've closed the vi editor, run the command &lt;strong&gt;/sbin/services.shrestart&lt;/strong&gt; to restart the management services. You'll now be able toconnect to the ESXi host with a SSH client.&lt;/span&gt;&lt;/div&gt;&lt;div class="style1"&gt;&lt;span class="style2"&gt;&lt;span lang="EN-US" style="mso-ansi-language: EN-US;"&gt;Tip&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="mso-ansi-language: EN-US;"&gt; -with some applications like WinSCP, the default encryption cipher used is AES.If you change that to Blowfish you will likely see significantly fastertransfers.&lt;/span&gt;&lt;/div&gt;&lt;div class="style1"&gt;&lt;span class="style2"&gt;&lt;span lang="EN-US" style="mso-ansi-language: EN-US;"&gt;Update for ESXi 3.5 Update 2&lt;/span&gt;&lt;/span&gt;&lt;span lang="EN-US" style="mso-ansi-language: EN-US;"&gt; - With Update 2 the service.sh command nolonger restarts the inetd process which enables SSH access. You can eitherrestart your host or run &lt;strong&gt;ps | grep inetd &lt;/strong&gt;to determine theprocess ID for the inetd process. The output of the command will be somethinglike 1299 1299 busybox &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;inetd, and the process IDis 1299. Then run &lt;strong&gt;kill -HUP &lt;process_id&gt; &lt;/process_id&gt;&lt;/strong&gt;(kill -HUP 1299in this example) and you'll then be able to access the host via SSH.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"&gt;&lt;br clear="all" style="mso-special-character: line-break; page-break-before: always;" /&gt;&lt;/span&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 18.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;ENABLE SSH AND SNMP ON ESX&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;There are two ways to go about with this depending upon your installation&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;a. If your esxi installation is new and/ or your evaluation license isstill valid, then go to the section that says Enable &amp;nbsp; &amp;nbsp; &amp;nbsp; SNMPvia RCLI&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;b. If your esxi installation has been in production for a while / and oryou got a license installed and your evaluation period has expired then go tothe following section which is to enable SNMP via SSH. For this you will needto enable SSH first on your esxi host by following the steps detailed below.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;b&gt;&lt;u&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Enabling SSH on your ESXI host.&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Shutdown all your running VM’s on the esxi host     and place the host on Maintenance mode.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Log onto your Esxi Console physically from the     box by pressing F2&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Type in your root password&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Press ALT+ F1 to enter the Technical Support     login. Beware that any changes from here will not be warranted for support     with VMware. So please be careful and test this and practice on a test     esxi host before going live with production.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Type &lt;b&gt;&lt;span style="color: #17365d;"&gt;unsupported&lt;/span&gt;&lt;/b&gt; and press &lt;span style="color: #17365d;"&gt;enter&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Type in your &lt;b&gt;&lt;span style="color: #17365d;"&gt;root     password&lt;/span&gt;&lt;br /&gt;     &lt;/b&gt;at the prompt again and press &lt;b&gt;&lt;span style="color: #17365d;"&gt;enter&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Now you need to edit the &lt;b&gt;&lt;span style="color: #17365d;"&gt;inetd.conf file&lt;/span&gt;&lt;/b&gt;. To do this type &lt;b&gt;&lt;span style="color: #17365d;"&gt;vi /etc/inetd.conf&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Scroll down using your down arrow key sort of     towards the end of the screen where you would see two lines starting with &lt;span style="color: #17365d;"&gt;#ssh&lt;/span&gt;. Place the cursor on top of the &lt;span style="color: #17365d;"&gt;#&lt;/span&gt; and press delete. &lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Do this for the next line as     well.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Now press &lt;b&gt;&lt;u&gt;&lt;span style="color: #17365d;"&gt;SHIFT+:     and type wq&lt;/span&gt;&lt;/u&gt;&lt;/b&gt; to save the file.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Now you will be back at your #prompt. To restart     the service type &lt;b&gt;&lt;span style="color: #17365d;"&gt;services.sh&lt;/span&gt;&lt;/b&gt;     restart.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Press &lt;b&gt;&lt;span style="color: #17365d;"&gt;ALT+F1&lt;/span&gt;&lt;/b&gt;     to return to the esxi host console page.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Press &lt;b&gt;&lt;span style="color: #17365d;"&gt;ESC&lt;/span&gt;&lt;/b&gt; to log off&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Press &lt;b&gt;&lt;span style="color: #17365d;"&gt;F12&lt;/span&gt;&lt;/b&gt;     to initiate your restart of the esxi host.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;You will be promoted for your root password and     press enter.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Press &lt;b&gt;&lt;span style="color: #17365d;"&gt;F11&lt;/span&gt;&lt;/b&gt;     to restart the host.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Once the esxi host is up and running again use     your favourite SSH client mine is &lt;/span&gt;&lt;a href="http://the.earth.li/%7Esgtatham/putty/latest/x86/putty.exe"&gt;&lt;span lang="EN-US" style="color: blue; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Putty&lt;/span&gt;&lt;/a&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt; and &lt;/span&gt;&lt;a href="http://winscp.net/download/winscp427setup.exe"&gt;&lt;span lang="EN-US" style="color: blue; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;WinSCP&lt;/span&gt;&lt;/a&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt; to test SSH connectivity     to your esxi host.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;b&gt;&lt;u&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Enabling SNMP via SSH on your ESXI host.&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l1 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Once you got SSH running , download and install     WinSCP on your workstation..&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l1 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Open WinSCP and type in the details for your esxi     host including IP address, root as the username and root password. &lt;b&gt;&lt;u&gt;&lt;span style="color: #17365d;"&gt;Make sure you change connection type to SCP from     default SFTP&lt;/span&gt;&lt;/u&gt;&lt;/b&gt; option as shown&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-left: 36.0pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT; mso-no-proof: yes;"&gt;&lt;img alt="http://wellytonian.com/wp-content/uploads/2010/03/032410_2152_EnablingSSH1.png" border="0" height="403" src="file:///C:/Users/GREEN-%7E1/AppData/Local/Temp/msohtmlclip1/01/clip_image002.jpg" width="523" /&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start="3" type="1"&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l1 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Once logged in your WinSCP window will look like     the follow. On the Esxi host side navigate to &lt;b&gt;&lt;u&gt;&lt;span style="color: #17365d;"&gt;/etc/vmware &lt;/span&gt;&lt;/u&gt;&lt;/b&gt;and find the file called &lt;b&gt;&lt;u&gt;&lt;span style="color: #17365d;"&gt;snmp.xml&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-left: -42.55pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT; mso-no-proof: yes;"&gt;&lt;img alt="http://wellytonian.com/wp-content/uploads/2010/03/032410_2152_EnablingSSH2.png" border="0" height="515" src="file:///C:/Users/GREEN-%7E1/AppData/Local/Temp/msohtmlclip1/01/clip_image004.jpg" width="713" /&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start="4" type="1"&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l1 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Drag and drop the snmp.xml file from the &lt;b&gt;&lt;u&gt;&lt;span style="color: #17365d;"&gt;right to the left&lt;/span&gt;&lt;/u&gt;&lt;/b&gt; of the screen.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-left: -42.55pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT; mso-no-proof: yes;"&gt;&lt;img alt="http://wellytonian.com/wp-content/uploads/2010/03/032410_2152_EnablingSSH3.png" border="0" height="571" src="file:///C:/Users/GREEN-%7E1/AppData/Local/Temp/msohtmlclip1/01/clip_image006.jpg" width="734" /&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start="5" type="1"&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l1 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Open the document with your favourite Notepad     editor. &lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;I am     using &lt;/span&gt;&lt;a href="http://sourceforge.net/projects/notepad-plus/files/"&gt;&lt;span style="color: blue; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Notepad++&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-left: 36.0pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT; mso-no-proof: yes;"&gt;&lt;img alt="http://wellytonian.com/wp-content/uploads/2010/03/032410_2152_EnablingSSH4.png" border="0" height="283" src="file:///C:/Users/GREEN-%7E1/AppData/Local/Temp/msohtmlclip1/01/clip_image007.gif" width="282" /&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start="6" type="1"&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l1 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;It would have the following default settings:&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-left: 36.0pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT; mso-no-proof: yes;"&gt;&lt;img alt="http://wellytonian.com/wp-content/uploads/2010/03/032410_2152_EnablingSSH5.png" border="0" height="53" src="file:///C:/Users/GREEN-%7E1/AppData/Local/Temp/msohtmlclip1/01/clip_image008.gif" width="1006" /&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start="7" type="1"&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l1 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;b&gt;&lt;u&gt;&lt;span lang="EN-US" style="color: red; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;First and foremost make a copy of the file     before editing it and save it with a different file name so that if     something goes wrong you always have a copy of the original&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l1 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Now do the following editing to it and save it     with same file name snmp.xml.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-left: -1.0cm; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT; mso-no-proof: yes;"&gt;&lt;img alt="http://wellytonian.com/wp-content/uploads/2010/03/032410_2152_EnablingSSH6.png" border="0" height="212" src="file:///C:/Users/GREEN-%7E1/AppData/Local/Temp/msohtmlclip1/01/clip_image009.gif" width="631" /&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start="9" type="1"&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l1 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Save the file and now go back to WinSCP and drag     the &lt;b&gt;&lt;u&gt;&lt;span style="color: #17365d;"&gt;file from the left to the right and     accept the warning message to overwrite the file&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-left: -1.0cm; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT; mso-no-proof: yes;"&gt;&lt;img alt="http://wellytonian.com/wp-content/uploads/2010/03/032410_2152_EnablingSSH7.png" border="0" height="570" src="file:///C:/Users/GREEN-%7E1/AppData/Local/Temp/msohtmlclip1/01/clip_image011.jpg" width="728" /&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start="10" type="1"&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l1 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Once that is &lt;b&gt;&lt;u&gt;&lt;span style="color: #17365d;"&gt;done     restart your esxi host&lt;/span&gt;&lt;/u&gt;&lt;/b&gt; and test SNMP which will be followed     up in the next section.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;b&gt;&lt;u&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Enabling SNMP via RCLI ( Only works for NewInstallation of Esxi , Valuation License still valid state)&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l4 level1 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Download the Remote Command Line Interface from &lt;/span&gt;&lt;a href="http://communities.vmware.com/community/vmtn/vsphere/automationtools/vsphere_cli"&gt;&lt;span lang="EN-US" style="color: blue; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Vmware RCLI Download&lt;/span&gt;&lt;/a&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt; for Vsphere.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l4 level1 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Install it on your workstation.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l4 level1 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;To start RCLI browse to your VMware folder under     all programs and kick start the command line under vmware&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-left: 36.0pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT; mso-no-proof: yes;"&gt;&lt;img alt="http://wellytonian.com/wp-content/uploads/2010/03/032410_2152_EnablingSSH8.png" border="0" height="128" src="file:///C:/Users/GREEN-%7E1/AppData/Local/Temp/msohtmlclip1/01/clip_image013.jpg" width="254" /&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start="4" type="1"&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l4 level1 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;At the command prompt type cd bin and then do a     dir. This Directory has all the scripts that are required to run a variety     of tasks on your esxi and esx servers.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l4 level1 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Type the following command&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-left: 36.0pt; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span lang="EN-US" style="color: #17365d; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;vicfg-snmp.pl–server &lt;b&gt;ESXISERVERIP&lt;/b&gt; -c &lt;b&gt;SNMPCOMMUNITYSTRING&lt;/b&gt; -t &lt;b&gt;MONITORINGSERVERIP@162_or_161/SNMPCOMMUNITYSTRING&lt;/b&gt;&lt;/span&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start="6" type="1"&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l4 level1 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;To enable SNMP type &lt;span style="color: #17365d;"&gt;vicfg-snmp.pl     –server &lt;b&gt;ESXISERVERIP&lt;/b&gt; –E&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l4 level1 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;To show the running config of SNMP on your esxi     server type &lt;span style="color: #17365d;"&gt;vicfg-snmp.pl –server &lt;b&gt;ESXISERVERIP&lt;/b&gt;     –s&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l4 level1 lfo3; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;To test the SNMP confi type &lt;span style="color: #17365d;"&gt;vicfg-snmp –server &lt;b&gt;ESXISERVERIP&lt;/b&gt; –T&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;As you may have seen in the heading of this section this works only for newinstallation of esxi or those that have their Valuation license still valid (60Days). For those who don’t fall into the category the only option is to go withSSH and then enabling SNMP option.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;You will see this error if you try via RCLI&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT; mso-no-proof: yes;"&gt;&lt;img alt="http://wellytonian.com/wp-content/uploads/2010/03/032410_2152_EnablingSSH9.png" border="0" height="123" src="file:///C:/Users/GREEN-%7E1/AppData/Local/Temp/msohtmlclip1/01/clip_image014.gif" width="432" /&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;This is because remote write permission is disabled on the free version ofesxi.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT; mso-no-proof: yes;"&gt;&lt;img alt="http://wellytonian.com/wp-content/uploads/2010/03/032410_2152_EnablingSSH10.png" border="0" height="679" src="file:///C:/Users/GREEN-%7E1/AppData/Local/Temp/msohtmlclip1/01/clip_image016.jpg" width="667" /&gt;&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Now user your favourite SNMP monitoring station Cacti, Zenoss, Spiceworksthere are so many to start monitoring your Esxi environment.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Next post update on this will be to check on Cacti monitoring these ladies&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;I would really appreciate some feedback for this article as to if this canbe done in a simpler way or if there is a way to hack the write permissionissue for the free esxi hosts.&lt;/span&gt;&lt;/div&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;&lt;br clear="all" style="mso-special-character: line-break; page-break-before: always;" /&gt;&lt;/span&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;"&gt;&lt;b&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 18.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Enabling SNMP on VMware ESXiServers&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;The following procedure enables SNMP on VMware ESXi.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Notes:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l3 level1 lfo4; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;The free version of VMware ESXi does not support     SNMP.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l3 level1 lfo4; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;The following procedure to enable SNMP requires     the vSphere command line interface (CLI). The vSphere CLI is not packaged     with your ESXi Server by default, so you will need to download it from     VMware, as indicated.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;b&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;To enable SNMP on VMware ESXi:&lt;/span&gt;&lt;/b&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l2 level1 lfo5; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Download and install the VMware vSphere command     line interface from the VMware Download Center     (http://downloads.vmware.com/d/).&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l2 level1 lfo5; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Use the vSphere CLI to view your ESXi server SNMP     settings, as indicated in the following procedure:&lt;/span&gt;&lt;/li&gt;&lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l2 level2 lfo5; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 72.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;In the Perl\bin directory of your vSphere      installation, execute the following script:&lt;br /&gt;      &lt;/span&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;perl      ..\..\bin\vicfg-snmp.pl --server &lt;i&gt;ip_address&lt;/i&gt; –s&lt;/span&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;&lt;br /&gt;      &lt;b&gt;Notes:&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;ul type="square"&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l2 level3 lfo5; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 108.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;C:\Program Files\VMware\VMware vSphere       CLI\Perl\bin&lt;/span&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt; is the default       location of the vSphere &lt;/span&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Perl\bin&lt;/span&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt; directory.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l2 level3 lfo5; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 108.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Replace &lt;/span&gt;&lt;i&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;ip_address&lt;/span&gt;&lt;/i&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt; with the IP address of your ESXi server.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l2 level2 lfo5; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 72.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Enter an appropriate user name at the prompt.&lt;br /&gt;      &lt;b&gt;Note:&lt;/b&gt; For most environments, &lt;/span&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;root&lt;/span&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;      should be sufficient.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l2 level2 lfo5; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 72.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Enter the associated password at the prompt.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l2 level1 lfo5; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Use the vSphere CLI to enable SNMP on your ESXi     server, as indicated in the following procedure:&lt;/span&gt;&lt;/li&gt;&lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l2 level2 lfo5; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 72.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;In the Perl\bin directory of your vSphere      installation, execute the following script to add an appropriate      community string:&lt;br /&gt;      &lt;/span&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;perl ..\..\bin\vicfg-snmp.pl      --server &lt;i&gt;ip_address&lt;/i&gt; -c &lt;i&gt;cstring&lt;/i&gt;&lt;/span&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;&lt;br /&gt;      &lt;b&gt;Note:&lt;/b&gt; Replace &lt;/span&gt;&lt;i&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;ip_address&lt;/span&gt;&lt;/i&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt; with the IP address of your ESXi server, and      replace &lt;/span&gt;&lt;i&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;cstring&lt;/span&gt;&lt;/i&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt; with the community string you are adding. For      most environments, the community string &lt;/span&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;public&lt;/span&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;      should be sufficient.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l2 level2 lfo5; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 72.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Enter an appropriate user name at the prompt.&lt;br /&gt;      &lt;b&gt;Note:&lt;/b&gt; For most environments, &lt;/span&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;root&lt;/span&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;      should be sufficient.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l2 level2 lfo5; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 72.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Enter the associated password at the prompt.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l2 level2 lfo5; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 72.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;In the &lt;/span&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Perl\bin&lt;/span&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt; directory of your vSphere installation, execute      the following script to enable SNMP:&lt;br /&gt;      &lt;/span&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;perl      ..\..\bin\vicfg-snmp.pl --server &lt;i&gt;ip_address&lt;/i&gt; –E&lt;/span&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;&lt;br /&gt;      &lt;b&gt;Note:&lt;/b&gt; Replace &lt;/span&gt;&lt;b&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;ip_address&lt;/span&gt;&lt;/b&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt; with the IP address of your ESXi server.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l2 level2 lfo5; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 72.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Enter an appropriate user name at the prompt.&lt;br /&gt;      &lt;b&gt;Note:&lt;/b&gt; For most environments, &lt;/span&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;root&lt;/span&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;      should be sufficient.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l2 level2 lfo5; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 72.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Enter the associated password at the prompt.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li class="MsoNormal" style="line-height: normal; mso-list: l2 level1 lfo5; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;Reboot your ESXi server to allow settings to take     effect.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span lang="EN-US" style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: IT;"&gt;&lt;br clear="all" style="mso-special-character: line-break; page-break-before: always;" /&gt;&lt;/span&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-4342444647741100729?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/4342444647741100729/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=4342444647741100729' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/4342444647741100729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/4342444647741100729'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2012/01/esx-enable-ssh-and-snmp.html' title='ESX enable ssh and snmp'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-7449171985723232208</id><published>2012-01-30T09:20:00.001-08:00</published><updated>2012-01-30T09:20:54.974-08:00</updated><title type='text'>Aggingi bottone Blogthis! in picasa 3.9</title><content type='html'>Picasa 3.9Add Photo Tray buttonsDiscover new features and add convenient buttons to the Photo Tray:    Click Tools &gt; Configure Buttons.    Use the Add and Remove buttons to control which buttons display.Collage: Make a collage and share it with your friends and family. Experiment with six different types of collage, and maintain total control over your collage content and layout.    Movie: Combine your photos, videos, and music into a movie and upload it directly to YouTube.    BlogThis!: Post photos directly from Picasa to Blogger.    Shop: Order prints from our online print partners.Use the Move Up and Move Down buttons to order them. Click the OK button to save the new settings.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-7449171985723232208?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/7449171985723232208/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=7449171985723232208' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/7449171985723232208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/7449171985723232208'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2012/01/aggingi-bottone-blogthis-in-picasa-39.html' title='Aggingi bottone Blogthis! in picasa 3.9'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-4735269023648947642</id><published>2011-06-22T13:24:00.001-07:00</published><updated>2011-06-22T13:24:53.875-07:00</updated><title type='text'>Dbm di riferimento qualita wifi</title><content type='html'>&lt;span class="postcolor"&gt;The signal strength for all received packets.  The color of this parameter's progress bar provides a visual  interpretation of signal strength.&lt;br /&gt;Value:&lt;br /&gt;&lt;br /&gt;•Excellent (green): -57 to -45 dBms (75 to 100%)&lt;br /&gt;&lt;br /&gt;•Good (green): -75 to -58 dBms (40 to 74%)&lt;br /&gt;&lt;br /&gt;• Fair (yellow): -85 to -76 dBms (20 to 39%)&lt;br /&gt;&lt;br /&gt;• Poor (red): -95 to -86 dBms (0 to 19%)&lt;br /&gt;&lt;br /&gt;•No Link &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-4735269023648947642?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/4735269023648947642/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=4735269023648947642' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/4735269023648947642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/4735269023648947642'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2011/06/dbm-di-riferimento-qualita-wifi.html' title='Dbm di riferimento qualita wifi'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-5341468379575358255</id><published>2011-04-14T08:35:00.000-07:00</published><updated>2011-04-14T08:36:23.761-07:00</updated><title type='text'>Organizzare musica.</title><content type='html'>1- Finita l'era della musica senza nome grazie a &lt; Jaikoz &gt; programma in italiano in prova&lt;br /&gt;&lt;br /&gt;Jaikoz è un complemento indispensabile per tutti coloro che vogliano tenere in ordine la propria libreria musicale, poiché è capace di cercare e copiare automaticamente i tag multimediali degli MP3 con titolo "Track 01" e "Unknown". Efficace, rapido e in italiano&lt;br /&gt;&lt;br /&gt;Jaikoz è stata una di quelle scoperte che ti cambiano la vita. Hai presente quei terribili MP3 estratti da CD audio che hanno come titolo "Track 01", "Titolo sconosciuto" e "Unknown"? Hai mai desiderato un programma che faccia il lavoro di riconoscimento del contenuto e di ridenominazione al posto tuo? Se la risposta è sì, sarai felice di sapere che Jaikoz fa esattamente questo. E lo fa bene.&lt;br /&gt;&lt;br /&gt;Per il download di Jaikoz 2.9.0 in italiano in prova&lt;br /&gt;il link:&lt;br /&gt;http://jaikoz.softonic.it/&lt;br /&gt;&lt;br /&gt;--------------------------------------…&lt;br /&gt;&lt;br /&gt;2- Scopri il titolo della canzone che stai ascoltando con &lt; Tunatic &gt; programma in inglese gratis&lt;br /&gt;&lt;br /&gt;Tunatic riconosce artista e titolo di una canzone ascoltando una traccia da qualunque fonte audio&lt;br /&gt;&lt;br /&gt;Molte volte guardando uno spot in TV, vedendo un video su YouTube, o ascoltando la radio in streaming ti sarà capitato di sentire un brano musicale e chiederti: "che canzone è? Chi la canta?". E con ogni probabilità non sarai riuscito a darti una risposta. Ma con Tunatic la musica (in tutti i sensi) cambia.&lt;br /&gt;&lt;br /&gt;Per il download di Tunatic 1.0.1 b in inglese gratis&lt;br /&gt;il link:&lt;br /&gt;http://tunatic.softonic.it/&lt;br /&gt;Fonti:&lt;br /&gt;Personale - Rete&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-5341468379575358255?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/5341468379575358255/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=5341468379575358255' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/5341468379575358255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/5341468379575358255'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2011/04/organizzare-musica.html' title='Organizzare musica.'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-5374678804916572843</id><published>2010-05-20T07:48:00.000-07:00</published><updated>2010-05-20T07:49:15.486-07:00</updated><title type='text'>Create empty file in UNIX</title><content type='html'>LINUX&lt;br /&gt;dd if=/dev/urandom of=yourfilename bs=1M count=100 &lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;SOLARIS&lt;br /&gt;dd if=/dev/urandom of=yourfilename bs=1 count=100&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-5374678804916572843?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/5374678804916572843/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=5374678804916572843' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/5374678804916572843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/5374678804916572843'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2010/05/create-empty-file-in-unix.html' title='Create empty file in UNIX'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-7988935761205350434</id><published>2010-03-22T08:14:00.000-07:00</published><updated>2010-03-22T08:51:04.537-07:00</updated><title type='text'>Compact Flash cards Speeds</title><content type='html'>Flash memory devices are non-volatile and solid-state, and thus are more robust than disk drives. Cards consume around 5% of the power required by small disk drives and still have reasonable transfer rates of over 45 MB/s for the more expensive 'high speed' cards.[6]&lt;br /&gt;&lt;br /&gt;Card speed is usually specified in "x" ratings, e.g. 8x, 20x, 133x. This is the same system used for CD-ROMs and gives the data rate as a multiple of the data rate of the first CD-ROMs (i.e. the data rate of an audio CD). The base rate is 150 kB/s, so for example, 20x = 20 * 150 kB/s = 3.0 MB/s.&lt;br /&gt;&lt;br /&gt;The following table lists some common ratings and their respective maximum transfer rates.&lt;br /&gt;Rating     Speed (MB/s)&lt;br /&gt;  6x      0.9&lt;br /&gt; 32x      4.8&lt;br /&gt; 40x      6.0&lt;br /&gt; 66x     10.0&lt;br /&gt;100x     15.0&lt;br /&gt;133x     20.0&lt;br /&gt;150x     22.5&lt;br /&gt;200x     30.0 EXTREME3&lt;br /&gt;266x     40.0 EXTREME4&lt;br /&gt;280x     42.0&lt;br /&gt;300x     45.0&lt;br /&gt;333x     50.0&lt;br /&gt;400x     60.0&lt;br /&gt;433x     65.0&lt;br /&gt;600x     90.0 UDMA&lt;br /&gt;667x     100.0&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-7988935761205350434?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/7988935761205350434/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=7988935761205350434' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/7988935761205350434'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/7988935761205350434'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2010/03/compact-flash-cards-speeds.html' title='Compact Flash cards Speeds'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-38557943893479453</id><published>2010-03-17T04:34:00.000-07:00</published><updated>2010-03-19T03:45:52.612-07:00</updated><title type='text'>FireFox keeps asking for Proxy Authentication</title><content type='html'>1. close Firefox ***edit the java script file all.js&lt;br /&gt;&lt;br /&gt;set the pref  network.auth.force-generic-ntlm set to “true” in the following file: &lt;br /&gt;&lt;br /&gt;c:\program files\mozilla firefox\greprefs\all.js&lt;br /&gt;Restart Firefox&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-38557943893479453?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/38557943893479453/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=38557943893479453' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/38557943893479453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/38557943893479453'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2010/03/firefox-keeps-asking-for-proxy.html' title='FireFox keeps asking for Proxy Authentication'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-954902921086115064</id><published>2010-03-06T08:46:00.001-08:00</published><updated>2010-03-28T07:41:40.819-07:00</updated><title type='text'>UBUNTU 9.10 resolution problems solved.</title><content type='html'>&lt;ol&gt;&lt;li&gt;&lt;a href="https://wiki.ubuntu.com/X/Config/Resolution#Resetting%20an%20out-of-range%20resolution"&gt;Resetting an out-of-range resolution&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://wiki.ubuntu.com/X/Config/Resolution#Dynamically%20testing%20different%20resolutions"&gt;Dynamically testing different resolutions&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://wiki.ubuntu.com/X/Config/Resolution#Adding%20undetected%20resolutions"&gt;Adding undetected resolutions&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://wiki.ubuntu.com/X/Config/Resolution#Setting%20xrandr%20changes%20persistently"&gt;Setting xrandr changes persistently&lt;/a&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="https://wiki.ubuntu.com/X/Config/Resolution#Setting%20xrandr%20commands%20in%20.xprofile"&gt;Setting xrandr commands in .xprofile&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://wiki.ubuntu.com/X/Config/Resolution#Setting%20xrandr%20commands%20in%20kdm/gdm%20startup%20scripts"&gt;Setting xrandr commands in kdm/gdm startup scripts&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://wiki.ubuntu.com/X/Config/Resolution#Setting%20resolution%20changes%20in%20xorg.conf"&gt;Setting resolution changes in xorg.conf&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://wiki.ubuntu.com/X/Config/Resolution#Setting%20resolution%20changes%20in%20xorg.conf%20--%20resolution%20lower%20than%20expected"&gt;Setting resolution changes in xorg.conf -- resolution lower than expected&lt;/a&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="https://wiki.ubuntu.com/X/Config/Resolution#Try%20this%20first"&gt;Try this first&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://wiki.ubuntu.com/X/Config/Resolution#Use%20cvt/xrandr%20tool%20to%20add%20the%20highest%20mode%20the%20LCD%20can%20do"&gt;Use cvt/xrandr tool to add the highest mode the LCD can do&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://wiki.ubuntu.com/X/Config/Resolution#Goto%20Ubuntu%20Menu:%20System%20-%3E%20Preference%20-%3E%20Display"&gt;Goto Ubuntu Menu: System -&gt; Preference -&gt; Display&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="https://wiki.ubuntu.com/X/Config/Resolution#Obtaining%20modelines%20from%20Windows%20program%20PowerStrip"&gt;Obtaining modelines from Windows program PowerStrip&lt;/a&gt;&lt;/li&gt;&lt;/ol&gt; &lt;span class="anchor" id="line-2"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-3"&gt;&lt;/span&gt;&lt;p class="line867"&gt; &lt;/p&gt;&lt;h2 id="Resetting an out-of-range resolution"&gt;&lt;br /&gt;&lt;/h2&gt;&lt;h2 id="Resetting an out-of-range resolution"&gt;The fastway.&lt;/h2&gt;cvt 1280 1024&lt;br /&gt;# 1280x1024 59.89 Hz (CVT 1.31M4) hsync: 63.67 kHz; pclk: 109.00 MHz&lt;br /&gt;Modeline "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync&lt;br /&gt;&lt;br /&gt;xrandr --newmode "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync&lt;br /&gt;&lt;br /&gt;xrandr --addmode VGA1 1280x1024_60.00&lt;br /&gt;&lt;br /&gt;xrandr --output VGA1 --mode 1280x1024_60.00&lt;br /&gt;&lt;br /&gt;&lt;h2 id="Resetting an out-of-range resolution"&gt;Resetting an out-of-range resolution&lt;/h2&gt; &lt;span class="anchor" id="line-4"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-5"&gt;&lt;/span&gt;&lt;p class="line862"&gt;If you set a resolution inappropriate for your monitor in the &lt;tt&gt;Screen Resolution&lt;/tt&gt; GUI tool, you can reset it by running &lt;tt&gt;rm ~/.config/monitors.xml&lt;/tt&gt; from a terminal. &lt;span class="anchor" id="line-6"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-7"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867"&gt; &lt;/p&gt;&lt;h2 id="Dynamically testing different resolutions"&gt;Dynamically testing different resolutions&lt;/h2&gt; &lt;span class="anchor" id="line-8"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-9"&gt;&lt;/span&gt;&lt;p class="line862"&gt;You can either use the &lt;tt&gt;Screen Resolution&lt;/tt&gt; GUI tool to experiment with different resolutions, or the more powerful xrandr command-line tool: &lt;span class="anchor" id="line-10"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-11"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867"&gt;&lt;span class="anchor" id="line-12"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-13"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;  $ xrandr&lt;/pre&gt;&lt;span class="anchor" id="line-14"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-15"&gt;&lt;/span&gt;&lt;p class="line874"&gt;shows you the names of different outputs available on your system (LVDS, VGA-0, etc.) and resolutions available on each: &lt;span class="anchor" id="line-16"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-17"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867"&gt;&lt;span class="anchor" id="line-18"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-19"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-20"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-21"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-22"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-23"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;Screen 0: minimum 320 x 200, current 1400 x 1050, maximum 1400 x 1400&lt;br /&gt;VGA disconnected (normal left inverted right x axis y axis)&lt;br /&gt;LVDS connected 1400x1050+0+0 (normal left inverted right x axis y axis) 286mm x 214mm&lt;br /&gt; 1400x1050      60.0*+   50.0&lt;br /&gt;[...]&lt;/pre&gt;&lt;span class="anchor" id="line-24"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-25"&gt;&lt;/span&gt;&lt;p class="line874"&gt;You can direct xrandr to set a different resolution like this: &lt;span class="anchor" id="line-26"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-27"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867"&gt;&lt;span class="anchor" id="line-28"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-29"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;  $ xrandr --output LVDS --mode 1024x768&lt;/pre&gt;&lt;span class="anchor" id="line-30"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-31"&gt;&lt;/span&gt;&lt;p class="line874"&gt;The refresh rate may also be changed, either at the same time or independently: &lt;span class="anchor" id="line-32"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-33"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867"&gt;&lt;span class="anchor" id="line-34"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-35"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;  $ xrandr --output LVDS --mode 1024x768 --rate 75&lt;/pre&gt;&lt;span class="anchor" id="line-36"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-37"&gt;&lt;/span&gt;&lt;p class="line862"&gt;Note that changes you make using &lt;tt&gt;xrandr&lt;/tt&gt; only last through the current session.  xrandr has a lot more capabilities - see &lt;tt&gt;man xrandr&lt;/tt&gt; for details. &lt;span class="anchor" id="line-38"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-39"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-40"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867"&gt; &lt;/p&gt;&lt;h2 id="Adding undetected resolutions"&gt;Adding undetected resolutions&lt;/h2&gt; &lt;span class="anchor" id="line-41"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-42"&gt;&lt;/span&gt;&lt;p class="line874"&gt;Due to buggy hardware or drivers, your monitor's correct resolutions may not always be detected. For example, the EDID data block queried from your monitor may be incorrect. &lt;span class="anchor" id="line-43"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-44"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line874"&gt;If the mode already exists, but just isn't associated for the particular output, you can add it like this: &lt;span class="anchor" id="line-45"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-46"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867"&gt;&lt;span class="anchor" id="line-47"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-48"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;  $ xrandr --addmode S-video 800x600&lt;/pre&gt;&lt;span class="anchor" id="line-49"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-50"&gt;&lt;/span&gt;&lt;p class="line862"&gt;If the mode doesn't yet exist, you'll need to &lt;strong&gt;create it first&lt;/strong&gt; by specifying a modeline: &lt;span class="anchor" id="line-51"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-52"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867"&gt;&lt;span class="anchor" id="line-53"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-54"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;  $ xrandr --newmode &lt;mode``line&gt;&lt;/mode``line&gt;&lt;/pre&gt;&lt;span class="anchor" id="line-55"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-56"&gt;&lt;/span&gt;&lt;p class="line862"&gt;You may create a modeline using the &lt;tt&gt;gtf&lt;/tt&gt; or &lt;tt&gt;cvt&lt;/tt&gt; utility. For example, if you want to add a mode with resolution 800x600, you can enter the following command: (The output is shown following.) &lt;span class="anchor" id="line-57"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-58"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867"&gt;&lt;span class="anchor" id="line-59"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-60"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-61"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-62"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;  $ cvt 800 600&lt;br /&gt;# 800x600 59.86 Hz (CVT 0.48M3) hsync: 37.35 kHz; pclk: 38.25 MHz&lt;br /&gt;Modeline "800x600_60.00"   38.25  800 832 912 1024  600 603 607 624 -hsync +vsync&lt;/pre&gt;&lt;span class="anchor" id="line-63"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-64"&gt;&lt;/span&gt;&lt;p class="line874"&gt;Then copy the information after the word "Modeline" into the xrandr command: &lt;span class="anchor" id="line-65"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-66"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867"&gt;&lt;span class="anchor" id="line-67"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-68"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;  $ xrandr --newmode "800x600_60.00"   38.25  800 832 912 1024  600 603 607 624 -hsync +vsync&lt;/pre&gt;&lt;span class="anchor" id="line-69"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-70"&gt;&lt;/span&gt;&lt;p class="line867"&gt; &lt;/p&gt;&lt;h2 id="Setting xrandr changes persistently"&gt;Setting xrandr changes persistently&lt;/h2&gt; &lt;span class="anchor" id="line-71"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-72"&gt;&lt;/span&gt;&lt;p class="line874"&gt;There are several ways to make xrandr customizations permanent from session to session: a) .xprofile, b) kdm/gdm, c) xorg.conf. Each of these mechanisms will be discussed in turn. &lt;span class="anchor" id="line-73"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-74"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867"&gt; &lt;/p&gt;&lt;h3 id="Setting xrandr commands in .xprofile"&gt;Setting xrandr commands in .xprofile&lt;/h3&gt; &lt;span class="anchor" id="line-75"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-76"&gt;&lt;/span&gt;&lt;p class="line862"&gt;A user's &lt;tt&gt;~/.xprofile&lt;/tt&gt; file is executed on Xorg startup if it exists and is executable. You can copy and paste xrandr command line strings into this file so they're executed when you log in. For example: &lt;span class="anchor" id="line-77"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-78"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867"&gt;&lt;span class="anchor" id="line-79"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-80"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;  $ xrandr --output VGA-0 --mode 800x600&lt;/pre&gt;&lt;span class="anchor" id="line-81"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-82"&gt;&lt;/span&gt;&lt;p class="line874"&gt;There are two disadvantages to using .xprofile for xrandr settings. First, it occurs fairly late in the startup process, so you'll see some resolution resizing during the initial screen draw; in some cases panel windows may resize improperly as a result. Second, as this is a per-user setting, it won't affect the resolutions of other users, nor will it alter the resolution on the login screen. &lt;span class="anchor" id="line-83"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-84"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867"&gt; &lt;/p&gt;&lt;h3 id="Setting xrandr commands in kdm/gdm startup scripts"&gt;Setting xrandr commands in kdm/gdm startup scripts&lt;/h3&gt; &lt;span class="anchor" id="line-85"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-86"&gt;&lt;/span&gt;&lt;p class="line874"&gt;Both KDM and GDM have startup scripts that are executed when X is initiated. For GDM, these are in /etc/gdm/ , while for KDM this is done at /etc/kde4/kdm/Xsetup. In either case, you can paste in an xrandr command line string into one of these scripts. For GDM, try putting them right before &lt;span class="anchor" id="line-87"&gt;&lt;/span&gt;&lt;tt&gt;initctl -q emit login-session-start DISPLAY_MANAGER=gdm&lt;/tt&gt; in /etc/gdm/Init/Default &lt;span class="anchor" id="line-88"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-89"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line874"&gt;This process requires root access and mucking around in system config files, but will take effect earlier in the startup process than using .xprofile, and will apply to all users including the login screen. &lt;span class="anchor" id="line-90"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-91"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867"&gt; &lt;/p&gt;&lt;h3 id="Setting resolution changes in xorg.conf"&gt;Setting resolution changes in xorg.conf&lt;/h3&gt; &lt;span class="anchor" id="line-92"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-93"&gt;&lt;/span&gt;&lt;p class="line862"&gt;While &lt;tt&gt;xorg.conf&lt;/tt&gt; is largely empty these days, it can still be used for setting up resolutions.  For example: &lt;span class="anchor" id="line-94"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-95"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867"&gt;&lt;span class="anchor" id="line-96"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-97"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-98"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-99"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-100"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-101"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-102"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-103"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-104"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-105"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-106"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-107"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-108"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-109"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-110"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-111"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-112"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-113"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-114"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-115"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-116"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-117"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-118"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-119"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-120"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;Section "Monitor"&lt;br /&gt;  Identifier      "External DVI"&lt;br /&gt;  Modeline        "1280x1024_60.00"  108.88  1280 1360 1496 1712  1024 1025 1028 1060  -HSync +Vsync&lt;br /&gt;  Option          "PreferredMode" "1280x1024_60.00"&lt;br /&gt;EndSection&lt;br /&gt;Section "Device"&lt;br /&gt;  Identifier      "ATI Technologies, Inc. M22 [Radeon Mobility M300]"&lt;br /&gt;  Driver          "ati"&lt;br /&gt;  Option          "Monitor-DVI-0" "External DVI"&lt;br /&gt;EndSection&lt;br /&gt;Section "Screen"&lt;br /&gt;  Identifier      "Primary Screen"&lt;br /&gt;  Device          "ATI Technologies, Inc. M22 [Radeon Mobility M300]"&lt;br /&gt;  DefaultDepth    24&lt;br /&gt;  SubSection "Display"&lt;br /&gt;      Depth           24&lt;br /&gt;      Modes   "1280x1024" "1024x768" "640x480"&lt;br /&gt;  EndSubSection&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Section "ServerLayout"&lt;br /&gt;      Identifier      "Default Layout"&lt;br /&gt;      Screen          "Primary Screen"&lt;br /&gt;EndSection&lt;/pre&gt;&lt;span class="anchor" id="line-121"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-122"&gt;&lt;/span&gt;&lt;p class="line862"&gt;See &lt;tt&gt;man xorg.conf&lt;/tt&gt; for full details on how to craft an &lt;tt&gt;xorg.conf&lt;/tt&gt; file. &lt;span class="anchor" id="line-123"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-124"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line867"&gt; &lt;/p&gt;&lt;h3 id="Setting resolution changes in xorg.conf -- resolution lower than expected"&gt;Setting resolution changes in xorg.conf -- resolution lower than expected&lt;/h3&gt; &lt;span class="anchor" id="line-125"&gt;&lt;/span&gt;&lt;p class="line867"&gt; &lt;/p&gt;&lt;h4 id="Try this first"&gt;Try this first&lt;/h4&gt; &lt;span class="anchor" id="line-126"&gt;&lt;/span&gt;&lt;p class="line874"&gt;If you video card is recognized but the resolution is lower than you expect, you may try this. &lt;span class="anchor" id="line-127"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-128"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line874"&gt;Background: I use Ubuntu 9.0.4 x86, ATI X1550 based video card and two LCD monitors DELL 2408(up to 1920x1200) and Samsung 206BW(up to 1680x1050). Upon first login after installation, the resolution default to 1152x864. xrandr does not list any resolution higher than 1152x864. You may want to try editing /etc/X11/xorg.conf, add a section about virtual screen, logout, login and see if this helps. If not then read on. &lt;span class="anchor" id="line-129"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-130"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line874"&gt;Change the default xorg.conf &lt;span class="anchor" id="line-131"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-132"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-133"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-134"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-135"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-136"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-137"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-138"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-139"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-140"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-141"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-142"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-143"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-144"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-145"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;Section "Device"&lt;br /&gt;      Identifier      "Configured Video Device"&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Section "Monitor"&lt;br /&gt;      Identifier      "Configured Monitor"&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Section "Screen"&lt;br /&gt;      Identifier      "Default Screen"&lt;br /&gt;      Monitor         "Configured Monitor"&lt;br /&gt;      Device          "Configured Video Device"&lt;br /&gt;EndSection&lt;/pre&gt;&lt;span class="anchor" id="line-146"&gt;&lt;/span&gt;&lt;p class="line874"&gt;To &lt;span class="anchor" id="line-147"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-148"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-149"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-150"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-151"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-152"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-153"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-154"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-155"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-156"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-157"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-158"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-159"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-160"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-161"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-162"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-163"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-164"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;Section "Monitor"&lt;br /&gt;      Identifier      "Configured Monitor"&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Section "Screen"&lt;br /&gt;      Identifier      "Default Screen"&lt;br /&gt;      Monitor         "Configured Monitor"&lt;br /&gt;      Device          "Configured Video Device"&lt;br /&gt;-&gt;        SubSection "Display"&lt;br /&gt;-&gt;                Virtual 3600 1200&lt;br /&gt;-&gt;        EndSubSection&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Section "Device"&lt;br /&gt;      Identifier      "Configured Video Device"&lt;br /&gt;EndSection&lt;/pre&gt;&lt;span class="anchor" id="line-165"&gt;&lt;/span&gt;&lt;p class="line874"&gt;About the numbers: I put DELL on the left and Samsung on the right. So the virtual width is of sum of both LCD width 3600=1920+1680; Height then is figured as the max of them, which is max(1200,1050)=1200. If you put one LCD above the other, use this calculation instead: (max(width1, width2), height1+height2). &lt;span class="anchor" id="line-166"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-167"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="line874"&gt;If that does not help, here's what I did: &lt;span class="anchor" id="line-168"&gt;&lt;/span&gt; &lt;/p&gt;&lt;h4 id="Use cvt/xrandr tool to add the highest mode the LCD can do"&gt;Use cvt/xrandr tool to add the highest mode the LCD can do&lt;/h4&gt; &lt;span class="anchor" id="line-169"&gt;&lt;/span&gt;&lt;p class="line874"&gt;The actual order was different, as I tried to add new mode to one LCD at a time. Below is the combined/all-in-one quote &lt;span class="anchor" id="line-170"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-171"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-172"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-173"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-174"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-175"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-176"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-177"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-178"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-179"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-180"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-181"&gt;&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;aa@aa-desktop:/$ cvt 1920 1200 60&lt;br /&gt;# 1920x1200 59.88 Hz (CVT 2.30MA) hsync: 74.56 kHz; pclk: 193.25 MHz&lt;br /&gt;Modeline "1920x1200_60.00"  193.25  1920 2056 2256 2592  1200 1203 1209 1245 -hsync +vsync&lt;br /&gt;aa@aa-desktop:/$ cvt 1680 1050 60&lt;br /&gt;# 1680x1050 59.95 Hz (CVT 1.76MA) hsync: 65.29 kHz; pclk: 146.25 MHz&lt;br /&gt;Modeline "1680x1050_60.00"  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync&lt;br /&gt;aa@aa-desktop:/$ xrandr --newmode "1920x1200_60.00"  193.25  1920 2056 2256 2592  1200 1203 1209 1245 -hsync +vsync&lt;br /&gt;aa@aa-desktop:/$ xrandr --newmode "1680x1050_60.00"  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync&lt;br /&gt;aa@aa-desktop:/$ xrandr --addmode DVI-1 "1920x1200_60.00"&lt;br /&gt;aa@aa-desktop:/$ xrandr --addmode DVI-0 "1680x1050_60.00"&lt;/pre&gt;&lt;span class="anchor" id="line-182"&gt;&lt;/span&gt;&lt;span class="anchor" id="line-183"&gt;&lt;/span&gt;&lt;p class="line867"&gt; &lt;/p&gt;&lt;h4 id=""&gt; Preference -&gt; Display"&gt;Goto Ubuntu Menu: System -&gt; Preference -&gt; Display&lt;/h4&gt; &lt;span class="anchor" id="line-184"&gt;&lt;/span&gt;Change one of the LCD's resolution to a lower one, e.g. 800x600. Apply change, then (I don't remember the exact order/wording here:) hopefully the GUI will give you a prompt saying something like "the resolution can be improved but virtual screen has to be enabled, you need to however logout and log back in". I did it and on 2nd login, I am able to find the higher resolution listed for that LCD. After that I follow suite and make similar change to 2nd LCD and am able to get both of them working.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-954902921086115064?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/954902921086115064/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=954902921086115064' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/954902921086115064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/954902921086115064'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2010/03/ubuntu-910-resolution-problems-solved.html' title='UBUNTU 9.10 resolution problems solved.'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-9146520595955967255</id><published>2010-03-04T05:50:00.001-08:00</published><updated>2010-03-04T05:50:41.213-08:00</updated><title type='text'>Add user ti SUDO</title><content type='html'>&lt;p&gt;To give a user the ability to use the “sudo” command you must add them to the “sudoers” file.  Here’s how. Thanks to ubuntucat (see comment below) for the following suggestion!  The easiest way to allow a user to &lt;em&gt;sudo&lt;/em&gt; is to simply run the following command from the Terminal:&lt;/p&gt; &lt;p&gt;To open the Terminal:&lt;/p&gt; &lt;p style="padding-left: 30px;"&gt;Applications &gt;&gt; Accessories &gt;&gt; Terminal&lt;/p&gt; &lt;p&gt;Once the Terminal is open type:&lt;/p&gt; &lt;p style="padding-left: 30px;"&gt;sudo adduser &lt;em&gt;username&lt;/em&gt; admin&lt;/p&gt; &lt;p&gt;This must be done from an account that already has sudo abilities or else from the root account.&lt;/p&gt; &lt;p&gt;If for some reason you have to manually edit the “sudoers” file keep reading!&lt;/p&gt; &lt;p&gt;Open the file “sudoers” located at /etc/sudoers using your favorite text editor.  You must have root permissions to be able to edit this file so you will want to open your editor from the command line.&lt;/p&gt; &lt;p&gt;To use gedit you would do the following:&lt;/p&gt; &lt;p&gt;Open the Terminal and type:&lt;/p&gt; &lt;p style="padding-left: 30px;"&gt;sudo gedit /etc/sudoers&lt;/p&gt; &lt;p&gt;If you want to use vim you can simply enter the following into the Terminal:&lt;/p&gt; &lt;p style="padding-left: 30px;"&gt;sudo visudo&lt;/p&gt; &lt;p&gt;Once you have the sudoers file open, scroll down to the line:&lt;/p&gt; &lt;p style="padding-left: 30px;"&gt;root   ALL = (ALL)    ALL&lt;/p&gt; &lt;p&gt;Add the folling line below the root line (replacing “user” with the name of the account you wish to give sudo access to)&lt;/p&gt; &lt;p style="padding-left: 30px;"&gt;user   ALL = (ALL)    ALL&lt;/p&gt; &lt;p&gt;Save and close the file.  The new user has now been added to the “sudoers” file and can use the “sudo” command.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-9146520595955967255?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/9146520595955967255/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=9146520595955967255' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/9146520595955967255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/9146520595955967255'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2010/03/add-user-ti-sudo.html' title='Add user ti SUDO'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-9076700712765103611</id><published>2010-03-04T05:49:00.001-08:00</published><updated>2010-03-04T05:49:56.891-08:00</updated><title type='text'>Nagios Ubuntu Install</title><content type='html'>&lt;p&gt;  &lt;strong&gt;&lt;u&gt;Introduction&lt;/u&gt;&lt;/strong&gt;  &lt;/p&gt;    &lt;p&gt; This guide is intended to provide you with simple instructions on how to install Nagios from source (code) on Ubuntu and have it monitoring your local machine inside of 20 minutes. No advanced installation options are discussed here - just the basics that will work for 95% of users who want to get started. &lt;/p&gt;    &lt;p&gt;  These instructions were written based on an &lt;b&gt;Ubuntu 6.10&lt;/b&gt; (desktop) installation.  They should work for an &lt;b&gt;Ubuntu 7.10&lt;/b&gt; install as well.  &lt;/p&gt;    &lt;p&gt;  &lt;strong&gt;&lt;u&gt;What You'll End Up With&lt;/u&gt;&lt;/strong&gt;  &lt;/p&gt;    &lt;p&gt;  If you follow these instructions, here's what you'll end up with:  &lt;/p&gt;    &lt;ul&gt;&lt;li&gt;Nagios and the plugins will be installed underneath /usr/local/nagios&lt;/li&gt;&lt;li&gt;Nagios will be configured to monitor a few aspects of your local system (CPU load, disk usage, etc.)&lt;/li&gt;&lt;li&gt;The Nagios web interface will be accessible at http://localhost/nagios/&lt;/li&gt;&lt;/ul&gt;    &lt;p&gt;  &lt;strong&gt;&lt;u&gt;Required Packages&lt;/u&gt;&lt;/strong&gt;  &lt;/p&gt;    &lt;p&gt;  Make sure you've installed the following packages on your Ubuntu installation before continuing.   &lt;/p&gt;    &lt;ul&gt;&lt;li&gt;Apache 2&lt;/li&gt;&lt;li&gt;PHP&lt;/li&gt;&lt;li&gt;GCC compiler and development libraries&lt;/li&gt;&lt;li&gt;GD development libraries&lt;/li&gt;&lt;/ul&gt;    &lt;p&gt;  You can use &lt;i&gt;apt-get&lt;/i&gt; to install these packages by running the following commands:  &lt;/p&gt;    &lt;pre&gt;sudo apt-get install apache2&lt;br /&gt;&lt;br /&gt;sudo apt-get install libapache2-mod-php5&lt;br /&gt;&lt;br /&gt;sudo apt-get install build-essential&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;    &lt;p&gt;  With Ubuntu 6.10, install the gd2 library with this command:  &lt;/p&gt;    &lt;pre&gt;sudo apt-get install libgd2-dev&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;  &lt;p&gt;  With Ubuntu 7.10, the gd2 library name has changed, so you'll need to use the following:  &lt;/p&gt;    &lt;pre&gt;sudo apt-get install libgd2-xpm-dev&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;    &lt;p&gt;  &lt;strong&gt;&lt;u&gt;1) Create Account Information&lt;/u&gt;&lt;/strong&gt;  &lt;/p&gt;    &lt;p&gt;  Become the root user.  &lt;/p&gt;    &lt;pre&gt;sudo -s&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;    &lt;p&gt;  Create a new &lt;i&gt;nagios&lt;/i&gt; user account and give it a password.  &lt;/p&gt;    &lt;pre&gt;/usr/sbin/useradd -m -s /bin/bash nagios&lt;br /&gt;&lt;br /&gt;passwd nagios&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;   &lt;p&gt;  On older Ubuntu server editions (6.01 and earlier), you will need to also add a &lt;i&gt;nagios&lt;/i&gt; group (it's not created by default).  You should be able to skip this step on desktop, or newer server editions of Ubuntu.  &lt;/p&gt;    &lt;pre&gt;/usr/sbin/groupadd nagios&lt;br /&gt;&lt;br /&gt;/usr/sbin/usermod -G nagios nagios&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;    &lt;p&gt;  Create a new &lt;i&gt;nagcmd&lt;/i&gt; group for allowing external commands to be submitted through the web interface. Add both the nagios user and the apache user to the group. &lt;/p&gt;    &lt;pre&gt;/usr/sbin/groupadd nagcmd&lt;br /&gt;&lt;br /&gt;/usr/sbin/usermod -a -G nagcmd nagios&lt;br /&gt;&lt;br /&gt;/usr/sbin/usermod -a -G nagcmd www-data&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;    &lt;p&gt;  &lt;strong&gt;&lt;u&gt;2) Download Nagios and the Plugins&lt;/u&gt;&lt;/strong&gt;  &lt;/p&gt;    &lt;p&gt;  Create a directory for storing the downloads.  &lt;/p&gt;    &lt;pre&gt;mkdir ~/downloads&lt;br /&gt;&lt;br /&gt;cd ~/downloads&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;    &lt;p&gt;  Download the source code tarballs of both Nagios and the Nagios plugins (visit &lt;a href="http://www.nagios.org/download/"&gt;http://www.nagios.org/download/&lt;/a&gt; for links to the latest versions).  These directions were tested with Nagios 3.1.1 and Nagios Plugins 1.4.11.  &lt;/p&gt;    &lt;pre&gt;wget http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-3.2.0.tar.gz&lt;br /&gt;&lt;br /&gt;wget http://prdownloads.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.11.tar.gz&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;    &lt;p&gt;  &lt;strong&gt;&lt;u&gt;3) Compile and Install Nagios&lt;/u&gt;&lt;/strong&gt;  &lt;/p&gt;    &lt;p&gt;  Extract the Nagios source code tarball.  &lt;/p&gt;    &lt;pre&gt;cd ~/downloads&lt;br /&gt;&lt;br /&gt;tar xzf nagios-3.2.0.tar.gz&lt;br /&gt;&lt;br /&gt;cd nagios-3.2.0&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;    &lt;p&gt;  Run the Nagios configure script, passing the name of the group you created earlier like so:  &lt;/p&gt;    &lt;pre&gt;./configure --with-command-group=nagcmd&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;    &lt;p&gt;  Compile the Nagios source code.  &lt;/p&gt;    &lt;pre&gt;make all&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;    &lt;p&gt;  Install binaries, init script, sample config files and set permissions on the external command directory.  &lt;/p&gt;    &lt;pre&gt;make install&lt;br /&gt;&lt;br /&gt;make install-init&lt;br /&gt;&lt;br /&gt;make install-config&lt;br /&gt;&lt;br /&gt;make install-commandmode&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;    &lt;p&gt;  Don't start Nagios yet - there's still more that needs to be done...  &lt;/p&gt;    &lt;p&gt;  &lt;strong&gt;&lt;u&gt;4) Customize Configuration&lt;/u&gt;&lt;/strong&gt;  &lt;/p&gt;    &lt;p&gt;  Sample &lt;a href="http://nagios.sourceforge.net/docs/3_0/config.html"&gt;configuration files&lt;/a&gt; have now been installed in the &lt;i&gt;/usr/local/nagios/etc&lt;/i&gt; directory. These sample files should work fine for getting started with Nagios. You'll need to make just one change before you proceed... &lt;/p&gt;    &lt;p&gt;  Edit the &lt;i&gt;/usr/local/nagios/etc/objects/contacts.cfg&lt;/i&gt; config file with your favorite editor and change the email address associated with the &lt;i&gt;nagiosadmin&lt;/i&gt; contact definition to the address you'd like to use for receiving alerts.  &lt;/p&gt;    &lt;pre&gt;vi /usr/local/nagios/etc/objects/contacts.cfg&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;    &lt;p&gt;  &lt;strong&gt;&lt;u&gt;5) Configure the Web Interface&lt;/u&gt;&lt;/strong&gt;  &lt;/p&gt;    &lt;p&gt;  Install the Nagios web config file in the Apache conf.d directory.  &lt;/p&gt;    &lt;pre&gt;make install-webconf&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;    &lt;p&gt;  Create a &lt;i&gt;nagiosadmin&lt;/i&gt; account for logging into the Nagios web interface.  Remember the password you assign to this account - you'll need it later.  &lt;/p&gt;    &lt;pre&gt;htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;    &lt;p&gt;  Restart Apache to make the new settings take effect.  &lt;/p&gt;    &lt;pre&gt;/etc/init.d/apache2 reload&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;    &lt;p&gt;  &lt;img src="http://nagios.sourceforge.net/docs/3_0/images/note.gif" alt="Note" title="Note" align="bottom" border="0" /&gt; Note: Consider implementing the ehanced CGI security measures described &lt;a href="http://nagios.sourceforge.net/docs/3_0/cgisecurity.html"&gt;here&lt;/a&gt; to ensure that your web authentication credentials are not compromised.  &lt;/p&gt;    &lt;p&gt;  &lt;strong&gt;&lt;u&gt;6) Compile and Install the Nagios Plugins&lt;/u&gt;&lt;/strong&gt;  &lt;/p&gt;    &lt;p&gt;  Extract the Nagios plugins source code tarball.  &lt;/p&gt;    &lt;pre&gt;cd ~/downloads&lt;br /&gt;&lt;br /&gt;tar xzf nagios-plugins-1.4.11.tar.gz&lt;br /&gt;&lt;br /&gt;cd nagios-plugins-1.4.11&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;    &lt;p&gt;  Compile and install the plugins.  &lt;/p&gt;    &lt;pre&gt;./configure --with-nagios-user=nagios --with-nagios-group=nagios&lt;br /&gt;&lt;br /&gt;make&lt;br /&gt;&lt;br /&gt;make install&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;      &lt;p&gt;  &lt;strong&gt;&lt;u&gt;7) Start Nagios&lt;/u&gt;&lt;/strong&gt;  &lt;/p&gt;    &lt;p&gt;  Configure Nagios to automatically start when the system boots.  &lt;/p&gt;    &lt;pre&gt;ln -s /etc/init.d/nagios /etc/rcS.d/S99nagios&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;    &lt;p&gt;  Verify the sample Nagios configuration files.  &lt;/p&gt;    &lt;pre&gt;/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;    &lt;p&gt;  If there are no errors, start Nagios.  &lt;/p&gt;    &lt;pre&gt;/etc/init.d/nagios start&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;    &lt;p&gt;  &lt;strong&gt;&lt;u&gt;8) Login to the Web Interface&lt;/u&gt;&lt;/strong&gt;  &lt;/p&gt;    &lt;p&gt;  You should now be able to access the Nagios web interface at the URL below.  You'll be prompted for the username (&lt;i&gt;nagiosadmin&lt;/i&gt;) and password you specified earlier.  &lt;/p&gt;    &lt;pre&gt;http://localhost/nagios/&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;    &lt;p&gt;Click on the "Service Detail" navbar link to see details of what's being monitored on your local machine. It will take a few minutes for Nagios to check all the services associated with your machine, as the checks are spread out over time. &lt;/p&gt;    &lt;p&gt;  &lt;strong&gt;&lt;u&gt;9) Other Modifications&lt;/u&gt;&lt;/strong&gt;  &lt;/p&gt;    &lt;p&gt;  If you want to receive email notifications for Nagios alerts, you need to install the mailx (Postfix) package.  &lt;/p&gt;    &lt;pre&gt;sudo apt-get install mailx&lt;br /&gt;&lt;br /&gt;sudo apt-get install postfix&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;    &lt;p&gt;  You'll have to edit the Nagios email notification commands found in &lt;i&gt;/usr/local/nagios/etc/objects/commands.cfg&lt;/i&gt; and change any '/bin/mail' references to '/usr/bin/mail'. Once you do that you'll need to restart Nagios to make the configuration changes live. &lt;/p&gt;    &lt;pre&gt;sudo /etc/init.d/nagios restart&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;    &lt;p&gt;Configuring email notifications is outside the scope of this documentation. Refer to your system documentation, search the web, or look to the &lt;a href="http://support.nagios.com/" target="_blank"&gt;Nagios Support Portal&lt;/a&gt; or &lt;a href="http://wiki.nagios.org/" target="_blank"&gt;Nagios Community Wiki&lt;/a&gt; for specific instructions on configuring your Ubuntu system to send email messages to external addresses.  &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-9076700712765103611?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/9076700712765103611/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=9076700712765103611' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/9076700712765103611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/9076700712765103611'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2010/03/nagios-ubuntu-install.html' title='Nagios Ubuntu Install'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-2074999587585725351</id><published>2010-01-27T08:03:00.000-08:00</published><updated>2010-01-27T08:04:26.878-08:00</updated><title type='text'>Configure a Management Interface for 3550 and 3750 Series Switches</title><content type='html'>On Catalyst 3550 and 3750 series switches that run Cisco IOS Software,   any routable interface can be used for management. There are three options to   configure this interface.&lt;span class="content"&gt;    &lt;p&gt; &lt;b&gt;Option 1&lt;/b&gt;—Configure a loopback interface for switch   management. There are a few advantages to a loopback interface. A loopback is a   virtual interface that is always up. Packets that are routed to the loopback   interface are rerouted back to the L3 switch or router and processed locally.   IP packets that are routed out the loopback interface but are not destined to   the loopback interface are dropped. This means that the loopback interface   serves as the null 0 interface also. The loopback interface serves as the   router ID for OSPF and so on. This example uses loopback 0:&lt;/p&gt;    &lt;blockquote&gt; &lt;pre&gt;Switch#&lt;b&gt;configure terminal&lt;/b&gt;&lt;br /&gt;Enter configuration commands, one per line.  End with CNTL/Z.&lt;br /&gt;Switch(config)#&lt;b&gt;interface loopback 0&lt;/b&gt;&lt;br /&gt;Switch(config-if)#&lt;b&gt;ip address 10.1.1.1 255.255.255.255&lt;/b&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;!--- The loopback interface should have a 32-bit subnet mask, which means that&lt;br /&gt;!--- the 10.1.1.1 address is the only destination address in this subnet.&lt;/span&gt;&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;Switch(config-if)#&lt;b&gt;end&lt;/b&gt;&lt;br /&gt;Switch#&lt;/pre&gt; &lt;/blockquote&gt;    &lt;p&gt;You must also configure a routing protocol to distribute the subnet   that is assigned to the loopback address or create a static route. &lt;/p&gt;    &lt;p&gt; &lt;b&gt;Option 2&lt;/b&gt;—Configure the interface as an L3 routed   interface with an IP address. All interfaces on a Catalyst 3550 or 3750 switch   that runs Cisco IOS Software are L2 by default. In order to make an L2   interface an L3 interface, issue the &lt;b&gt;no switchport&lt;/b&gt;   command and then configure an IP address. All interfaces are enabled by   default, so you do not need to issue the &lt;b&gt;no shutdown&lt;/b&gt;   command. This example uses Fast Ethernet 2/0/1 on a Catalyst 3750:&lt;/p&gt;    &lt;blockquote&gt; &lt;pre&gt;Switch#&lt;b&gt;configure terminal&lt;/b&gt;&lt;br /&gt;Enter configuration commands, one per line.  End with CNTL/Z.&lt;br /&gt;Switch(config)#&lt;b&gt;interface fastethernet 2/0/1&lt;/b&gt;&lt;br /&gt;Switch(config-if)#&lt;b&gt;no switchport&lt;/b&gt;&lt;br /&gt;Switch(config-if)#&lt;b&gt;ip address 11.1.1.1 255.0.0.0&lt;/b&gt;&lt;br /&gt;Switch(config-if)#&lt;b&gt;end&lt;/b&gt;&lt;br /&gt;Switch#&lt;br /&gt;&lt;/pre&gt; &lt;/blockquote&gt;    &lt;p&gt;If you issue the &lt;b&gt;show running-config interface   fastethernet 2/0/1&lt;/b&gt; command, this output displays:&lt;/p&gt;    &lt;blockquote&gt; &lt;pre&gt;Switch#&lt;b&gt;show running-config interface fastethernet 2/0/1&lt;/b&gt;&lt;br /&gt;Building configuration...&lt;br /&gt;Current configuration : 81 bytes&lt;br /&gt;!&lt;br /&gt;interface FastEthernet2/0/1&lt;br /&gt;no switchport&lt;br /&gt;ip address 11.1.1.1 255.0.0.0&lt;br /&gt;end&lt;br /&gt;Switch#&lt;/pre&gt; &lt;/blockquote&gt;        &lt;p&gt; &lt;b&gt;Option 3&lt;/b&gt;—Configure an L2 interface as a part of a   specific VLAN. Issue the &lt;b&gt;switchport mode access&lt;/b&gt;   command and the &lt;b&gt;switchport access vlan   &lt;span style="font-weight: normal; font-style: italic;"&gt;vlan-id&lt;/span&gt; &lt;/b&gt; command, and use a corresponding   SVI with an IP address.&lt;/p&gt;    &lt;p&gt;Complete these steps:&lt;/p&gt; &lt;ol type="1"&gt;&lt;li&gt;    &lt;p&gt;Issue these commands:&lt;/p&gt;        &lt;blockquote&gt; &lt;pre&gt;Switch(config)#&lt;b&gt;interface vlan 1&lt;/b&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;!--- Interface VLAN 1 is an SVI.&lt;/span&gt;&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;Switch(config-if)#&lt;b&gt;ip address 10.1.1.1 255.0.0.0&lt;/b&gt;&lt;br /&gt;Switch(config-if)#&lt;b&gt;no shut&lt;/b&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/blockquote&gt;          &lt;p&gt; &lt;b&gt;Note: &lt;/b&gt;This example uses VLAN 1 as the management VLAN. VLAN 1 is in the     VLAN database by default.&lt;/p&gt;            &lt;/li&gt;&lt;li&gt;    &lt;p&gt;Issue the &lt;b&gt;switchport mode access&lt;/b&gt; command     under the desired physical interface if you want confirmation that the     interface is an access switch port.&lt;/p&gt;        &lt;p&gt;By default, all interfaces are L2 interfaces and are access switch     ports in VLAN 1. If you plan to use VLAN 1 as the management VLAN, no     configuration is necessary under the interface. But if you want confirmation in     the configuration that the interface is indeed an access switch port, you need     to use the &lt;b&gt;switchport mode access&lt;/b&gt; command.&lt;/p&gt;    &lt;p&gt;This example uses Fast Ethernet 2/0/1:&lt;/p&gt;    &lt;blockquote&gt; &lt;pre&gt;Switch(config)#&lt;b&gt;interface fastethernet 2/0/1&lt;/b&gt;&lt;br /&gt;Switch(config-if)#&lt;b&gt;switchport mode access&lt;/b&gt;&lt;br /&gt;Switch(config-if)#&lt;b&gt;end&lt;/b&gt;&lt;br /&gt;&lt;/pre&gt; &lt;/blockquote&gt;    &lt;p&gt;If you issue the &lt;b&gt;show run interface fastethernet     2/0/1&lt;/b&gt; command, this output now displays:&lt;/p&gt;    &lt;blockquote&gt; &lt;pre&gt;Switch#&lt;b&gt;show run interface fastethernet 2/0/1&lt;/b&gt;&lt;br /&gt;Building configuration...&lt;br /&gt;Current configuration : 59 bytes&lt;br /&gt;!&lt;br /&gt;interface FastEthernet2/0/1&lt;br /&gt;switchport mode access&lt;br /&gt;end&lt;br /&gt;Switch#&lt;/pre&gt; &lt;/blockquote&gt;        &lt;/li&gt;&lt;li&gt;    &lt;p&gt;If you want to change the management interface from the default     VLAN 1 to another VLAN, issue the &lt;b&gt;interface vlan     &lt;span style="font-weight: normal; font-style: italic;"&gt;vlan-id&lt;/span&gt; &lt;/b&gt; command in order to create a new     SVI.&lt;/p&gt;        &lt;p&gt;You must then issue the &lt;b&gt;switchport access vlan     &lt;span style="font-weight: normal; font-style: italic;"&gt;vlan-id&lt;/span&gt; &lt;/b&gt; command in order to configure an     L2 interface to be a part of the new VLAN. This example demonstrates this     process:&lt;/p&gt;    &lt;blockquote&gt; &lt;pre&gt;Switch(config)#&lt;b&gt;interface vlan 2&lt;/b&gt;&lt;br /&gt;Switch(config-if)#&lt;b&gt;ip address 20.1.1.1 255.0.0.0&lt;/b&gt;&lt;br /&gt;Switch(config-if)#&lt;b&gt;no shut&lt;/b&gt;&lt;br /&gt;&lt;i&gt;&lt;br /&gt;&lt;span style="color:#0000ff;"&gt;!--- Configure an interface to access the new management VLAN.&lt;/span&gt;&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;Switch(config)#&lt;b&gt;interface fastethernet 2/0/1&lt;/b&gt;&lt;br /&gt;Switch(config-if)#&lt;b&gt;switchport access vlan 2&lt;/b&gt;&lt;br /&gt;Switch(config-if)#&lt;b&gt;end&lt;/b&gt;&lt;br /&gt;Switch#&lt;/pre&gt; &lt;/blockquote&gt;    &lt;p&gt;If you issue the &lt;b&gt;show run interface fastethernet     2/0/1&lt;/b&gt; command, this output now displays: &lt;/p&gt;    &lt;blockquote&gt; &lt;pre&gt;Switch#&lt;b&gt;show run interface fastethernet 2/0/1&lt;/b&gt;&lt;br /&gt;Building configuration...&lt;br /&gt;Current configuration : 85 bytes&lt;br /&gt;!&lt;br /&gt;interface FastEthernet2/0/1&lt;br /&gt;switchport access vlan 2&lt;br /&gt;switchport mode access&lt;br /&gt;end&lt;br /&gt;Switch#&lt;/pre&gt; &lt;/blockquote&gt;    &lt;p&gt;In order for the switch to access remote networks, you must have     &lt;i&gt;either&lt;/i&gt;:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;      &lt;p&gt;A default gateway that is set for the next hop router that is     directly connected to the switch&lt;/p&gt; &lt;/li&gt;&lt;li&gt;      &lt;p&gt;A dynamic routing protocol     configured&lt;/p&gt; &lt;/li&gt;&lt;/ul&gt;    &lt;p&gt;If you are not routing IP, issue the &lt;b&gt;ip     default-gateway &lt;span style="font-weight: normal; font-style: italic;"&gt;ip-address&lt;/span&gt; &lt;/b&gt; command in     order to configure a gateway router IP address.&lt;/p&gt;    &lt;p&gt;If you plan to configure dynamic routing, keep in mind that IP     routing is disabled by default. You must issue the global &lt;b&gt;ip     routing&lt;/b&gt; command in order to enable IP routing. Routing     Information Protocol (RIP) is the only dynamic routing protocol that is     supported when you use the Standard Multilayer Software Image (SMI). The     Enhanced Multilayer Software Image (EMI) is required for Interior Gateway     Routing Protocol (IGRP), Enhanced IGRP (EIGRP), OSPF, and Border Gateway     Protocol (BGP) support. In order to configure dynamic routing, use the     &lt;b&gt;router &lt;span style="font-weight: normal; font-style: italic;"&gt;routing_protocol&lt;/span&gt; &lt;/b&gt;     command. Issue the &lt;b&gt;show ip route&lt;/b&gt; command in order to     view the status of the routing table. &lt;/p&gt;        &lt;/li&gt;&lt;/ol&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-2074999587585725351?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/2074999587585725351/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=2074999587585725351' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/2074999587585725351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/2074999587585725351'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2010/01/configure-management-interface-for-3550.html' title='Configure a Management Interface for 3550 and 3750 Series Switches'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-2618067227756464068</id><published>2010-01-27T07:20:00.000-08:00</published><updated>2010-01-27T07:21:17.887-08:00</updated><title type='text'>Catalyst 2900-XL and 3500-XL Password Recovery Procedure</title><content type='html'>&lt;blockquote&gt;&lt;h3&gt;&lt;a name="desc"&gt;Description&lt;/a&gt;&lt;/h3&gt; &lt;p&gt; This document describes the password recovery procedure for the Cisco Catalyst 2900-XL and the Cisco Catalyst 3500-XL.&lt;/p&gt; &lt;h3&gt;&lt;a name="proc"&gt;Step-by-Step Procedure&lt;/a&gt;&lt;/h3&gt; &lt;ol&gt;&lt;li&gt;      &lt;p&gt;Attach a terminal or PC with terminal emulation to the console port of        the switch. Use the following terminal settings: &lt;/p&gt;     &lt;blockquote&gt;        &lt;p&gt;9600 baud rate&lt;br /&gt;        No parity&lt;br /&gt;        8 data bits&lt;br /&gt;        No stop bit&lt;/p&gt;     &lt;/blockquote&gt;     &lt;p&gt; &lt;/p&gt;   &lt;/li&gt;&lt;li&gt;Unplug the power cable.      &lt;p&gt; &lt;/p&gt;   &lt;/li&gt;&lt;li&gt;Hold down the mode button while reconnecting the power cord to the switch.      You can release the mode button a second or two after the LED above port 1x      is no longer illuminated.      &lt;p&gt; &lt;/p&gt;     &lt;p&gt;The following instructions appear:&lt;/p&gt;     &lt;blockquote&gt;        &lt;pre&gt;The system has been interrupted prior to initializing the flash file system.&lt;br /&gt;The following commands will initialize the flash file system, and finish loading&lt;br /&gt;the operating system software:&lt;br /&gt;   &lt;br /&gt;flash_init&lt;br /&gt;load_helper&lt;br /&gt;boot&lt;br /&gt;&lt;/pre&gt;     &lt;/blockquote&gt;   &lt;/li&gt;&lt;li&gt;Type&lt;b&gt; flash_init&lt;/b&gt;.      &lt;p&gt; &lt;/p&gt;   &lt;/li&gt;&lt;li&gt;Type &lt;b&gt;load_helper&lt;/b&gt;.      &lt;p&gt; &lt;/p&gt;   &lt;/li&gt;&lt;li&gt;Type &lt;b&gt;dir flash:&lt;/b&gt;.      &lt;p&gt; The switch file system is displayed:&lt;/p&gt;     &lt;blockquote&gt;        &lt;pre&gt;Directory of flash:&lt;br /&gt;2 -rwx 843947 Mar 01 1993 00:02:18 C2900XL-h-mz-112.8-SA&lt;br /&gt;4 drwx   3776 Mar 01 1993 01:23:24 html&lt;br /&gt;66 -rwx    130 Jan 01 1970 00:01:19 env_vars&lt;br /&gt;68 -rwx 1296   Mar 01 1993 06:55:51 config.text&lt;br /&gt;1728000 bytes total (456704 bytes free)&lt;br /&gt;&lt;/pre&gt;     &lt;/blockquote&gt;   &lt;/li&gt;&lt;li&gt;Type&lt;b&gt; rename flash:config.text flash:config.old&lt;/b&gt; to rename the configuration file.      &lt;p&gt;This file contains the password definition. &lt;/p&gt;   &lt;/li&gt;&lt;li&gt;Type &lt;b&gt;boot&lt;/b&gt; to boot the system.      &lt;p&gt; &lt;/p&gt;   &lt;/li&gt;&lt;li&gt;Enter &lt;b&gt;N&lt;/b&gt; at the prompt to start the Setup program, &lt;b&gt;Continue with      the configuration dialog? [yes/no] : N&lt;/b&gt;      &lt;p&gt; &lt;/p&gt;   &lt;/li&gt;&lt;li&gt;At the switch prompt type &lt;b&gt;en&lt;/b&gt; to turn on enable mode.      &lt;p&gt; &lt;/p&gt;   &lt;/li&gt;&lt;li&gt;Type &lt;b&gt;rename flash:config.old flash:config.text&lt;/b&gt; to rename the configuration      file with its original name.         &lt;/li&gt;&lt;li&gt;Copy the configuration file into memory:      &lt;blockquote&gt;        &lt;pre&gt;Switch# &lt;b&gt;copy flash:config.text system:running-config&lt;/b&gt;&lt;br /&gt;Source filename [config.text]? &lt;i&gt;(press Return)&lt;/i&gt;&lt;br /&gt;Destination filename [running-config]? &lt;i&gt;(press Return)&lt;/i&gt;    &lt;br /&gt;&lt;/pre&gt;     &lt;/blockquote&gt;     &lt;p&gt;The configuration file is now reloaded.&lt;/p&gt;   &lt;/li&gt;&lt;li&gt;Change the password:      &lt;blockquote&gt;        &lt;pre&gt;switch#&lt;b&gt;configure terminal&lt;/b&gt;&lt;br /&gt;switch(config)#&lt;b&gt;enable password Cisco&lt;/b&gt;&lt;br /&gt;switch#control/&lt;b&gt;Z&lt;/b&gt;&lt;br /&gt;&lt;/pre&gt;     &lt;/blockquote&gt;   &lt;/li&gt;&lt;li&gt;      &lt;p&gt;Write the running configuration to the configuration file:&lt;/p&gt;     &lt;blockquote&gt;       &lt;pre&gt;switch(config)#&lt;b&gt;write memory&lt;/b&gt;&lt;/pre&gt;     &lt;/blockquote&gt; &lt;/li&gt;&lt;/ol&gt; &lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-2618067227756464068?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/2618067227756464068/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=2618067227756464068' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/2618067227756464068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/2618067227756464068'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2010/01/catalyst-2900-xl-and-3500-xl-password.html' title='Catalyst 2900-XL and 3500-XL Password Recovery Procedure'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-3642340930658206037</id><published>2010-01-26T01:37:00.000-08:00</published><updated>2010-01-26T01:38:16.392-08:00</updated><title type='text'>Proxy Problem WINDOWS 7</title><content type='html'>I managed to how to bypass this problem, I did not find out what proxy is used here, but I used the following steps to solve the problem:&lt;br /&gt;&lt;br /&gt;"&lt;span&gt;The problem is the autentificación NTLM of &lt;strong class="highlight"&gt;Windows7&lt;/strong&gt;. It is necessary to create the following key in the registry to solve it (I'm using &lt;strong class="highlight"&gt;Squid&lt;/strong&gt; Version 3.0.STABLE8 in Debian Lenny): &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;1. In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa &lt;/span&gt;&lt;br /&gt;&lt;span&gt;If it doesn’t exist, create a DWORD value named LmCompatibilityLevel and set the value to 1 to use LM NTLM and NTLMv2 if is negociated, this is &lt;/span&gt;&lt;br /&gt;&lt;span&gt;Also it works establishing the value to 0, and 3 though for more safety the value using 3 though with old operating systems it will not work on having used obligatorily NTLMv2. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;2. Reboot &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;To follow the link for more information: &lt;/span&gt;&lt;a rel="nofollow" href="http://technet.microsoft.com/es-es/magazine/2006.08.securitywatch%28en-us%29.aspx"&gt;&lt;span&gt;http://technet.microsoft.com/es-es/magazine/2006.08.securitywatch(en-us).aspx&lt;/span&gt;&lt;/a&gt;"&lt;br /&gt;&lt;br /&gt;Source: &lt;a href="http://www.nabble.com/Windows-7-beta-and-NTLM-td21377271.html"&gt;http://www.nabble.com/Windows-7-beta-and-NTLM-td21377271.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This worked well, now I'm able to connect in internet through proxy server.&lt;br /&gt;&lt;br /&gt;Thanks&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-3642340930658206037?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/3642340930658206037/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=3642340930658206037' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/3642340930658206037'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/3642340930658206037'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2010/01/proxy-problem-windows-7.html' title='Proxy Problem WINDOWS 7'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-572975821866556997</id><published>2009-11-23T11:11:00.000-08:00</published><updated>2009-11-23T11:12:42.859-08:00</updated><title type='text'>Change Ubuntu Server from DHCP to a Static IP Address</title><content type='html'>&lt;h2 style="font-family: arial; font-weight: normal;"&gt;&lt;span style="font-size:100%;"&gt;If the Ubuntu Server installer has set your server to use DHCP, you will want to change it to a static IP address so that people can actually use it.&lt;/span&gt;&lt;/h2&gt;           &lt;!-- google_ad_section_start --&gt;       &lt;p style="font-family: arial;"&gt;Changing this setting without a GUI will require some text editing, but that’s classic linux, right?&lt;/p&gt; &lt;p style="font-family: arial;"&gt;Let’s open up the /etc/network/interfaces file. I’m going to use vi, but you can choose a different editor&lt;/p&gt; &lt;blockquote style="font-family: arial;"&gt;&lt;p&gt;sudo vi /etc/network/interfaces&lt;/p&gt; &lt;/blockquote&gt; &lt;p style="font-family: arial;"&gt;For the primary interface, which is usually eth0, you will see these lines:&lt;/p&gt; &lt;blockquote style="font-family: arial;"&gt;&lt;p&gt;auto eth0&lt;br /&gt;iface eth0 inet dhcp&lt;/p&gt; &lt;/blockquote&gt; &lt;p style="font-family: arial;"&gt;As you can see, it’s using DHCP right now. We are going to change dhcp to static, and then there are a number of options that should be added below it. Obviously you’d customize this to your network.&lt;/p&gt; &lt;blockquote style="font-family: arial;"&gt;&lt;p&gt;auto eth0&lt;br /&gt;iface eth0 inet static&lt;br /&gt;        address 192.168.1.100&lt;br /&gt;        netmask 255.255.255.0&lt;br /&gt;        network 192.168.1.0&lt;br /&gt;        broadcast 192.168.1.255&lt;br /&gt;        gateway 192.168.1.1&lt;/p&gt; &lt;/blockquote&gt; &lt;p style="font-family: arial;"&gt; Now we’ll need to add in the DNS settings by editing the resolv.conf file:&lt;/p&gt; &lt;blockquote style="font-family: arial;"&gt;&lt;p&gt;sudo vi /etc/resolv.conf&lt;/p&gt;&lt;/blockquote&gt; &lt;p style="font-family: arial;"&gt;On the line ‘name server xxx.xxx.xxx.xxx’ replace the x with the IP of your name server. (You can do ifconfig /all to find out what they are) &lt;/p&gt; &lt;p style="font-family: arial;"&gt;You need to also remove the dhcp client for this to stick (thanks to Peter for noticing). You might need to remove dhcp-client3 instead.&lt;/p&gt; &lt;p style="font-family: arial;"&gt; &lt;/p&gt;&lt;blockquote style="font-family: arial;"&gt;sudo apt-get remove dhcp-client&lt;/blockquote&gt; &lt;p style="font-family: arial;"&gt;Now we’ll just need to restart the networking components:&lt;/p&gt; &lt;blockquote style="font-family: arial;"&gt;&lt;p&gt;sudo /etc/init.d/networking restart&lt;/p&gt; &lt;/blockquote&gt; &lt;p style="font-family: arial;"&gt;Ping www.google.com. If you get a response, name resolution is working(unless of course if google is in your hosts file).&lt;/p&gt; &lt;p style="font-family: arial;"&gt;Really pretty simple. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-572975821866556997?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/572975821866556997/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=572975821866556997' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/572975821866556997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/572975821866556997'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2009/11/change-ubuntu-server-from-dhcp-to.html' title='Change Ubuntu Server from DHCP to a Static IP Address'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-1404528984417616528</id><published>2009-11-07T10:12:00.000-08:00</published><updated>2010-03-04T05:51:17.193-08:00</updated><title type='text'>Mandare Link ED2k verso un amule su un altro computer.</title><content type='html'>&lt;h2&gt; &lt;span class="mw-headline"&gt; Windows &lt;/span&gt;&lt;/h2&gt; &lt;p&gt;Make sure aMule is installed with the &lt;a href="http://wiki.amule.org/index.php/AMuleCMD" title="AMuleCMD"&gt;aMuleCMD&lt;/a&gt; option checked. &lt;/p&gt;&lt;p&gt;We need a batch script to handle the ed2k links from the browser, and we need to add some keys to the registry to make the browser recognize the ed2k links. &lt;/p&gt;&lt;p&gt;Create a file named &lt;b&gt;ed2k_remote.bat&lt;/b&gt; containing the following code: &lt;/p&gt; &lt;pre&gt;@echo off&lt;br /&gt;set link=%1&lt;br /&gt;for /f "useback tokens=*" %%a in ('%link%') do set link=%%~a&lt;br /&gt;"c:\Program Files\aMule\amulecmd.exe" /h &lt;b&gt;server&lt;/b&gt; /P &lt;b&gt;pass&lt;/b&gt; /c "add %link%"&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;Don't forget to replace &lt;b&gt;server&lt;/b&gt; and &lt;b&gt;pass&lt;/b&gt; with your data and save the file in your aMule directory &lt;i&gt;C:\Program Files\aMule&lt;/i&gt;. &lt;/p&gt;&lt;p&gt;Create a file named &lt;b&gt;ed2k_remote.reg&lt;/b&gt; containing the following code: &lt;/p&gt; &lt;pre&gt;REGEDIT4&lt;br /&gt;&lt;br /&gt;[HKEY_CLASSES_ROOT\ed2k]&lt;br /&gt;@="URL: ed2k Protocol"&lt;br /&gt;"URL Protocol"=""&lt;br /&gt;&lt;br /&gt;[HKEY_CLASSES_ROOT\ed2k\DefaultIcon]&lt;br /&gt;@="C:\\Program Files\\aMule\\amulegui.exe"&lt;br /&gt;&lt;br /&gt;[HKEY_CLASSES_ROOT\ed2k\shell]&lt;br /&gt;@="open"&lt;br /&gt;&lt;br /&gt;[HKEY_CLASSES_ROOT\ed2k\shell\open]&lt;br /&gt;&lt;br /&gt;[HKEY_CLASSES_ROOT\ed2k\shell\open\command]&lt;br /&gt;@="\"C:\\Program Files\\aMule\\ed2k_remote.bat\" \"%1\""&lt;br /&gt;&lt;/pre&gt; &lt;p&gt;Save the file and run it (double click) to add these keys to the registry. &lt;/p&gt; &lt;a name="Internet_Explorer_2" id="Internet_Explorer_2"&gt;&lt;/a&gt;&lt;h3&gt; &lt;span class="mw-headline"&gt; Internet Explorer &lt;/span&gt;&lt;/h3&gt; &lt;p&gt;You should be OK with just the changes to the registry and the batch script in your aMule directory. &lt;/p&gt; &lt;a name="Firefox_2" id="Firefox_2"&gt;&lt;/a&gt;&lt;h3&gt; &lt;span class="mw-headline"&gt; Firefox &lt;/span&gt;&lt;/h3&gt; &lt;p&gt;The first time you click an ed2k link in Firefox you will get the following dialog: &lt;/p&gt;&lt;p&gt;&lt;a href="http://wiki.amule.org/index.php/File:Firefox_ed2k_link.PNG" class="image" title="Image:Firefox ed2k link.PNG"&gt;&lt;br /&gt;&lt;/a&gt; &lt;/p&gt;&lt;p&gt;Tick the Remember box and click OK. &lt;/p&gt; &lt;a name="Opera_2" id="Opera_2"&gt;&lt;/a&gt;&lt;h3&gt; &lt;span class="mw-headline"&gt; Opera &lt;/span&gt;&lt;/h3&gt; &lt;p&gt;Open the preferences window and click the Programs tab&lt;/p&gt;&lt;p&gt;Click the Add... button &lt;/p&gt;&lt;p&gt;Make Opera aware of the ed2k link protocol with these settings: &lt;/p&gt;&lt;p&gt;&lt;a href="http://wiki.amule.org/index.php/File:Opera_protocols_ed2k.PNG" class="image" title="Image:Opera_protocols_ed2k.PNG"&gt;&lt;br /&gt;&lt;/a&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-1404528984417616528?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/1404528984417616528/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=1404528984417616528' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/1404528984417616528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/1404528984417616528'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2009/11/mandare-link-ed2k-verso-un-amule-su-un.html' title='Mandare Link ED2k verso un amule su un altro computer.'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-5371230301533814211</id><published>2009-01-21T14:41:00.000-08:00</published><updated>2009-12-01T02:23:00.076-08:00</updated><title type='text'>Mass Storage.</title><content type='html'>.....cosi metto tutto in un posto GIGANTE! eppure cosi piccolo.....&lt;br /&gt;Tutto cio' e' poetico.....lui e' li che sfrulla con la sua ventola.......e CONTIENE TUTTO.........ogni tanto grugnisce silenziosamente....accende le sue lucine al ritmo mitralico del bit....&lt;br /&gt;e finche ce' corrente LUI E' LI!!!! (ma anche se gliela togli e gliela ridai....alle volte E' LI!)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-5371230301533814211?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/5371230301533814211/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=5371230301533814211' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/5371230301533814211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/5371230301533814211'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2009/01/mass-storage.html' title='Mass Storage.'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-2185627474951048759</id><published>2009-01-21T06:05:00.000-08:00</published><updated>2009-01-21T06:10:17.918-08:00</updated><title type='text'>LCD Panel Technology Explained</title><content type='html'>There are many different panel technologies used in the production of LCD monitors. They range from budget TN panels to expensive, professional quality S-IPS and S-PVA panels. The average consumer usually has no idea what panel technology is used in their LCD. In fact, many power users are also unaware, simply because the panel type is rarely listed by the manufacturer in the monitor specifications. Many users buy monitors based on price and size. Price should be a factor, but you should still know the advantages and disadvantages of the different LCD panel types and be able to identify them before you decide which LCD to purchase.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;IPS Panel Technology&lt;/span&gt;&lt;br /&gt;S-IPS/H-IPS (In Plane Switching) panels are generally considered the best overall LCD technology for image quality, color accuracy and viewing angles, but this comes at a price. They are well suited for graphics design and other applications which require accurate and consistent color reproduction. S-IPS panels offer the best viewing angles of any current LCD technology, with wide viewing angles up to 178 degress. The response time of S-IPS is adequate, ranging from 6ms to 16ms with current panels. This is only slightly slower than TN panels. However, gamers should take this into consideration. Fast paced games may suffer from motion blur or ghosting with S-IPS panels that have a response time higher than 8ms. S-IPS panels can be identified buy a slight purple hue on blacks when viewed from a wide angle. There are currently few manufacturers using S-IPS panels in comparison to the other panels types making choices limited and they often carry a premium price tag. H-IPS is a newer variation of S-IPS with a different pixel structure that improves contrast ratios and lowers pixel pitch to provide better picture quality.&lt;br /&gt;&lt;br /&gt;Two of the most popular widescreen S-IPS monitors are the NEC 20WMGX2 and Dell 2007WFP. The NEC 20WMGX2 monitor uses an AS-IPS panel (basically a custom S-IPS panel made specifically for NEC), has a 6ms response time, glossy coating and includes a TV tuner and speaker bar. The price of the 20WMGX2 ranges from $500-$600. The Dell 2007WFP is much more affordable at around $350, but you are not guranteed an S-IPS panel and it has less features. Unfortunately Dell uses two panel types in this monitor. S-IPS and S-PVA. It is a completely random process so there is no way to know which panel you will receive. However, due to the much lower price of the 2007WFP many are willing to take the risk for a cheap widescreen S-IPS panel. To find more S-IPS panels see our Comprehensive List of S-IPS Based LCD Monitors.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;VA Panel Technology&lt;/span&gt;&lt;br /&gt;VA (Vertical Alignment) technology such as S-PVA/MVA are middle of the road LCD panels. They offer better color reproduction and wider viewing angles than TN panels, but have slower response times. They are very similar to S-IPS on paper. They also offer large viewing angles and good color reproduction, though not as good as S-IPS. The response times are generally worse than TN or S-IPS panels and there have been reports of a few panels that suffer from input lag, so VA technology may not be the best choice for fast paced gaming. VA panels have the advantage of higher contrast ratios compared to other panel types, which leads to better black levels. The biggest disadvantage of VA based panels is color shifting. Color shifting is when the image viewed from one angle changes or "shifts" when viewed from a slightly different angle, making various uneven brightness levels across the display. This bothers many users to the point they will not even consider buying a VA based panel, while other users don't notice/aren't bothered by the color shifting. Color shifts also cause a loss of shadow detail in dark scenes when viewed directly from the center. VA panels are much easier to find compared to IPS because so many manufacturers use them. They offer better image quality than TN at lower price than IPS based panels.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;TN Panel Technology&lt;/span&gt;&lt;br /&gt;TN (Twisted Nematic) panels are the most widely used panel type as they are cheap and offer excellent response times, making them perfect for fast paced gaming. The response times of current TN panels range from 2ms to 5ms. However, color reproduction, viewing angles and contrast ratios of TN panels are the worst of any LCD panel technology. Unlike most 8-bit S-IPS/S-PVA/MVA panels, TN panels are only 6-bit and unable to display the full 16.7 million colors available in 24-bit true color. They can mimick the 16.7 million colors of 8-bit panels using a technique called dithering, but the results are unimpressive. TN panels have become popular with the average user because they are very inexpensive. They are also the only panels currently being used in 22" widescreen monitors, a very popular size. Many of these 22" TN panels are around the same price or cheaper than other 20" monitors with different panel types, so it is easy to see how how they gained popularity. Afterall, the average user buys a monitor based on price and size.&lt;br /&gt;&lt;br /&gt;Update: Other panel types are now starting to be used in 22" displays, though the majority are still TN.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Summary of LCD Panel Technology&lt;/span&gt;&lt;br /&gt;    * S-IPS/H-IPS panels are generally considered the best all around panel type, but they are more expensive and very few are made. High end, expensive.&lt;br /&gt;    * S-PVA/MVA panels offer better color reproduction and viewing angles than TN panels, have slightly worse response times than TN or S-IPS, offer the best contrast ratios, may suffer from color shifting or input lag and have higher availability than S-IPS panels. Mid range, fair price.&lt;br /&gt;    * TN panels are very cheap and have the fastest response times, but suffer from inferior color reproduction, contrast ratios and viewing angles. Low end, inexpensive.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-2185627474951048759?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/2185627474951048759/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=2185627474951048759' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/2185627474951048759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/2185627474951048759'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2009/01/lcd-panel-technology-explained.html' title='LCD Panel Technology Explained'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-3393423071692895912</id><published>2009-01-21T05:02:00.000-08:00</published><updated>2009-01-21T05:03:48.573-08:00</updated><title type='text'>UH!</title><content type='html'>CaraMella, mortaDella....mandaRino&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-3393423071692895912?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/3393423071692895912/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=3393423071692895912' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/3393423071692895912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/3393423071692895912'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2009/01/uh.html' title='UH!'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-1807061553306383798</id><published>2008-10-08T01:47:00.000-07:00</published><updated>2008-10-08T01:48:25.716-07:00</updated><title type='text'>Sunny 16 Rule.</title><content type='html'>&lt;p&gt;In &lt;a href="http://en.wikipedia.org/wiki/Photography" title="Photography"&gt;photography&lt;/a&gt;, the &lt;b&gt;sunny 16 rule&lt;/b&gt; (or, less often, the "&lt;b&gt;sunny &lt;span style="font-style: italic; font-family: Georgia,serif;"&gt;f/&lt;/span&gt;16 rule&lt;/b&gt;") is a method to estimate correct daylight &lt;a href="http://en.wikipedia.org/wiki/Exposure_%28photography%29" title="Exposure (photography)"&gt;exposures&lt;/a&gt; without using a &lt;a href="http://en.wikipedia.org/wiki/Light_meter" title="Light meter"&gt;light meter&lt;/a&gt;.The basic sunny 16 rule, applicable on a sunny day, is this:&lt;/p&gt; &lt;ul&gt;&lt;li&gt;Set &lt;a href="http://en.wikipedia.org/wiki/Aperture" title="Aperture"&gt;aperture&lt;/a&gt; to &lt;a href="http://en.wikipedia.org/wiki/F-number" title="F-number"&gt;&lt;span style="font-style: italic; font-family: Georgia,serif;"&gt;f/&lt;/span&gt;16&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/Shutter_speed" title="Shutter speed"&gt;shutter speed&lt;/a&gt; (reciprocal seconds) to ISO &lt;a href="http://en.wikipedia.org/wiki/Film_speed" title="Film speed"&gt;film speed&lt;/a&gt;. For example, for ISO 100 film, choose shutter speed of 1/100 second (or 1/125 second)&lt;/li&gt;&lt;/ul&gt;  &lt;p&gt;The elaborated form of the sunny 16 rule for more general situations is:&lt;/p&gt; &lt;ol&gt;&lt;li&gt;Set the &lt;a href="http://en.wikipedia.org/wiki/Shutter_speed" title="Shutter speed"&gt;shutter speed&lt;/a&gt; to the setting nearest to the ISO &lt;a href="http://en.wikipedia.org/wiki/Film_speed" title="Film speed"&gt;film speed&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Set the &lt;a href="http://en.wikipedia.org/wiki/F-number" title="F-number"&gt;f-number&lt;/a&gt; according to the table below:&lt;/li&gt;&lt;/ol&gt; &lt;dl&gt;&lt;dd&gt; &lt;dl&gt;&lt;dd&gt; &lt;table style="border-collapse: collapse;" border="1" cellpadding="5"&gt; &lt;tbody&gt;&lt;tr&gt; &lt;th&gt;&lt;a href="http://en.wikipedia.org/wiki/F-number" title="F-number"&gt;Aperture&lt;/a&gt;&lt;/th&gt; &lt;th&gt;Lighting Conditions&lt;/th&gt; &lt;th&gt;Shadow Detail&lt;/th&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;span style="font-style: italic; font-family: Georgia,serif;"&gt;f/&lt;/span&gt;16&lt;/td&gt; &lt;td&gt;Sunny&lt;/td&gt; &lt;td&gt;Distinct&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;span style="font-style: italic; font-family: Georgia,serif;"&gt;f/&lt;/span&gt;11&lt;/td&gt; &lt;td&gt;Slight Overcast&lt;/td&gt; &lt;td&gt;Soft around edges&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;span style="font-style: italic; font-family: Georgia,serif;"&gt;f/&lt;/span&gt;8&lt;/td&gt; &lt;td&gt;Overcast&lt;/td&gt; &lt;td&gt;Barely visible&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;span style="font-style: italic; font-family: Georgia,serif;"&gt;f/&lt;/span&gt;5.6&lt;/td&gt; &lt;td&gt;Heavy Overcast&lt;/td&gt; &lt;td&gt;No shadows&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;span style="font-style: italic; font-family: Georgia,serif;"&gt;f/&lt;/span&gt;4&lt;/td&gt; &lt;td&gt;Sunset&lt;/td&gt; &lt;td&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt; &lt;a href="http://www.camerareview.com/templates/sunny16.cfm" class="external autonumber" title="http://www.camerareview.com/templates/sunny16.cfm" rel="nofollow"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/dd&gt;&lt;/dl&gt; &lt;/dd&gt;&lt;/dl&gt; &lt;p&gt;For example, to shoot ISO 100 film in sunny conditions, set the shutter speed to 1/100 or 1/125 and the f-stop to &lt;span style="font-style: italic; font-family: Georgia,serif;"&gt;f/&lt;/span&gt;16. With ISO 200 film, set the speed to 1/200 or 1/250. For ISO 400 film, 1/400 or 1/500. As with other light readings, the shutter speed can be changed, as long as the f-number is compensated. For example, 1/250th of a second at &lt;span style="font-style: italic; font-family: Georgia,serif;"&gt;f/&lt;/span&gt;11 would be equivalent to 1/125th at &lt;span style="font-style: italic; font-family: Georgia,serif;"&gt;f/&lt;/span&gt;16.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-1807061553306383798?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/1807061553306383798/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=1807061553306383798' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/1807061553306383798'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/1807061553306383798'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2008/10/sunny-16-rule.html' title='Sunny 16 Rule.'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-2052953886718590223</id><published>2008-06-30T12:20:00.000-07:00</published><updated>2008-06-30T12:35:32.056-07:00</updated><title type='text'>The Shower - La Doccia</title><content type='html'>La doccia e' uno strumento importante nella vita degli umani. E' lo strumento che declama la  fine di una giornata bella o brutta che sia. Le emozioni, la rabbia,lo stress scivolano &lt;span class="blsp-spelling-corrected" id="SPELLING_ERROR_0"&gt;giù&lt;/span&gt; per le pareti fino al buio dello scarico, lasciandoci con quel sapore agro-dolce di "missione compiuta".&lt;br /&gt;&lt;br /&gt;Qualcuno potrebbe obbiettare: " e chi se la fa la mattina?" Beh e' fortunato ad avere il tempo la mattina di riavviarsi di fresco.&lt;br /&gt;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;Shower&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;is&lt;/span&gt; an &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;important&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;tool&lt;/span&gt; in a &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;human&lt;/span&gt;'s &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;life&lt;/span&gt;. &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_7"&gt;This&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_8"&gt;tool&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_9"&gt;tells&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_10"&gt;us&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_11"&gt;when&lt;/span&gt; the end &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_12"&gt;of&lt;/span&gt; a &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_13"&gt;cool&lt;/span&gt; or &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_14"&gt;"sucky"&lt;/span&gt; day &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_15"&gt;comes&lt;/span&gt;. &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_16"&gt;Emotions&lt;/span&gt;, &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_17"&gt;anger&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_18"&gt;and&lt;/span&gt; stress &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_19"&gt;just&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_20"&gt;slide&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_21"&gt;down&lt;/span&gt; the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_22"&gt;walls&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_23"&gt;and&lt;/span&gt; in the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_24"&gt;drain&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_25"&gt;darkness&lt;/span&gt;, &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_26"&gt;leaving&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_27"&gt;us&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_28"&gt;with&lt;/span&gt; a &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_29"&gt;sweet&lt;/span&gt; &amp;amp; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_30"&gt;sour&lt;/span&gt; taste &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_31"&gt;of&lt;/span&gt; "&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_32"&gt;mission&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_33"&gt;accomplished&lt;/span&gt;"&lt;br /&gt;&lt;br /&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_34"&gt;Someone&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_35"&gt;could&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_36"&gt;ask&lt;/span&gt;: "..&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_37"&gt;and&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_38"&gt;what&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_39"&gt;about&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_40"&gt;people&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_41"&gt;that&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_42"&gt;shower&lt;/span&gt; in the &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_43"&gt;morning&lt;/span&gt;?" &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_44"&gt;Well&lt;/span&gt; I &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_45"&gt;can&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_46"&gt;tell&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_47"&gt;them&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_48"&gt;they&lt;/span&gt; are &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_49"&gt;lucky&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_50"&gt;to&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_51"&gt;have&lt;/span&gt; the time &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_52"&gt;to&lt;/span&gt; do &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_53"&gt;it&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_54"&gt;and&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_55"&gt;freshly&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_56"&gt;reboot&lt;/span&gt;...&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_57"&gt;if&lt;/span&gt; &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_58"&gt;you&lt;/span&gt; know &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_59"&gt;what&lt;/span&gt; i &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_60"&gt;mean&lt;/span&gt;!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-2052953886718590223?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/2052953886718590223/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=2052953886718590223' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/2052953886718590223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/2052953886718590223'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2008/06/shower-la-doccia.html' title='The Shower - La Doccia'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-78971082009537802</id><published>2007-11-08T02:30:00.000-08:00</published><updated>2007-11-08T02:55:17.480-08:00</updated><title type='text'>Problema Giovani + Alcool + Droghe = Incidenti</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_mr4lSS7i36g/RzLq9DqlbjI/AAAAAAAABU8/cMRxFUln9D4/s1600-h/city02.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 109px; height: 81px;" src="http://bp1.blogger.com/_mr4lSS7i36g/RzLq9DqlbjI/AAAAAAAABU8/cMRxFUln9D4/s400/city02.jpg" alt="" id="BLOGGER_PHOTO_ID_5130421260205256242" border="0" /&gt;&lt;/a&gt;Cari  governanti, voi sarete   anche illuminati da una grande saccenza, ma alle volte mi sembra che vi perdete in un bicchiere d'acqua. Quando eravate bambini e vi si proibiva qualcosa voi cosa facevate?....... E' cosi anche a 70-80-90 anni (che piu' o meno e' la vostra eta media). Lo e' ancora di piu' a 20-30-40. Quindi vi propongo di pensare alla proposta che mi e' venuta in mente nelle mie lunghe ore in tangenziale ( per il problema traffico e inquinamento poi vi spiego cosa dovete fare ;-)):&lt;br /&gt;Creiamo delle cittadelle del divertimento. In pratica concentrate i locali, le discoteche, i locali sexy, i ristoranti, i coffie shop e i bar in una unica località facilmente raggiungibile con dei bei parcheggi (gratis). Poi vanno create delle strutture per far passare la notte ai giovan.i Una specie di cell hotel alla giapponese o ostello che costano 10-15 euro a notte dove le persone devastate dall'alcool e le droghe possano dormire la notte e affrontare la via del ritorno il giorno dopo con la mente piu' lucida.&lt;br /&gt;La concentrazione del divertimento poi vi darebbe la possibilita' di controllare con piu facilita le persone non in condizione di guidare. In poche parole dovete dare la possibilita' di divertirsi in sicurezza. Insomma continuate a dire che siete li per noi, che vi prendete cura di noi e poi tutto quello che fate e' castigare se non facciamo come dite voi non e' quello che faceva la mamma con voi piu o meno un secolo fa quando eravate bambini? La punizione servia???&lt;br /&gt;&lt;br /&gt;i vantaggi della cosa:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;meno gente in giro ubriaca\drogata meno incidenti.&lt;/li&gt;&lt;li&gt;se i locali si spostano dalla città non ci saranno piu lamentele per gli schiamazzi&lt;/li&gt;&lt;li&gt;Prendete in mano voi la vendita delle droghe. togliete soldi alla mafia e li reinvestite in ricerca e strutture ospedaliere.&lt;/li&gt;&lt;li&gt;non piu' prostitute per strada ma in un ambiente controllato&lt;/li&gt;&lt;li&gt;tutti pagherebbero le tasse (ovviamente dovreste agevolare a livello fiscale chi sposta il proprio locale nella cittadella del divertimento)&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;beh io la proposta l'ho fatta. e non sono illuminato come voi....forza dai un po di impegno.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-78971082009537802?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/78971082009537802/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=78971082009537802' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/78971082009537802'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/78971082009537802'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2007/11/problema-giovani-alcool-droghe.html' title='Problema Giovani + Alcool + Droghe = Incidenti'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_mr4lSS7i36g/RzLq9DqlbjI/AAAAAAAABU8/cMRxFUln9D4/s72-c/city02.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-3499139821538492778</id><published>2007-11-05T02:08:00.000-08:00</published><updated>2007-11-05T02:24:39.369-08:00</updated><title type='text'>Estinzione?</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_mr4lSS7i36g/Ry7u4dUpytI/AAAAAAAABUc/V7o8WATvRbA/s1600-h/dodo.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 111px; height: 141px;" src="http://bp2.blogger.com/_mr4lSS7i36g/Ry7u4dUpytI/AAAAAAAABUc/V7o8WATvRbA/s400/dodo.jpg" alt="" id="BLOGGER_PHOTO_ID_5129299679332911826" border="0" /&gt;&lt;/a&gt;Facciamo una piccola analisi della nostra situazione. "Nostra" intesa come umani  ospiti di un pianeta meraviglioso. Ci riuniamo in grandi centri abitati, dove una una coscienza globale ci detta le leggi della nostra vita. Sfruttiamo tutte le risorse che la madre terra ci fornisce, ovviamente non in maniera intelligente (inquinamento, esperimenti nucleari, giochiamo a dio con il DNA, etc).&lt;br /&gt;Fra di noi l'unica legge che domina e' quella del piu forte. Se dobbiamo  scegliere fra una ciambella in meno per noi e la vita di un altro....CIAMBELLA OVVIAMENTE. Insomma ci vedo veramente poco di buono nella nostra specie. Potrei andare avanti per pagine e pagine ad elencare tutte le malefatte. Il bene che si fa e' cosi limitato che si perde in mezzo a tutto lo schifo.&lt;br /&gt;Lo so, e' un discorso trito e ritrito. Ad ascoltarmi si potrebbe pensare che sono uno hippie abbraccia alberi, non e' cosi!&lt;br /&gt;I nemici di 007 che volevano distruggere il mondo in ogni film non hanno tutto questo torto. Povera umanita' le occasioni le ha avute, ma si sa', la strada della perdizione (estinzione) e' piu' agevole di quella Giusta.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-3499139821538492778?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/3499139821538492778/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=3499139821538492778' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/3499139821538492778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/3499139821538492778'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2007/11/estinzione.html' title='Estinzione?'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_mr4lSS7i36g/Ry7u4dUpytI/AAAAAAAABUc/V7o8WATvRbA/s72-c/dodo.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-4104273726250645983</id><published>2007-10-09T02:39:00.000-07:00</published><updated>2007-10-09T02:49:19.411-07:00</updated><title type='text'>Il Formato delle foto digitali in Stampa</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_mr4lSS7i36g/RwtOXMOB3aI/AAAAAAAAA_M/dJlDXJ5WcMo/s1600-h/collage.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 137px; height: 102px;" src="http://bp2.blogger.com/_mr4lSS7i36g/RwtOXMOB3aI/AAAAAAAAA_M/dJlDXJ5WcMo/s400/collage.jpg" alt="" id="BLOGGER_PHOTO_ID_5119271561760726434" border="0" /&gt;&lt;/a&gt;Le immagini scattate con le fotocamere digitali hanno un rapporto tra i lati di 3:4 (es. 480 PIXEL x 640 PIXEL), viceversa le fotocamere a pellicola più diffuse (formato 35mm) e alcune digitali professionali producono immagini con rapporto tra i lati di 2:3. Questa differenza comporta la necessità di offrire formati di stampa adatti per ambedue le proporzioni.&lt;br /&gt;Per esempio la mia canon 30d (reflex) genera foto da 2336x3504 il rapporto e' di 0,66666666666666666666666666666667&lt;br /&gt;Infatti 2:3 =0,66666666666666666666666666666667&lt;br /&gt;Quindi formati buoni da adoperare sono per esempio: &lt;strong style="font-weight: normal;"&gt;10x15 oppure 20x30&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Nelle fotocamere compatte digitali invece (per esempio uso una canon a570 IS) il formato delle foto e' 2304x3072 il cui rapporto e' pari a 0.75.&lt;br /&gt;Infatti 3:4=0,75&lt;br /&gt;Quindi formati buoni da adoperare sono per esempio:&lt;strong style="font-weight: normal;"&gt;15x20 oppure 30x40&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;Quando si va a far sviluppare le foto va sempre specificato il rapporto che vuoi e questo ti dovrebbe evitare brutte sorprese con le foto stampate.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-4104273726250645983?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/4104273726250645983/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=4104273726250645983' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/4104273726250645983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/4104273726250645983'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2007/10/il-formato-delle-foto-digitali-in.html' title='Il Formato delle foto digitali in Stampa'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_mr4lSS7i36g/RwtOXMOB3aI/AAAAAAAAA_M/dJlDXJ5WcMo/s72-c/collage.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-9205486074035901889</id><published>2007-09-27T03:06:00.000-07:00</published><updated>2007-09-27T03:23:28.479-07:00</updated><title type='text'>Cambiamenti</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_mr4lSS7i36g/RvuEXMOB3PI/AAAAAAAAA9M/zPO-bkCl13A/s1600-h/DSC04070-2.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 50px; height: 114px;" src="http://bp2.blogger.com/_mr4lSS7i36g/RvuEXMOB3PI/AAAAAAAAA9M/zPO-bkCl13A/s200/DSC04070-2.JPG" alt="" id="BLOGGER_PHOTO_ID_5114827335761255666" border="0" /&gt;&lt;/a&gt; Perche' e' cosi difficile cambiare? Uscire dalla routine che ti avvolge e coccola e ti fa sentire sicuro..... ma che come la maga circe, piano piano ti succhia la vita (e non il cazzo come dovrebbe), fino a farti diventare uno zombie televisivo dedito all'assorbimento delle  porcherie che ci propongono.......&lt;br /&gt;&lt;/div&gt;La consapevolezza della vita che sfugge, senza mai portare a termine niente, senza mai vivere un momento di gloria, e' una situazione peggiore del essere apaticamente ignorante. Vivo questa consapevolezza e sto zitto, immobile, crogiolato dalla mia amica routine e noia....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-9205486074035901889?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/9205486074035901889/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=9205486074035901889' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/9205486074035901889'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/9205486074035901889'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2007/09/cambiamenti.html' title='Cambiamenti'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_mr4lSS7i36g/RvuEXMOB3PI/AAAAAAAAA9M/zPO-bkCl13A/s72-c/DSC04070-2.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-4712975952661328738</id><published>2007-07-04T06:56:00.000-07:00</published><updated>2007-07-04T07:01:10.699-07:00</updated><title type='text'>In Studio con Erica.</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_mr4lSS7i36g/RounR-tdv_I/AAAAAAAAA3U/tVj8fLO4AvQ/s1600-h/erica_thb.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp1.blogger.com/_mr4lSS7i36g/RounR-tdv_I/AAAAAAAAA3U/tVj8fLO4AvQ/s320/erica_thb.jpg" alt="" id="BLOGGER_PHOTO_ID_5083340531751043058" border="0" /&gt;&lt;/a&gt;Quest' anno sto seguendo un corso di fotografia con Max Spinolo. Ieri e' stato una vera emozione;    abbiamo scattato in studio con un a modella (Erica appunto). Posto qualche foto e qualche link     utile se site interessati ai vari corsi organizzati dall'associazione il Tempo Ritrovavato.&lt;br /&gt;&lt;br /&gt; &lt;a href="http://www.iltemporitrovato.org/" target="_blank"&gt;Il Tempo Ritrovato corsi di vario tipo.&lt;/a&gt;&lt;br /&gt; &lt;a href="http://www.ginnari.net/images/erica01.jpg"&gt;Erica.&lt;/a&gt;&lt;br /&gt; &lt;a href="http://www.ginnari.net/images/erica02.jpg"&gt;In studio.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-4712975952661328738?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/4712975952661328738/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=4712975952661328738' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/4712975952661328738'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/4712975952661328738'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2007/07/in-studio-con-erica.html' title='In Studio con Erica.'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_mr4lSS7i36g/RounR-tdv_I/AAAAAAAAA3U/tVj8fLO4AvQ/s72-c/erica_thb.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-937163873494812354</id><published>2007-07-04T06:55:00.000-07:00</published><updated>2007-07-04T06:56:39.400-07:00</updated><title type='text'>Mostra HELMUT NEWTON Milano.</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_mr4lSS7i36g/RounC-tdv-I/AAAAAAAAA3M/9ouXDbGfftk/s1600-h/newton01.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp1.blogger.com/_mr4lSS7i36g/RounC-tdv-I/AAAAAAAAA3M/9ouXDbGfftk/s320/newton01.jpg" alt="" id="BLOGGER_PHOTO_ID_5083340274053005282" border="0" /&gt;&lt;/a&gt;Una mostra meravigliosa, che porta lo spettatore in un modo elegantemente fetish, ma allo stesso    tempo ci immergiamo in paesaggi catturati nel loro istante piu' bello. Newton coglie l'essenza dei     terrestri e la congela in questi affreschi surreali. Sono rimasto sconvolto per l'intera giornata.      Una volta usciti le immagini continuano a tornare con flash prepotenti.&lt;br /&gt;&lt;br /&gt;  HELMUT NEWTON&lt;br /&gt;  SEX AND LANDSCAPE&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-937163873494812354?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/937163873494812354/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=937163873494812354' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/937163873494812354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/937163873494812354'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2007/07/mostra-helmut-newton-milano.html' title='Mostra HELMUT NEWTON Milano.'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_mr4lSS7i36g/RounC-tdv-I/AAAAAAAAA3M/9ouXDbGfftk/s72-c/newton01.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-1227448131192251910</id><published>2007-07-04T06:52:00.000-07:00</published><updated>2007-07-04T06:55:22.028-07:00</updated><title type='text'>Video "Et Lux Fuit"</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_mr4lSS7i36g/Roumsetdv9I/AAAAAAAAA3E/Fh_9YcF_B8I/s1600-h/lampada-vid-thb.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp3.blogger.com/_mr4lSS7i36g/Roumsetdv9I/AAAAAAAAA3E/Fh_9YcF_B8I/s320/lampada-vid-thb.jpg" alt="" id="BLOGGER_PHOTO_ID_5083339887505948626" border="0" /&gt;&lt;/a&gt;Questo insieme di foto fanno parte del reportage fatto per il corso avanzato di fotografia tenuto da    Max Spinolo per l'organizzazione "il Tempo Ritrovato". Ci siamo riunuti in piazza d'uomo e l'argomento   del reportage era "DETTAGLI". Io ho scelto le Lampade e l'illuminazione urbana. Il risultato e' il    video che potete sscaricare in alta risoluzione oppure visualizzate su Youtube o google video. Il brano   musicale adottato e' di Pat Boone "Love Letters in the Sand".    &lt;br /&gt;&lt;br /&gt;  LINK:&lt;br /&gt;  &lt;a href="http://www.ginnari.net/video/luci-duomo_1.3.avi" target="_blank"&gt;Filmato in alta risoluzione. (36Mb)&lt;/a&gt;&lt;br /&gt;  &lt;a href="http://www.youtube.com/watch?v=PFDXwKAwS84" target="_blank"&gt;Filmato su youtbe.&lt;/a&gt;&lt;br /&gt;  &lt;a href="http://video.google.it/videoplay?docid=1141583493337367766" target="_blank"&gt;Filmato su gooogle video.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-1227448131192251910?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/1227448131192251910/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=1227448131192251910' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/1227448131192251910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/1227448131192251910'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2007/07/video-et-lux-fuit.html' title='Video &quot;Et Lux Fuit&quot;'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp3.blogger.com/_mr4lSS7i36g/Roumsetdv9I/AAAAAAAAA3E/Fh_9YcF_B8I/s72-c/lampada-vid-thb.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2092640392849377030.post-6430993525133201256</id><published>2007-07-04T06:47:00.000-07:00</published><updated>2007-07-04T06:49:07.687-07:00</updated><title type='text'>Video "Didgeridoo".</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_mr4lSS7i36g/RoulO-tdv8I/AAAAAAAAA28/kXFK4HEciOM/s1600-h/didgeridoo-tbh.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://bp1.blogger.com/_mr4lSS7i36g/RoulO-tdv8I/AAAAAAAAA28/kXFK4HEciOM/s320/didgeridoo-tbh.jpg" alt="" id="BLOGGER_PHOTO_ID_5083338281188179906" border="0" /&gt;&lt;/a&gt;Questa serie di immagini sono state scattate da Matteo, stavamo cercando di simulare il bullet time in modo   artigianale. Montaando le immagini su un tempo molto breve ci siamo accorti che il risultato non era male.   Casualmente in background c'era un brano di Aphex Twin che sembrava fatto apposta per il pezzo. Ed ecco il risultato.   Per la cronaca il pazzo che si agita sono io.    &lt;br /&gt;&lt;br /&gt;  LINK:&lt;br /&gt;  &lt;a href="http://www.ginnari.net/video/digeridoo.avi" target="_blank"&gt;Filmato Sperimentale&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2092640392849377030-6430993525133201256?l=gixexp.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://gixexp.blogspot.com/feeds/6430993525133201256/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2092640392849377030&amp;postID=6430993525133201256' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/6430993525133201256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2092640392849377030/posts/default/6430993525133201256'/><link rel='alternate' type='text/html' href='http://gixexp.blogspot.com/2007/07/video-didgeridoo.html' title='Video &quot;Didgeridoo&quot;.'/><author><name>Sandro</name><uri>http://www.blogger.com/profile/08336784937320528845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_mr4lSS7i36g/RoulO-tdv8I/AAAAAAAAA28/kXFK4HEciOM/s72-c/didgeridoo-tbh.jpg' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
