<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[MJ12Net.org Forums - All Forums]]></title>
		<link>http://mj12net.org/forums/</link>
		<description><![CDATA[MJ12Net.org Forums - http://mj12net.org/forums]]></description>
		<pubDate>Fri, 18 May 2012 08:51:27 -0700</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Burberry designer handbags fancy truth  land that  ?l?gant  really and thus commendable]]></title>
			<link>http://mj12net.org/forums/showthread.php?tid=71</link>
			<pubDate>Fri, 25 Nov 2011 03:54:35 -0800</pubDate>
			<guid isPermaLink="false">http://mj12net.org/forums/showthread.php?tid=71</guid>
			<description><![CDATA[It's generally believed the fact that Burberry sevices towards emperor inside England, furthermore, its brand design shows his noble that will these samurai represents honour, and therefore these shield symbolizes protection and even defend. Burberry's all goods have become while in British style and design, of the course, a new   <br />
<a href="http://outletbag-shop.com/" target="_blank"> Prada Handbags Outlet</a>,  <br />
<a href="http://bagoutlet-shopping.com/" target="_blank">Cheap Louis Vuitton Men Bags for sale</a> happens to be no exception. Burberry bags love "case" plot which  sélect simple combined with noble. Truly really onefold when Burberry bag has been not only adding some different elements throughout the Case grain design basis, but this particular variety of the color.  Plisse Python Hobo Bag It's a kind off hobo bag this also meets people's recreational flavor. Within the same period of time, everything reveals personality.  May be covered pleated python leather, studed who have brass rivets, and has rolled leather handle. There is without question one secure interior zip compartment and as a result interior pockets, this also let you have security. Concerning the other hand, the device  are usually  filled offering more things once you wish.  Armour Stud Sling Bag while having Lock  This appeals people that have its returning very old flavor.  on the  quite sight, any armour studs really are conspicuous, not to mention its petite figure 's more adorable. I think truly a crafted gift pertaining to Burberry to get us. There is literally a vintage bras lock strapped via in conjunction with the front. Therefore, people will be more at ease. Baby Fresh new Check Nylon Needle Punch Tote Bag  Certain flavor differ provided by each others wearing material, its one studded beat check leather and even nylon tote bag. A bag owns their typical Burberry flavor as well as the most important case grained skin. The exact bottom half is always covered in just rows involving metal coated cone studs. It's would be treat a fashionable unique image resulting with the perfect combination pointing to fashionable element then some  configuration . Medium Grainy Leather Hobo Bag My Burberry bag definitely is young design group's favorite. Is usually elevated in vigor not to mention enthusiasm all over color, and over appearance, except one rolled leather handle, it all has one detachable flat leather adjustable crossbody strap, the other leather belt around prime. Thus people can select  any way within order to carry. Each burberry bag above can catch ones eyes, as well as you can use more attractive ones, I believe  you'll find that favorite using such treasure chest. It's well worth deserving the application.]]></description>
			<content:encoded><![CDATA[It's generally believed the fact that Burberry sevices towards emperor inside England, furthermore, its brand design shows his noble that will these samurai represents honour, and therefore these shield symbolizes protection and even defend. Burberry's all goods have become while in British style and design, of the course, a new   <br />
<a href="http://outletbag-shop.com/" target="_blank"> Prada Handbags Outlet</a>,  <br />
<a href="http://bagoutlet-shopping.com/" target="_blank">Cheap Louis Vuitton Men Bags for sale</a> happens to be no exception. Burberry bags love "case" plot which  sélect simple combined with noble. Truly really onefold when Burberry bag has been not only adding some different elements throughout the Case grain design basis, but this particular variety of the color.  Plisse Python Hobo Bag It's a kind off hobo bag this also meets people's recreational flavor. Within the same period of time, everything reveals personality.  May be covered pleated python leather, studed who have brass rivets, and has rolled leather handle. There is without question one secure interior zip compartment and as a result interior pockets, this also let you have security. Concerning the other hand, the device  are usually  filled offering more things once you wish.  Armour Stud Sling Bag while having Lock  This appeals people that have its returning very old flavor.  on the  quite sight, any armour studs really are conspicuous, not to mention its petite figure 's more adorable. I think truly a crafted gift pertaining to Burberry to get us. There is literally a vintage bras lock strapped via in conjunction with the front. Therefore, people will be more at ease. Baby Fresh new Check Nylon Needle Punch Tote Bag  Certain flavor differ provided by each others wearing material, its one studded beat check leather and even nylon tote bag. A bag owns their typical Burberry flavor as well as the most important case grained skin. The exact bottom half is always covered in just rows involving metal coated cone studs. It's would be treat a fashionable unique image resulting with the perfect combination pointing to fashionable element then some  configuration . Medium Grainy Leather Hobo Bag My Burberry bag definitely is young design group's favorite. Is usually elevated in vigor not to mention enthusiasm all over color, and over appearance, except one rolled leather handle, it all has one detachable flat leather adjustable crossbody strap, the other leather belt around prime. Thus people can select  any way within order to carry. Each burberry bag above can catch ones eyes, as well as you can use more attractive ones, I believe  you'll find that favorite using such treasure chest. It's well worth deserving the application.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Script to Strip Extensions]]></title>
			<link>http://mj12net.org/forums/showthread.php?tid=49</link>
			<pubDate>Thu, 14 May 2009 19:01:14 -0700</pubDate>
			<dc:creator>root</dc:creator>
			<guid isPermaLink="false">http://mj12net.org/forums/showthread.php?tid=49</guid>
			<description><![CDATA[Administrator@helios ~/poetry.bak<br />
&#36; more strip.sh<br />
#!/usr/bin/sh<br />
for file in *.output<br />
do<br />
    mv  &#36;file &#36;{file%%.output}<br />
done]]></description>
			<content:encoded><![CDATA[Administrator@helios ~/poetry.bak<br />
&#36; more strip.sh<br />
#!/usr/bin/sh<br />
for file in *.output<br />
do<br />
    mv  &#36;file &#36;{file%%.output}<br />
done]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Wrap Text In Multiple Files]]></title>
			<link>http://mj12net.org/forums/showthread.php?tid=48</link>
			<pubDate>Thu, 14 May 2009 18:59:57 -0700</pubDate>
			<dc:creator>root</dc:creator>
			<guid isPermaLink="false">http://mj12net.org/forums/showthread.php?tid=48</guid>
			<description><![CDATA[Administrator@helios ~/poetry.bak<br />
&#36; more wrapper.sh<br />
#!/usr/bin/sh<br />
for i in *.txt<br />
do<br />
  fold -sw 65 &#36;i &gt; &#36;i.output<br />
done]]></description>
			<content:encoded><![CDATA[Administrator@helios ~/poetry.bak<br />
&#36; more wrapper.sh<br />
#!/usr/bin/sh<br />
for i in *.txt<br />
do<br />
  fold -sw 65 &#36;i &gt; &#36;i.output<br />
done]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Bash count lines in a file]]></title>
			<link>http://mj12net.org/forums/showthread.php?tid=47</link>
			<pubDate>Wed, 13 May 2009 21:51:20 -0700</pubDate>
			<dc:creator>root</dc:creator>
			<guid isPermaLink="false">http://mj12net.org/forums/showthread.php?tid=47</guid>
			<description><![CDATA[Administrator@helios ~/poetry<br />
&#36; find poetry-listing -print0 | xargs -0 wc -l<br />
191 poetry-listing]]></description>
			<content:encoded><![CDATA[Administrator@helios ~/poetry<br />
&#36; find poetry-listing -print0 | xargs -0 wc -l<br />
191 poetry-listing]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Perl commands to make index from directory listing]]></title>
			<link>http://mj12net.org/forums/showthread.php?tid=46</link>
			<pubDate>Wed, 13 May 2009 21:17:19 -0700</pubDate>
			<dc:creator>root</dc:creator>
			<guid isPermaLink="false">http://mj12net.org/forums/showthread.php?tid=46</guid>
			<description><![CDATA[Useful Perl commands<br />
&#36; ls &gt; poetry-listing<br />
&#36; perl -pi -w -e 's/\&lt;br \/\&gt;/\&lt;br \/\&gt;\&lt;br \/\&gt;/g;' poetry-listing<br />
&#36; perl -pi -w -e 's/txt/txt\"/g;' poetry-listing<br />
&#36; perl -pi -w -e 's/txt/txt\&gt;/g;' poetry-listing<br />
&#36; perl -pi -w -e 's/http/\&lt;a href=\"http/g;' poetry-listing<br />
&#36; perl -pi -w -e 's/^/http\:\/\/mj12net.org\/poetry\//g;' poetry-listing]]></description>
			<content:encoded><![CDATA[Useful Perl commands<br />
&#36; ls &gt; poetry-listing<br />
&#36; perl -pi -w -e 's/\&lt;br \/\&gt;/\&lt;br \/\&gt;\&lt;br \/\&gt;/g;' poetry-listing<br />
&#36; perl -pi -w -e 's/txt/txt\"/g;' poetry-listing<br />
&#36; perl -pi -w -e 's/txt/txt\&gt;/g;' poetry-listing<br />
&#36; perl -pi -w -e 's/http/\&lt;a href=\"http/g;' poetry-listing<br />
&#36; perl -pi -w -e 's/^/http\:\/\/mj12net.org\/poetry\//g;' poetry-listing]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Perl Script Replaces White Spaces in File Names With Underscores]]></title>
			<link>http://mj12net.org/forums/showthread.php?tid=45</link>
			<pubDate>Wed, 13 May 2009 21:15:44 -0700</pubDate>
			<dc:creator>root</dc:creator>
			<guid isPermaLink="false">http://mj12net.org/forums/showthread.php?tid=45</guid>
			<description><![CDATA[The following replaces white spaces in file names with under scores:<br />
<br />
Administrator@helios ~<br />
&#36; more changename.pl<br />
#!/usr/bin/perl<br />
use strict;<br />
use warnings;<br />
opendir(FH, ".") or die "Could not open directory: &#36;!\n";<br />
my @files = readdir FH;<br />
closedir FH;<br />
<br />
foreach my &#36;old_name (@files) {<br />
   next if (&#36;old_name eq '..' or &#36;old_name eq '.');<br />
   my &#36;new_name = &#36;old_name;<br />
   &#36;new_name =~ s/\s/_/g;<br />
   # replacing whitespace with underscore<br />
   if (&#36;old_name ne &#36;new_name) {<br />
      rename(&#36;old_name, &#36;new_name) or die "Could not rename &#36;old_name to<br />
&#36;new_name: &#36;!";<br />
      print "Renamed '&#36;old_name' to '&#36;new_name'.\n"<br />
   }<br />
<br />
}]]></description>
			<content:encoded><![CDATA[The following replaces white spaces in file names with under scores:<br />
<br />
Administrator@helios ~<br />
&#36; more changename.pl<br />
#!/usr/bin/perl<br />
use strict;<br />
use warnings;<br />
opendir(FH, ".") or die "Could not open directory: &#36;!\n";<br />
my @files = readdir FH;<br />
closedir FH;<br />
<br />
foreach my &#36;old_name (@files) {<br />
   next if (&#36;old_name eq '..' or &#36;old_name eq '.');<br />
   my &#36;new_name = &#36;old_name;<br />
   &#36;new_name =~ s/\s/_/g;<br />
   # replacing whitespace with underscore<br />
   if (&#36;old_name ne &#36;new_name) {<br />
      rename(&#36;old_name, &#36;new_name) or die "Could not rename &#36;old_name to<br />
&#36;new_name: &#36;!";<br />
      print "Renamed '&#36;old_name' to '&#36;new_name'.\n"<br />
   }<br />
<br />
}]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[System Administrator Interview Cheat Sheet I]]></title>
			<link>http://mj12net.org/forums/showthread.php?tid=44</link>
			<pubDate>Sun, 03 May 2009 20:34:21 -0700</pubDate>
			<dc:creator>root</dc:creator>
			<guid isPermaLink="false">http://mj12net.org/forums/showthread.php?tid=44</guid>
			<description><![CDATA[<a href="http://www.mj12net.org/index.php/system-administrator-interview-cheat-sheet.html" target="_blank">System Administrator Interview Cheat Sheet I</a>]]></description>
			<content:encoded><![CDATA[<a href="http://www.mj12net.org/index.php/system-administrator-interview-cheat-sheet.html" target="_blank">System Administrator Interview Cheat Sheet I</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[System Administrator Interview Cheat Sheet Number II]]></title>
			<link>http://mj12net.org/forums/showthread.php?tid=43</link>
			<pubDate>Sun, 03 May 2009 20:33:03 -0700</pubDate>
			<dc:creator>root</dc:creator>
			<guid isPermaLink="false">http://mj12net.org/forums/showthread.php?tid=43</guid>
			<description><![CDATA[<a href="http://www.mj12net.org/index.php/system-administrator-interview-cheat-sheet-ii.html" target="_blank">System Administrator Interview Cheat Sheet II</a>]]></description>
			<content:encoded><![CDATA[<a href="http://www.mj12net.org/index.php/system-administrator-interview-cheat-sheet-ii.html" target="_blank">System Administrator Interview Cheat Sheet II</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Must Have for All Serious SysAdmins]]></title>
			<link>http://mj12net.org/forums/showthread.php?tid=42</link>
			<pubDate>Sun, 03 May 2009 20:31:07 -0700</pubDate>
			<dc:creator>root</dc:creator>
			<guid isPermaLink="false">http://mj12net.org/forums/showthread.php?tid=42</guid>
			<description><![CDATA[<a href="http://mj12net.org/courses/sysadmin/~tho01/psg/psg.html" target="_blank">SysAdmin Pocket Survival Guide</a>]]></description>
			<content:encoded><![CDATA[<a href="http://mj12net.org/courses/sysadmin/~tho01/psg/psg.html" target="_blank">SysAdmin Pocket Survival Guide</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[MJ12Net.org Script Repository]]></title>
			<link>http://mj12net.org/forums/showthread.php?tid=41</link>
			<pubDate>Sun, 03 May 2009 20:25:53 -0700</pubDate>
			<dc:creator>root</dc:creator>
			<guid isPermaLink="false">http://mj12net.org/forums/showthread.php?tid=41</guid>
			<description><![CDATA[<a href="http://www.mj12net.org/courses/linux-scripts/" target="_blank">Scripts here, get your scripts here!!!!</a>]]></description>
			<content:encoded><![CDATA[<a href="http://www.mj12net.org/courses/linux-scripts/" target="_blank">Scripts here, get your scripts here!!!!</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Perl find replace string in multiple files]]></title>
			<link>http://mj12net.org/forums/showthread.php?tid=39</link>
			<pubDate>Sun, 19 Apr 2009 23:52:39 -0700</pubDate>
			<dc:creator>root</dc:creator>
			<guid isPermaLink="false">http://mj12net.org/forums/showthread.php?tid=39</guid>
			<description><![CDATA[I needed to replace the string  "#!/bin/bash" in all *.sh files in the current working directory with the string "#!/usr/bin/bash" and I'm in a Cygwin BASH Shell if that makes a difference. The eventual solution I found was:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; perl -pi -w -e 's/#!&#92;/bin&#92;/bash/#!&#92;/usr&#92;/bin&#92;/bash/g;' *.sh</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; more arrays.sh<br />
#!/usr/bin/bash<br />
#Declare array with 4 elements<br />
ARRAY=( 'Debian Linux' 'Redhat Linux' Ubuntu Linux )<br />
# get number of elements in the array<br />
ELEMENTS=&#36;{#ARRAY[@&#93;}<br />
<br />
# echo each element in array<br />
# for loop<br />
for (( i=0;i&lt;&#36;ELEMENTS;i++)); do<br />
&nbsp;&nbsp;&nbsp;&nbsp;echo &#36;{ARRAY[&#36;{i}&#93;}<br />
done</code></div></div>
]]></description>
			<content:encoded><![CDATA[I needed to replace the string  "#!/bin/bash" in all *.sh files in the current working directory with the string "#!/usr/bin/bash" and I'm in a Cygwin BASH Shell if that makes a difference. The eventual solution I found was:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; perl -pi -w -e 's/#!&#92;/bin&#92;/bash/#!&#92;/usr&#92;/bin&#92;/bash/g;' *.sh</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; more arrays.sh<br />
#!/usr/bin/bash<br />
#Declare array with 4 elements<br />
ARRAY=( 'Debian Linux' 'Redhat Linux' Ubuntu Linux )<br />
# get number of elements in the array<br />
ELEMENTS=&#36;{#ARRAY[@]}<br />
<br />
# echo each element in array<br />
# for loop<br />
for (( i=0;i&lt;&#36;ELEMENTS;i++)); do<br />
&nbsp;&nbsp;&nbsp;&nbsp;echo &#36;{ARRAY[&#36;{i}]}<br />
done</code></div></div>
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[BASH Scripts]]></title>
			<link>http://mj12net.org/forums/showthread.php?tid=38</link>
			<pubDate>Sun, 19 Apr 2009 20:53:49 -0700</pubDate>
			<dc:creator>root</dc:creator>
			<guid isPermaLink="false">http://mj12net.org/forums/showthread.php?tid=38</guid>
			<description><![CDATA[Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more arguments.sh<br />
#!/bin/bash<br />
# use predefined variables to access passed arguments<br />
#echo arguments to the shell<br />
echo &#36;1 &#36;2 &#36;3 ' -&gt; echo &#36;1 &#36;2 &#36;3'<br />
<br />
# We can also store arguments from bash command line in special array<br />
args=("&#36;@")<br />
#echo arguments to the shell<br />
echo &#36;{args[0&#93;} &#36;{args[1&#93;} &#36;{args[2&#93;} ' -&gt; args=("&#36;@"); echo &#36;{args[0&#93;} &#36;{args[1<br />
&#93;} &#36;{args[2&#93;}'<br />
<br />
#use &#36;@ to print out all arguments at once<br />
echo &#36;@ ' -&gt; echo &#36;@'<br />
<br />
# use &#36;# variable to print out<br />
# number of arguments passed to the bash script<br />
echo Number of arguments passed: &#36;# ' -&gt; echo Number of arguments passed: &#36;#'</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./arguments.sh Bash Scripting Tutorial<br />
Bash Scripting Tutorial&nbsp;&nbsp;-&gt; echo &#36;1 &#36;2 &#36;3<br />
Bash Scripting Tutorial&nbsp;&nbsp;-&gt; args=("&#36;@"); echo &#36;{args[0&#93;} &#36;{args[1&#93;} &#36;{args[2&#93;}<br />
Bash Scripting Tutorial&nbsp;&nbsp;-&gt; echo &#36;@<br />
Number of arguments passed: 3&nbsp;&nbsp;-&gt; echo Number of arguments passed: &#36;#</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more read.sh<br />
#!/bin/bash<br />
<br />
echo -e "Hi, please type the word: &#92;c "<br />
read&nbsp;&nbsp;word<br />
echo "The word you entered is: &#36;word"<br />
echo -e "Can you please enter two words? "<br />
read word1 word2<br />
echo "Here is your input: &#92;"&#36;word1&#92;" &#92;"&#36;word2&#92;""<br />
echo -e "How do you feel about bash scripting? "<br />
# read command now stores a reply into the default build-in variable &#36;REPLY<br />
read<br />
echo "You said &#36;REPLY, I'm glad to hear that! "<br />
echo -e "What are your favorite colours ? "<br />
# -a makes read command to read into an array<br />
read -a colours<br />
echo "My favorite colours are also &#36;{colours[0&#93;}, &#36;{colours[1&#93;} and &#36;{colours[2&#93;<br />
}:-)"</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./read.sh<br />
Hi, please type the word: linuxconfig.sh<br />
The word you entered is: linuxconfig.sh<br />
Can you please enter two words?<br />
debian linux<br />
Here is your input: "debian" "linux"<br />
How do you feel about bash scripting?<br />
it's great<br />
You said it's great, I'm glad to hear that!<br />
What are your favorite colours ?<br />
blue and brown<br />
My favorite colours are also blue, and and brown:-)</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more bash-trap.sh<br />
#!/bin/bash<br />
# bash trap command<br />
trap bashtrap INT<br />
# bash clear screen command<br />
clear;<br />
# bash trap function is executed when CTRL-C is pressed:<br />
# bash prints message =&gt; Executing bash trap subrutine !<br />
bashtrap()<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;echo "CTRL+C Detected !...executing bash trap !"<br />
}<br />
# for loop from 1/10 to 10/10<br />
for a in `seq 1 10`; do<br />
&nbsp;&nbsp;&nbsp;&nbsp;echo "&#36;a/10 to Exit."<br />
&nbsp;&nbsp;&nbsp;&nbsp;sleep 1;<br />
done<br />
echo "Exit Bash Trap Example!!!"</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./bash-trap.sh<br />
./bash-trap.sh: line 5: clear: command not found<br />
1/10 to Exit.<br />
2/10 to Exit.<br />
3/10 to Exit.<br />
4/10 to Exit.<br />
5/10 to Exit.<br />
6/10 to Exit.<br />
7/10 to Exit.<br />
8/10 to Exit.<br />
9/10 to Exit.<br />
10/10 to Exit.<br />
Exit Bash Trap Example!!!</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more arrays.sh<br />
#!/bin/bash<br />
#Declare array with 4 elements<br />
ARRAY=( 'Debian Linux' 'Redhat Linux' Ubuntu Linux )<br />
# get number of elements in the array<br />
ELEMENTS=&#36;{#ARRAY[@&#93;}<br />
<br />
# echo each element in array<br />
# for loop<br />
for (( i=0;i&lt;&#36;ELEMENTS;i++)); do<br />
&nbsp;&nbsp;&nbsp;&nbsp;echo &#36;{ARRAY[&#36;{i}&#93;}<br />
done</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./arrays.sh<br />
Debian Linux<br />
Redhat Linux<br />
Ubuntu<br />
Linux</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more read-array.sh<br />
#!/bin/bash<br />
#Declare array<br />
declare -a ARRAY<br />
#Open file for reading to array<br />
exec 10&lt;bash.txt<br />
let count=0<br />
<br />
while read LINE &lt;&amp;10; do<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;ARRAY[&#36;count&#93;=&#36;LINE<br />
&nbsp;&nbsp;&nbsp;&nbsp;((count++))<br />
done<br />
<br />
echo Number of elements: &#36;{#ARRAY[@&#93;}<br />
# echo array's content<br />
echo &#36;{ARRAY[@&#93;}<br />
# close file<br />
exec 10&gt;&amp;-</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./read-array.sh<br />
Number of elements: 4<br />
Debian Linux Redhat Linux Ubuntu Linux</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more if-else.sh<br />
#!/bin/bash<br />
directory="./BashScripting"<br />
<br />
# bash check if directory exists<br />
if [ -d &#36;directory &#93;; then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "Directory exists"<br />
else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "Directory does not exists"<br />
fi</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./if-else.sh<br />
Directory does not exists<br />
<br />
Administrator@helios ~/bashdir<br />
&#36; mkdir BashScripting<br />
<br />
Administrator@helios ~/bashdir<br />
&#36; ./if-else.sh<br />
Directory exists</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more nested-if-else.sh<br />
#!/bin/bash<br />
<br />
# Declare variable choice and assign value 4<br />
choice=4<br />
# Print to stdout<br />
 echo "1. Bash"<br />
 echo "2. Scripting"<br />
 echo "3. Tutorial"<br />
 echo -n "Please choose a word [1,2 or 3&#93;? "<br />
# Loop while the variable choice is equal 4<br />
# bash while loop<br />
while [ &#36;choice -eq 4 &#93;; do<br />
<br />
# read user input<br />
read choice<br />
# bash nested if/else<br />
if [ &#36;choice -eq 1 &#93; ; then<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "You have chosen word: Bash"<br />
<br />
else<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if [ &#36;choice -eq 2 &#93; ; then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo "You have chosen word: Scripting"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if [ &#36;choice -eq 3 &#93; ; then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "You have chosen word: Tutorial"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs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p;&nbsp;&nbsp;&nbsp;&nbsp;fi<br />
fi<br />
done</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./nested-if-else.sh<br />
1. Bash<br />
2. Scripting<br />
3. Tutorial<br />
Please choose a word [1,2 or 3&#93;? 2<br />
You have chosen word: Scripting</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more statement.sh<br />
#!/bin/bash<br />
# declare integers<br />
NUM1=2<br />
NUM2=2<br />
if [ &#36;NUM1 -eq &#36;NUM2 &#93;; then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "Both Values are equal"<br />
else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "Values are NOT equal"<br />
fi</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./statement.sh<br />
Both Values are equal</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more statement2.sh<br />
#!/bin/bash<br />
# declare integers<br />
NUM1=2<br />
NUM2=1<br />
if [ &#36;NUM1 -eq &#36;NUM2 &#93;; then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "Both Values are equal"<br />
else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "Values are NOT equal"<br />
fi</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./statement2.sh<br />
Values are NOT equal</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more statement3.sh<br />
#!/bin/bash<br />
# declare integers<br />
NUM1=2<br />
NUM2=1<br />
if&nbsp;&nbsp; [ &#36;NUM1 -eq &#36;NUM2 &#93;; then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "Both Values are equal"<br />
elif [ &#36;NUM1 -gt &#36;NUM2 &#93;; then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "NUM1 is greater then NUM2"<br />
else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "NUM2 is greater then NUM1"<br />
fi</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
[code&#93;<br />
&#36; ./statement3.sh<br />
NUM1 is greater then NUM2</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more statement4.sh<br />
#!/bin/bash<br />
#Declare string S1<br />
S1="Bash"<br />
#Declare string S2<br />
S2="Scripting"<br />
if [ &#36;S1 = &#36;S2 &#93;; then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "Both Strings are equal"<br />
else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "Strings are NOT equal"<br />
fi</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./statement4.sh<br />
Strings are NOT equal</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more statement5.sh<br />
#!/bin/bash<br />
#Declare string S1<br />
S1="Bash"<br />
#Declare string S2<br />
S2="Bash"<br />
if [ &#36;S1 = &#36;S2 &#93;; then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "Both Strings are equal"<br />
else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "Strings are NOT equal"<br />
fi</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./statement5.sh<br />
Both Strings are equal</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more filetesting.sh<br />
#!/bin/bash<br />
file="./file"<br />
if [ -e &#36;file &#93;; then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "File exists"<br />
else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "File does not exists"<br />
fi</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; ./filetesting.sh<br />
File does not exists<br />
<br />
Administrator@helios ~/bashdir<br />
&#36; touch file</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more filetesting2.sh<br />
#!/bin/bash<br />
<br />
while [ ! -e myfile &#93;; do<br />
# Sleep until file does exists/is created<br />
sleep 1<br />
done</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./filetesting2.sh</code></div></div>
In another terminal window:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~<br />
&#36; cd bashdir/<br />
<br />
Administrator@helios ~/bashdir<br />
&#36; touch myfile</code></div></div>
In the original terminal windows:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36;</code></div></div>
The loop exits to the prompt because the file "myfile" exists.<br />
<br />
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more for1.sh<br />
#!/bin/bash<br />
<br />
# bash for loop<br />
for f in &#36;( ls /var/ ); do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo &#36;f<br />
done</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./for1.sh<br />
cache<br />
cron<br />
empty<br />
lib<br />
log<br />
run<br />
tmp</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more while_lopp.sh<br />
#!/bin/bash<br />
COUNT=6<br />
# bash while loop<br />
while [ &#36;COUNT -gt 0 &#93;; do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo Value of count is: &#36;COUNT<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;let COUNT=COUNT-1<br />
done</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./while_lopp.sh<br />
Value of count is: 6<br />
Value of count is: 5<br />
Value of count is: 4<br />
Value of count is: 3<br />
Value of count is: 2<br />
Value of count is: 1</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more until.sh<br />
#!/bin/bash<br />
COUNT=0<br />
# bash until loop<br />
until [ &#36;COUNT -gt 5 &#93;; do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo Value of count is: &#36;COUNT<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;let COUNT=COUNT+1<br />
done</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./until.sh<br />
Value of count is: 0<br />
Value of count is: 1<br />
Value of count is: 2<br />
Value of count is: 3<br />
Value of count is: 4<br />
Value of count is: 5</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more script.sh<br />
#!/bin/bash<br />
# This bash script will locate and replace spaces<br />
# in the filenames<br />
DIR="."<br />
# Controlling a loop with bash read command by redirecting STDOUT as<br />
# a STDIN to while loop<br />
# find will not truncate filenames containing spaces<br />
find &#36;DIR -type f | while read file; do<br />
# using POSIX class [:space:&#93; to find space in the filename<br />
if [[ "&#36;file" = *[[:space:&#93;&#93;* &#93;&#93;; then<br />
# substitute space with "_" character and consequently rename the file<br />
mv "&#36;file" `echo &#36;file | tr ' ' '_'`<br />
fi;<br />
# end of while loop<br />
done</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; touch "file with space"<br />
<br />
Administrator@helios ~/bashdir<br />
&#36; ls -ld "file with space"<br />
-rw-r--r-- 1 Administrator None 0 Apr 19 22:26 file with space<br />
<br />
Administrator@helios ~/bashdir<br />
&#36; ./script.sh<br />
<br />
Administrator@helios ~/bashdir<br />
&#36; ls -ld "file with space"<br />
ls: cannot access file with space: No such file or directory<br />
<br />
Administrator@helios ~/bashdir<br />
&#36; ls -l file*<br />
-rw-r--r-- 1 Administrator None&nbsp;&nbsp; 0 Apr 19 21:50 file<br />
-rw-r--r-- 1 Administrator None&nbsp;&nbsp; 0 Apr 19 22:26 file_with_space<br />
-rwxr-xr-x 1 Administrator None 107 Apr 19 21:48 filetesting.sh<br />
-rwxr-xr-x 1 Administrator None&nbsp;&nbsp;94 Apr 19 21:52 filetesting2.sh</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more functions.sh<br />
#!/usr/bin/bash<br />
# BASH FUNCTIONS CAN BE DECLARED IN ANY ORDER<br />
function function_B {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo Function B.<br />
}<br />
function function_A {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo &#36;1<br />
}<br />
function function_D {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo Function D.<br />
}<br />
function function_C {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo &#36;1<br />
}<br />
# FUNCTION CALLS<br />
# Pass parameter to function A<br />
function_A "Function A."<br />
function_B<br />
# Pass parameter to function C<br />
function_C "Function C."<br />
function_D</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./functions.sh<br />
Function A.<br />
Function B.<br />
Function C.<br />
Function D.</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more select.sh<br />
#!/bin/bash<br />
<br />
PS3='Choose one word: '<br />
<br />
# bash select<br />
select word in "linux" "bash" "scripting" "tutorial"<br />
do<br />
&nbsp;&nbsp;echo "The word you have selected is: &#36;word"<br />
# Break, otherwise endless loop<br />
&nbsp;&nbsp;break<br />
done<br />
<br />
exit 0</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./select.sh<br />
1) linux<br />
2) bash<br />
3) scripting<br />
4) tutorial<br />
Choose one word: 3<br />
The word you have selected is: scripting</code></div></div>
]]></description>
			<content:encoded><![CDATA[Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more arguments.sh<br />
#!/bin/bash<br />
# use predefined variables to access passed arguments<br />
#echo arguments to the shell<br />
echo &#36;1 &#36;2 &#36;3 ' -&gt; echo &#36;1 &#36;2 &#36;3'<br />
<br />
# We can also store arguments from bash command line in special array<br />
args=("&#36;@")<br />
#echo arguments to the shell<br />
echo &#36;{args[0]} &#36;{args[1]} &#36;{args[2]} ' -&gt; args=("&#36;@"); echo &#36;{args[0]} &#36;{args[1<br />
]} &#36;{args[2]}'<br />
<br />
#use &#36;@ to print out all arguments at once<br />
echo &#36;@ ' -&gt; echo &#36;@'<br />
<br />
# use &#36;# variable to print out<br />
# number of arguments passed to the bash script<br />
echo Number of arguments passed: &#36;# ' -&gt; echo Number of arguments passed: &#36;#'</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./arguments.sh Bash Scripting Tutorial<br />
Bash Scripting Tutorial&nbsp;&nbsp;-&gt; echo &#36;1 &#36;2 &#36;3<br />
Bash Scripting Tutorial&nbsp;&nbsp;-&gt; args=("&#36;@"); echo &#36;{args[0]} &#36;{args[1]} &#36;{args[2]}<br />
Bash Scripting Tutorial&nbsp;&nbsp;-&gt; echo &#36;@<br />
Number of arguments passed: 3&nbsp;&nbsp;-&gt; echo Number of arguments passed: &#36;#</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more read.sh<br />
#!/bin/bash<br />
<br />
echo -e "Hi, please type the word: &#92;c "<br />
read&nbsp;&nbsp;word<br />
echo "The word you entered is: &#36;word"<br />
echo -e "Can you please enter two words? "<br />
read word1 word2<br />
echo "Here is your input: &#92;"&#36;word1&#92;" &#92;"&#36;word2&#92;""<br />
echo -e "How do you feel about bash scripting? "<br />
# read command now stores a reply into the default build-in variable &#36;REPLY<br />
read<br />
echo "You said &#36;REPLY, I'm glad to hear that! "<br />
echo -e "What are your favorite colours ? "<br />
# -a makes read command to read into an array<br />
read -a colours<br />
echo "My favorite colours are also &#36;{colours[0]}, &#36;{colours[1]} and &#36;{colours[2]<br />
}:-)"</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./read.sh<br />
Hi, please type the word: linuxconfig.sh<br />
The word you entered is: linuxconfig.sh<br />
Can you please enter two words?<br />
debian linux<br />
Here is your input: "debian" "linux"<br />
How do you feel about bash scripting?<br />
it's great<br />
You said it's great, I'm glad to hear that!<br />
What are your favorite colours ?<br />
blue and brown<br />
My favorite colours are also blue, and and brown:-)</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more bash-trap.sh<br />
#!/bin/bash<br />
# bash trap command<br />
trap bashtrap INT<br />
# bash clear screen command<br />
clear;<br />
# bash trap function is executed when CTRL-C is pressed:<br />
# bash prints message =&gt; Executing bash trap subrutine !<br />
bashtrap()<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp;echo "CTRL+C Detected !...executing bash trap !"<br />
}<br />
# for loop from 1/10 to 10/10<br />
for a in `seq 1 10`; do<br />
&nbsp;&nbsp;&nbsp;&nbsp;echo "&#36;a/10 to Exit."<br />
&nbsp;&nbsp;&nbsp;&nbsp;sleep 1;<br />
done<br />
echo "Exit Bash Trap Example!!!"</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./bash-trap.sh<br />
./bash-trap.sh: line 5: clear: command not found<br />
1/10 to Exit.<br />
2/10 to Exit.<br />
3/10 to Exit.<br />
4/10 to Exit.<br />
5/10 to Exit.<br />
6/10 to Exit.<br />
7/10 to Exit.<br />
8/10 to Exit.<br />
9/10 to Exit.<br />
10/10 to Exit.<br />
Exit Bash Trap Example!!!</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more arrays.sh<br />
#!/bin/bash<br />
#Declare array with 4 elements<br />
ARRAY=( 'Debian Linux' 'Redhat Linux' Ubuntu Linux )<br />
# get number of elements in the array<br />
ELEMENTS=&#36;{#ARRAY[@]}<br />
<br />
# echo each element in array<br />
# for loop<br />
for (( i=0;i&lt;&#36;ELEMENTS;i++)); do<br />
&nbsp;&nbsp;&nbsp;&nbsp;echo &#36;{ARRAY[&#36;{i}]}<br />
done</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./arrays.sh<br />
Debian Linux<br />
Redhat Linux<br />
Ubuntu<br />
Linux</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more read-array.sh<br />
#!/bin/bash<br />
#Declare array<br />
declare -a ARRAY<br />
#Open file for reading to array<br />
exec 10&lt;bash.txt<br />
let count=0<br />
<br />
while read LINE &lt;&amp;10; do<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;ARRAY[&#36;count]=&#36;LINE<br />
&nbsp;&nbsp;&nbsp;&nbsp;((count++))<br />
done<br />
<br />
echo Number of elements: &#36;{#ARRAY[@]}<br />
# echo array's content<br />
echo &#36;{ARRAY[@]}<br />
# close file<br />
exec 10&gt;&amp;-</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./read-array.sh<br />
Number of elements: 4<br />
Debian Linux Redhat Linux Ubuntu Linux</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more if-else.sh<br />
#!/bin/bash<br />
directory="./BashScripting"<br />
<br />
# bash check if directory exists<br />
if [ -d &#36;directory ]; then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "Directory exists"<br />
else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "Directory does not exists"<br />
fi</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./if-else.sh<br />
Directory does not exists<br />
<br />
Administrator@helios ~/bashdir<br />
&#36; mkdir BashScripting<br />
<br />
Administrator@helios ~/bashdir<br />
&#36; ./if-else.sh<br />
Directory exists</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more nested-if-else.sh<br />
#!/bin/bash<br />
<br />
# Declare variable choice and assign value 4<br />
choice=4<br />
# Print to stdout<br />
 echo "1. Bash"<br />
 echo "2. Scripting"<br />
 echo "3. Tutorial"<br />
 echo -n "Please choose a word [1,2 or 3]? "<br />
# Loop while the variable choice is equal 4<br />
# bash while loop<br />
while [ &#36;choice -eq 4 ]; do<br />
<br />
# read user input<br />
read choice<br />
# bash nested if/else<br />
if [ &#36;choice -eq 1 ] ; then<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "You have chosen word: Bash"<br />
<br />
else<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if [ &#36;choice -eq 2 ] ; then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo "You have chosen word: Scripting"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if [ &#36;choice -eq 3 ] ; then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "You have chosen word: Tutorial"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "Please make a choice between 1-3 !"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "1. Bash"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "2. Scripting"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "3. Tutorial"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo -n "Please choose a word [1,2 or 3]? "<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;choice=4<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fi<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fi<br />
fi<br />
done</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./nested-if-else.sh<br />
1. Bash<br />
2. Scripting<br />
3. Tutorial<br />
Please choose a word [1,2 or 3]? 2<br />
You have chosen word: Scripting</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more statement.sh<br />
#!/bin/bash<br />
# declare integers<br />
NUM1=2<br />
NUM2=2<br />
if [ &#36;NUM1 -eq &#36;NUM2 ]; then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "Both Values are equal"<br />
else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "Values are NOT equal"<br />
fi</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./statement.sh<br />
Both Values are equal</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more statement2.sh<br />
#!/bin/bash<br />
# declare integers<br />
NUM1=2<br />
NUM2=1<br />
if [ &#36;NUM1 -eq &#36;NUM2 ]; then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "Both Values are equal"<br />
else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "Values are NOT equal"<br />
fi</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./statement2.sh<br />
Values are NOT equal</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more statement3.sh<br />
#!/bin/bash<br />
# declare integers<br />
NUM1=2<br />
NUM2=1<br />
if&nbsp;&nbsp; [ &#36;NUM1 -eq &#36;NUM2 ]; then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "Both Values are equal"<br />
elif [ &#36;NUM1 -gt &#36;NUM2 ]; then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "NUM1 is greater then NUM2"<br />
else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "NUM2 is greater then NUM1"<br />
fi</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
[code]<br />
&#36; ./statement3.sh<br />
NUM1 is greater then NUM2</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more statement4.sh<br />
#!/bin/bash<br />
#Declare string S1<br />
S1="Bash"<br />
#Declare string S2<br />
S2="Scripting"<br />
if [ &#36;S1 = &#36;S2 ]; then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "Both Strings are equal"<br />
else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "Strings are NOT equal"<br />
fi</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./statement4.sh<br />
Strings are NOT equal</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more statement5.sh<br />
#!/bin/bash<br />
#Declare string S1<br />
S1="Bash"<br />
#Declare string S2<br />
S2="Bash"<br />
if [ &#36;S1 = &#36;S2 ]; then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "Both Strings are equal"<br />
else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "Strings are NOT equal"<br />
fi</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./statement5.sh<br />
Both Strings are equal</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more filetesting.sh<br />
#!/bin/bash<br />
file="./file"<br />
if [ -e &#36;file ]; then<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "File exists"<br />
else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo "File does not exists"<br />
fi</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; ./filetesting.sh<br />
File does not exists<br />
<br />
Administrator@helios ~/bashdir<br />
&#36; touch file</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more filetesting2.sh<br />
#!/bin/bash<br />
<br />
while [ ! -e myfile ]; do<br />
# Sleep until file does exists/is created<br />
sleep 1<br />
done</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./filetesting2.sh</code></div></div>
In another terminal window:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~<br />
&#36; cd bashdir/<br />
<br />
Administrator@helios ~/bashdir<br />
&#36; touch myfile</code></div></div>
In the original terminal windows:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36;</code></div></div>
The loop exits to the prompt because the file "myfile" exists.<br />
<br />
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more for1.sh<br />
#!/bin/bash<br />
<br />
# bash for loop<br />
for f in &#36;( ls /var/ ); do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo &#36;f<br />
done</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./for1.sh<br />
cache<br />
cron<br />
empty<br />
lib<br />
log<br />
run<br />
tmp</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more while_lopp.sh<br />
#!/bin/bash<br />
COUNT=6<br />
# bash while loop<br />
while [ &#36;COUNT -gt 0 ]; do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo Value of count is: &#36;COUNT<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;let COUNT=COUNT-1<br />
done</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./while_lopp.sh<br />
Value of count is: 6<br />
Value of count is: 5<br />
Value of count is: 4<br />
Value of count is: 3<br />
Value of count is: 2<br />
Value of count is: 1</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more until.sh<br />
#!/bin/bash<br />
COUNT=0<br />
# bash until loop<br />
until [ &#36;COUNT -gt 5 ]; do<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo Value of count is: &#36;COUNT<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;let COUNT=COUNT+1<br />
done</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./until.sh<br />
Value of count is: 0<br />
Value of count is: 1<br />
Value of count is: 2<br />
Value of count is: 3<br />
Value of count is: 4<br />
Value of count is: 5</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more script.sh<br />
#!/bin/bash<br />
# This bash script will locate and replace spaces<br />
# in the filenames<br />
DIR="."<br />
# Controlling a loop with bash read command by redirecting STDOUT as<br />
# a STDIN to while loop<br />
# find will not truncate filenames containing spaces<br />
find &#36;DIR -type f | while read file; do<br />
# using POSIX class [:space:] to find space in the filename<br />
if [[ "&#36;file" = *[[:space:]]* ]]; then<br />
# substitute space with "_" character and consequently rename the file<br />
mv "&#36;file" `echo &#36;file | tr ' ' '_'`<br />
fi;<br />
# end of while loop<br />
done</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; touch "file with space"<br />
<br />
Administrator@helios ~/bashdir<br />
&#36; ls -ld "file with space"<br />
-rw-r--r-- 1 Administrator None 0 Apr 19 22:26 file with space<br />
<br />
Administrator@helios ~/bashdir<br />
&#36; ./script.sh<br />
<br />
Administrator@helios ~/bashdir<br />
&#36; ls -ld "file with space"<br />
ls: cannot access file with space: No such file or directory<br />
<br />
Administrator@helios ~/bashdir<br />
&#36; ls -l file*<br />
-rw-r--r-- 1 Administrator None&nbsp;&nbsp; 0 Apr 19 21:50 file<br />
-rw-r--r-- 1 Administrator None&nbsp;&nbsp; 0 Apr 19 22:26 file_with_space<br />
-rwxr-xr-x 1 Administrator None 107 Apr 19 21:48 filetesting.sh<br />
-rwxr-xr-x 1 Administrator None&nbsp;&nbsp;94 Apr 19 21:52 filetesting2.sh</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more functions.sh<br />
#!/usr/bin/bash<br />
# BASH FUNCTIONS CAN BE DECLARED IN ANY ORDER<br />
function function_B {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo Function B.<br />
}<br />
function function_A {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo &#36;1<br />
}<br />
function function_D {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo Function D.<br />
}<br />
function function_C {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echo &#36;1<br />
}<br />
# FUNCTION CALLS<br />
# Pass parameter to function A<br />
function_A "Function A."<br />
function_B<br />
# Pass parameter to function C<br />
function_C "Function C."<br />
function_D</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./functions.sh<br />
Function A.<br />
Function B.<br />
Function C.<br />
Function D.</code></div></div>
Administrator@helios ~/bashdir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more select.sh<br />
#!/bin/bash<br />
<br />
PS3='Choose one word: '<br />
<br />
# bash select<br />
select word in "linux" "bash" "scripting" "tutorial"<br />
do<br />
&nbsp;&nbsp;echo "The word you have selected is: &#36;word"<br />
# Break, otherwise endless loop<br />
&nbsp;&nbsp;break<br />
done<br />
<br />
exit 0</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/bashdir<br />
&#36; ./select.sh<br />
1) linux<br />
2) bash<br />
3) scripting<br />
4) tutorial<br />
Choose one word: 3<br />
The word you have selected is: scripting</code></div></div>
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Perl Scripts]]></title>
			<link>http://mj12net.org/forums/showthread.php?tid=37</link>
			<pubDate>Sun, 19 Apr 2009 20:16:24 -0700</pubDate>
			<dc:creator>root</dc:creator>
			<guid isPermaLink="false">http://mj12net.org/forums/showthread.php?tid=37</guid>
			<description><![CDATA[Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more array1.pl<br />
#!/usr/bin/perl<br />
@months = ("July", "August", "September");<br />
&nbsp;&nbsp;&nbsp;&nbsp;print &#36;months[0&#93;;&nbsp;&nbsp; # This prints "July".<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;months[2&#93; = "Smarch";&nbsp;&nbsp;# We just renamed September!</code></div></div>
Output:<br />
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; ./array1.pl<br />
July</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more array2.pl<br />
#!/usr/bin/perl<br />
@months = ("July", "August", "September");<br />
&nbsp;&nbsp;&nbsp;&nbsp;print &#36;#months;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # This prints 2.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;a1 = &#36;#autumn_months;&nbsp;&nbsp;# We don't have an @autumn_months, so this is -1.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;#months = 0;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Now @months only contains "July".</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./array2.pl<br />
2</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more c2f.pl<br />
#!/usr/bin/perl -w<br />
<br />
# c2f.pl<br />
<br />
# A Celsius-&gt;Fahrenheit Converter<br />
<br />
# Print the prompt<br />
<br />
print "Please enter a Celsius degree &gt; ";<br />
# Chop off the trailing newline character<br />
chomp(&#36;cel = &lt;STDIN&gt;);<br />
<br />
&#36;fah = (&#36;cel * 1.8) + 32;<br />
<br />
# print value using variable interpolation<br />
print "The Fahrenheit equivalent of &#36;cel degrees Celsius is &#36;fah&#92;n";</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./c2f.pl<br />
Please enter a Celsius degree &gt; 32<br />
The Fahrenheit equivalent of 32 degrees Celsius is 89.6</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more compound-interest.pl<br />
#!/usr/bin/perl<br />
<br />
# compound_interest.pl - the miracle of compound interest<br />
<br />
# First, we'll set up the variables we want to use.<br />
&#36;nest_egg = 10000;&nbsp;&nbsp; # &#36;nest_egg is our starting amount<br />
&#36;year = 2000;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# This is the starting year for our table.<br />
&#36;duration = 10;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# How many years are we saving up?<br />
&#36;apr = 9.5;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# This is our annual percentage rate.<br />
<br />
# Print the headers for our report.<br />
print "Year", "&#92;t", "Balance", "&#92;t", "Interest", "&#92;t", "New balance", "&#92;n"<br />
<br />
# Calculate interest for each year.<br />
for &#36;i (1 .. &#36;duration) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;print &#36;year, "&#92;t";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;year++;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;print &#36;nest_egg, "&#92;t";<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;# Try using this instead to see why this line looks so complex:<br />
&nbsp;&nbsp;&nbsp;&nbsp;# &#36;interest = (&#36;apr / 100) * &#36;nest_egg<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;interest = int ((&#36;apr / 100) * &#36;nest_egg * 100) / 100;<br />
&nbsp;&nbsp;&nbsp;&nbsp;print &#36;interest, "&#92;t";<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;nest_egg += &#36;interest;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;print &#36;nest_egg, "&#92;n";<br />
}<br />
<br />
print &#36;year, "&#92;t", &#36;nest_egg, "&#92;n";</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./compound-interest.pl<br />
Year&nbsp;&nbsp;&nbsp;&nbsp;Balance Interest&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;New balance<br />
2000&nbsp;&nbsp;&nbsp;&nbsp;10000&nbsp;&nbsp; 950&nbsp;&nbsp;&nbsp;&nbsp; 10950<br />
2001&nbsp;&nbsp;&nbsp;&nbsp;10950&nbsp;&nbsp; 1040.25 11990.25<br />
2002&nbsp;&nbsp;&nbsp;&nbsp;11990.25&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1139.07 13129.32<br />
2003&nbsp;&nbsp;&nbsp;&nbsp;13129.32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1247.28 14376.6<br />
2004&nbsp;&nbsp;&nbsp;&nbsp;14376.6 1365.77 15742.37<br />
2005&nbsp;&nbsp;&nbsp;&nbsp;15742.37&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1495.52 17237.89<br />
2006&nbsp;&nbsp;&nbsp;&nbsp;17237.89&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1637.59 18875.48<br />
2007&nbsp;&nbsp;&nbsp;&nbsp;18875.48&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1793.17 20668.65<br />
2008&nbsp;&nbsp;&nbsp;&nbsp;20668.65&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1963.52 22632.17<br />
2009&nbsp;&nbsp;&nbsp;&nbsp;22632.17&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2150.05 24782.22<br />
2010&nbsp;&nbsp;&nbsp;&nbsp;24782.22</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more differ.pl<br />
#!/usr/bin/perl<br />
print "This string&#92;nshows up on two lines.";<br />
&nbsp;&nbsp;&nbsp;&nbsp;print 'This string &#92;n shows up on only one.';</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./differ.pl<br />
This string<br />
shows up on two lines.This string &#92;n shows up on only one.</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more equals1.pl<br />
#!/usr/bin/perl<br />
&#36;a = 5;<br />
&nbsp;&nbsp;&nbsp;&nbsp;if (&#36;a == " 5 ") { print "Numeric equality!&#92;n"; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;if (&#36;a eq " 5 ") { print "String equality!&#92;n"; }</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./equals1.pl<br />
Numeric equality!</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more for1.pl<br />
#!/usr/bin/perl<br />
for &#36;i (1, 2, 3, 4, 5) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print "&#36;i&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp; }</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./for1.pl<br />
1<br />
2<br />
3<br />
4<br />
5</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more for2.pl<br />
#!/usr/bin/perl<br />
@one_to_ten = (1 .. 10);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;top_limit = 25;<br />
&nbsp;&nbsp;&nbsp;&nbsp;for &#36;i (@one_to_ten, 15, 20 .. &#36;top_limit) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "&#36;i&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;}</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./for2.pl<br />
1<br />
2<br />
3<br />
4<br />
5<br />
6<br />
7<br />
8<br />
9<br />
10<br />
15<br />
20<br />
21<br />
22<br />
23<br />
24<br />
25</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more hash1.pl<br />
#!/usr/bin/perl<br />
%days_in_month = ( "January" =&gt; 31, "February" =&gt; 29, "March" =&gt; 31, "April" =&gt;<br />
30, "May" =&gt; 31, "June" =&gt; 30, "July" =&gt; 31, "August" =&gt; 31, "September" =&gt; 30,<br />
"October" =&gt; 31, "November" =&gt; 30, "December" =&gt; 31 );<br />
#print &#36;days_in_month{"September"}; # 30, of course.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;days_in_month{"February"} = 29;&nbsp;&nbsp; # It's a leap year.<br />
for &#36;i (keys %days_in_month) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "&#36;i has &#36;days_in_month{&#36;i} days.&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;}</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./hash1.pl<br />
September has 30 days.<br />
May has 31 days.<br />
November has 30 days.<br />
October has 31 days.<br />
December has 31 days.<br />
February has 29 days.<br />
June has 30 days.<br />
July has 31 days.<br />
March has 31 days.<br />
January has 31 days.<br />
April has 30 days.<br />
August has 31 days.</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more helloworld.pl<br />
#!/usr/bin/perl -w<br />
print "Hello, world.&#92;n";</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./helloworld.pl<br />
Hello, world.</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more ifelse1.pl<br />
#!/usr/bin/perl<br />
if (&#36;a == 5) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "It's five!&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;} elsif (&#36;a == 6) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "It's six!&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;} else {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "It's something else.&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;unless (&#36;pie eq 'apple') {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "Ew, I don't like &#36;pie flavored pie.&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;} else {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "Apple!&nbsp;&nbsp;My favorite!&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;}</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./ifelse1.pl<br />
It's something else.<br />
Ew, I don't like&nbsp;&nbsp;flavored pie.</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more marx-hash.pl<br />
#!/usr/bin/perl<br />
for &#36;marx ('Groucho', 'Harpo', 'Zeppo', 'Karl') {<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "&#36;marx is my favorite Marx brother.&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;}</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; ./marx-hash.pl<br />
Groucho is my favorite Marx brother.<br />
Harpo is my favorite Marx brother.<br />
Zeppo is my favorite Marx brother.<br />
Karl is my favorite Marx brother.</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more statement1.pl<br />
#!/usr/bin/perl<br />
print "This is a single statement.";<br />
print "Look, ", "a ", "list!";</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more statement2.pl<br />
#!/usr/bin/perl<br />
print "This is "; print "two statements.&#92;n"; print "But this ",<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"is only one statement.&#92;n";</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./statement2.pl<br />
This is two statements.<br />
But this is only one statement.</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more substr1.pl<br />
#!/usr/bin/perl<br />
&#36;a = "Welcome to Perl!&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;print substr(&#36;a, 0, 7);&nbsp;&nbsp;&nbsp;&nbsp; # "Welcome"<br />
&nbsp;&nbsp;&nbsp;&nbsp;print substr(&#36;a, 7);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# " to Perl!&#92;n"</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./substr1.pl<br />
Welcome to Perl!</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more substr2.pl<br />
#!/usr/bin/perl<br />
&#36;a = "Welcome to Perl!&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp; print substr(&#36;a, -6, 4);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# "Perl"</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more substr3.pl<br />
#!/usr/bin/perl<br />
&#36;a = "Welcome to Java!&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;substr(&#36;a, 11, 4) = "Perl";&nbsp;&nbsp; # &#36;a is now "Welcome to Perl!&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;substr(&#36;a, 7, 3) = "";&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ... "Welcome Perl!&#92;n";<br />
Output:<br />
[code&#93;<br />
Administrator@helios ~/perldir<br />
&#36; ./substr3.pl</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more test.pl<br />
#!/usr/bin/perl -w<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp; # Tell perl to send a html header.<br />
&nbsp;&nbsp;&nbsp;&nbsp; # So your browser gets the output<br />
&nbsp;&nbsp;&nbsp;&nbsp; # rather then &lt;stdout&gt;(command line<br />
&nbsp;&nbsp;&nbsp;&nbsp; # on the server.)<br />
print "Content-type: text/html&#92;n&#92;n";<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp; # print your basic html tags.<br />
&nbsp;&nbsp;&nbsp;&nbsp; # and the content of them.<br />
print "&lt;html&gt;&lt;head&gt;&lt;title&gt;Hello World!! &lt;/title&gt;&lt;/head&gt;&#92;n";<br />
print "&lt;body&gt;&lt;h1&gt;Hello world&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;substr(&#36;a, 0, 0) = "Hello. "; #&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ... "Hello. Welcome Perl!&#92;n";</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./test.pl<br />
Content-type: text/html<br />
<br />
&lt;html&gt;&lt;head&gt;&lt;title&gt;Hello World!! &lt;/title&gt;&lt;/head&gt;<br />
&lt;body&gt;&lt;h1&gt;Hello world&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more things.pl<br />
#!/usr/bin/perl<br />
&#36;i = 5;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;pie_flavor = 'apple';<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;constitution1776 = "We the People, etc.";<br />
Output:<br />
[code&#93;<br />
Administrator@helios ~/perldir<br />
&#36; ./things.pl</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more things1.pl<br />
#!/usr/bin/perl<br />
&#36;apple_count = 5;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;count_report = "There are &#36;apple_count apples.";<br />
&nbsp;&nbsp;&nbsp;&nbsp;print "The report is: &#36;count_report&#92;n";</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./things1.pl<br />
The report is: There are 5 apples.</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more unless1.pl<br />
#!/usr/bin/perl<br />
if (&#36;year_according_to_computer == 1900) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "Y2K has doomed us all!&nbsp;&nbsp;Everyone to the compound.&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;unless (&#36;bank_account &gt; 0) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "I'm broke!&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;}</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./unless1.pl<br />
I'm broke!</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more whileuntil1.pl<br />
#!/usr/bin/perl<br />
&#36;a = 0;<br />
<br />
&nbsp;&nbsp; while (&#36;a != 3) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#36;a++;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print "Counting up to &#36;a...&#92;n";<br />
&nbsp;&nbsp; }<br />
<br />
&nbsp;&nbsp; until (&#36;a == 0) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#36;a--;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print "Counting down to &#36;a...&#92;n";<br />
&nbsp;&nbsp; }</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./whileuntil1.pl<br />
Counting up to 1...<br />
Counting up to 2...<br />
Counting up to 3...<br />
Counting down to 2...<br />
Counting down to 1...<br />
Counting down to 0...</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more yesno1.pl<br />
#!/usr/bin/perl<br />
&#36;yes_no = "no";<br />
&nbsp;&nbsp;&nbsp;&nbsp;if (&#36;yes_no == "yes") {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "You said yes!&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;}</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./yesno1.pl<br />
You said yes!</code></div></div>
]]></description>
			<content:encoded><![CDATA[Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more array1.pl<br />
#!/usr/bin/perl<br />
@months = ("July", "August", "September");<br />
&nbsp;&nbsp;&nbsp;&nbsp;print &#36;months[0];&nbsp;&nbsp; # This prints "July".<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;months[2] = "Smarch";&nbsp;&nbsp;# We just renamed September!</code></div></div>
Output:<br />
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; ./array1.pl<br />
July</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more array2.pl<br />
#!/usr/bin/perl<br />
@months = ("July", "August", "September");<br />
&nbsp;&nbsp;&nbsp;&nbsp;print &#36;#months;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # This prints 2.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;a1 = &#36;#autumn_months;&nbsp;&nbsp;# We don't have an @autumn_months, so this is -1.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;#months = 0;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Now @months only contains "July".</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./array2.pl<br />
2</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more c2f.pl<br />
#!/usr/bin/perl -w<br />
<br />
# c2f.pl<br />
<br />
# A Celsius-&gt;Fahrenheit Converter<br />
<br />
# Print the prompt<br />
<br />
print "Please enter a Celsius degree &gt; ";<br />
# Chop off the trailing newline character<br />
chomp(&#36;cel = &lt;STDIN&gt;);<br />
<br />
&#36;fah = (&#36;cel * 1.8) + 32;<br />
<br />
# print value using variable interpolation<br />
print "The Fahrenheit equivalent of &#36;cel degrees Celsius is &#36;fah&#92;n";</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./c2f.pl<br />
Please enter a Celsius degree &gt; 32<br />
The Fahrenheit equivalent of 32 degrees Celsius is 89.6</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more compound-interest.pl<br />
#!/usr/bin/perl<br />
<br />
# compound_interest.pl - the miracle of compound interest<br />
<br />
# First, we'll set up the variables we want to use.<br />
&#36;nest_egg = 10000;&nbsp;&nbsp; # &#36;nest_egg is our starting amount<br />
&#36;year = 2000;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# This is the starting year for our table.<br />
&#36;duration = 10;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# How many years are we saving up?<br />
&#36;apr = 9.5;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# This is our annual percentage rate.<br />
<br />
# Print the headers for our report.<br />
print "Year", "&#92;t", "Balance", "&#92;t", "Interest", "&#92;t", "New balance", "&#92;n"<br />
<br />
# Calculate interest for each year.<br />
for &#36;i (1 .. &#36;duration) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;print &#36;year, "&#92;t";<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;year++;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;print &#36;nest_egg, "&#92;t";<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;# Try using this instead to see why this line looks so complex:<br />
&nbsp;&nbsp;&nbsp;&nbsp;# &#36;interest = (&#36;apr / 100) * &#36;nest_egg<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;interest = int ((&#36;apr / 100) * &#36;nest_egg * 100) / 100;<br />
&nbsp;&nbsp;&nbsp;&nbsp;print &#36;interest, "&#92;t";<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;nest_egg += &#36;interest;<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;print &#36;nest_egg, "&#92;n";<br />
}<br />
<br />
print &#36;year, "&#92;t", &#36;nest_egg, "&#92;n";</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./compound-interest.pl<br />
Year&nbsp;&nbsp;&nbsp;&nbsp;Balance Interest&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;New balance<br />
2000&nbsp;&nbsp;&nbsp;&nbsp;10000&nbsp;&nbsp; 950&nbsp;&nbsp;&nbsp;&nbsp; 10950<br />
2001&nbsp;&nbsp;&nbsp;&nbsp;10950&nbsp;&nbsp; 1040.25 11990.25<br />
2002&nbsp;&nbsp;&nbsp;&nbsp;11990.25&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1139.07 13129.32<br />
2003&nbsp;&nbsp;&nbsp;&nbsp;13129.32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1247.28 14376.6<br />
2004&nbsp;&nbsp;&nbsp;&nbsp;14376.6 1365.77 15742.37<br />
2005&nbsp;&nbsp;&nbsp;&nbsp;15742.37&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1495.52 17237.89<br />
2006&nbsp;&nbsp;&nbsp;&nbsp;17237.89&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1637.59 18875.48<br />
2007&nbsp;&nbsp;&nbsp;&nbsp;18875.48&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1793.17 20668.65<br />
2008&nbsp;&nbsp;&nbsp;&nbsp;20668.65&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1963.52 22632.17<br />
2009&nbsp;&nbsp;&nbsp;&nbsp;22632.17&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2150.05 24782.22<br />
2010&nbsp;&nbsp;&nbsp;&nbsp;24782.22</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more differ.pl<br />
#!/usr/bin/perl<br />
print "This string&#92;nshows up on two lines.";<br />
&nbsp;&nbsp;&nbsp;&nbsp;print 'This string &#92;n shows up on only one.';</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./differ.pl<br />
This string<br />
shows up on two lines.This string &#92;n shows up on only one.</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more equals1.pl<br />
#!/usr/bin/perl<br />
&#36;a = 5;<br />
&nbsp;&nbsp;&nbsp;&nbsp;if (&#36;a == " 5 ") { print "Numeric equality!&#92;n"; }<br />
&nbsp;&nbsp;&nbsp;&nbsp;if (&#36;a eq " 5 ") { print "String equality!&#92;n"; }</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./equals1.pl<br />
Numeric equality!</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more for1.pl<br />
#!/usr/bin/perl<br />
for &#36;i (1, 2, 3, 4, 5) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print "&#36;i&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp; }</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./for1.pl<br />
1<br />
2<br />
3<br />
4<br />
5</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more for2.pl<br />
#!/usr/bin/perl<br />
@one_to_ten = (1 .. 10);<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;top_limit = 25;<br />
&nbsp;&nbsp;&nbsp;&nbsp;for &#36;i (@one_to_ten, 15, 20 .. &#36;top_limit) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "&#36;i&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;}</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./for2.pl<br />
1<br />
2<br />
3<br />
4<br />
5<br />
6<br />
7<br />
8<br />
9<br />
10<br />
15<br />
20<br />
21<br />
22<br />
23<br />
24<br />
25</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more hash1.pl<br />
#!/usr/bin/perl<br />
%days_in_month = ( "January" =&gt; 31, "February" =&gt; 29, "March" =&gt; 31, "April" =&gt;<br />
30, "May" =&gt; 31, "June" =&gt; 30, "July" =&gt; 31, "August" =&gt; 31, "September" =&gt; 30,<br />
"October" =&gt; 31, "November" =&gt; 30, "December" =&gt; 31 );<br />
#print &#36;days_in_month{"September"}; # 30, of course.<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;days_in_month{"February"} = 29;&nbsp;&nbsp; # It's a leap year.<br />
for &#36;i (keys %days_in_month) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "&#36;i has &#36;days_in_month{&#36;i} days.&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;}</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./hash1.pl<br />
September has 30 days.<br />
May has 31 days.<br />
November has 30 days.<br />
October has 31 days.<br />
December has 31 days.<br />
February has 29 days.<br />
June has 30 days.<br />
July has 31 days.<br />
March has 31 days.<br />
January has 31 days.<br />
April has 30 days.<br />
August has 31 days.</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more helloworld.pl<br />
#!/usr/bin/perl -w<br />
print "Hello, world.&#92;n";</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./helloworld.pl<br />
Hello, world.</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more ifelse1.pl<br />
#!/usr/bin/perl<br />
if (&#36;a == 5) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "It's five!&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;} elsif (&#36;a == 6) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "It's six!&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;} else {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "It's something else.&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;unless (&#36;pie eq 'apple') {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "Ew, I don't like &#36;pie flavored pie.&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;} else {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "Apple!&nbsp;&nbsp;My favorite!&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;}</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./ifelse1.pl<br />
It's something else.<br />
Ew, I don't like&nbsp;&nbsp;flavored pie.</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more marx-hash.pl<br />
#!/usr/bin/perl<br />
for &#36;marx ('Groucho', 'Harpo', 'Zeppo', 'Karl') {<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "&#36;marx is my favorite Marx brother.&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;}</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; ./marx-hash.pl<br />
Groucho is my favorite Marx brother.<br />
Harpo is my favorite Marx brother.<br />
Zeppo is my favorite Marx brother.<br />
Karl is my favorite Marx brother.</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more statement1.pl<br />
#!/usr/bin/perl<br />
print "This is a single statement.";<br />
print "Look, ", "a ", "list!";</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more statement2.pl<br />
#!/usr/bin/perl<br />
print "This is "; print "two statements.&#92;n"; print "But this ",<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"is only one statement.&#92;n";</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./statement2.pl<br />
This is two statements.<br />
But this is only one statement.</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more substr1.pl<br />
#!/usr/bin/perl<br />
&#36;a = "Welcome to Perl!&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;print substr(&#36;a, 0, 7);&nbsp;&nbsp;&nbsp;&nbsp; # "Welcome"<br />
&nbsp;&nbsp;&nbsp;&nbsp;print substr(&#36;a, 7);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# " to Perl!&#92;n"</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./substr1.pl<br />
Welcome to Perl!</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more substr2.pl<br />
#!/usr/bin/perl<br />
&#36;a = "Welcome to Perl!&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp; print substr(&#36;a, -6, 4);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;# "Perl"</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more substr3.pl<br />
#!/usr/bin/perl<br />
&#36;a = "Welcome to Java!&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;substr(&#36;a, 11, 4) = "Perl";&nbsp;&nbsp; # &#36;a is now "Welcome to Perl!&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;substr(&#36;a, 7, 3) = "";&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ... "Welcome Perl!&#92;n";<br />
Output:<br />
[code]<br />
Administrator@helios ~/perldir<br />
&#36; ./substr3.pl</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more test.pl<br />
#!/usr/bin/perl -w<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp; # Tell perl to send a html header.<br />
&nbsp;&nbsp;&nbsp;&nbsp; # So your browser gets the output<br />
&nbsp;&nbsp;&nbsp;&nbsp; # rather then &lt;stdout&gt;(command line<br />
&nbsp;&nbsp;&nbsp;&nbsp; # on the server.)<br />
print "Content-type: text/html&#92;n&#92;n";<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp; # print your basic html tags.<br />
&nbsp;&nbsp;&nbsp;&nbsp; # and the content of them.<br />
print "&lt;html&gt;&lt;head&gt;&lt;title&gt;Hello World!! &lt;/title&gt;&lt;/head&gt;&#92;n";<br />
print "&lt;body&gt;&lt;h1&gt;Hello world&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;substr(&#36;a, 0, 0) = "Hello. "; #&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ... "Hello. Welcome Perl!&#92;n";</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./test.pl<br />
Content-type: text/html<br />
<br />
&lt;html&gt;&lt;head&gt;&lt;title&gt;Hello World!! &lt;/title&gt;&lt;/head&gt;<br />
&lt;body&gt;&lt;h1&gt;Hello world&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more things.pl<br />
#!/usr/bin/perl<br />
&#36;i = 5;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;pie_flavor = 'apple';<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;constitution1776 = "We the People, etc.";<br />
Output:<br />
[code]<br />
Administrator@helios ~/perldir<br />
&#36; ./things.pl</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more things1.pl<br />
#!/usr/bin/perl<br />
&#36;apple_count = 5;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&#36;count_report = "There are &#36;apple_count apples.";<br />
&nbsp;&nbsp;&nbsp;&nbsp;print "The report is: &#36;count_report&#92;n";</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./things1.pl<br />
The report is: There are 5 apples.</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more unless1.pl<br />
#!/usr/bin/perl<br />
if (&#36;year_according_to_computer == 1900) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "Y2K has doomed us all!&nbsp;&nbsp;Everyone to the compound.&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;}<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;unless (&#36;bank_account &gt; 0) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "I'm broke!&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;}</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./unless1.pl<br />
I'm broke!</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more whileuntil1.pl<br />
#!/usr/bin/perl<br />
&#36;a = 0;<br />
<br />
&nbsp;&nbsp; while (&#36;a != 3) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#36;a++;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print "Counting up to &#36;a...&#92;n";<br />
&nbsp;&nbsp; }<br />
<br />
&nbsp;&nbsp; until (&#36;a == 0) {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#36;a--;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print "Counting down to &#36;a...&#92;n";<br />
&nbsp;&nbsp; }</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./whileuntil1.pl<br />
Counting up to 1...<br />
Counting up to 2...<br />
Counting up to 3...<br />
Counting down to 2...<br />
Counting down to 1...<br />
Counting down to 0...</code></div></div>
Administrator@helios ~/perldir<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>&#36; more yesno1.pl<br />
#!/usr/bin/perl<br />
&#36;yes_no = "no";<br />
&nbsp;&nbsp;&nbsp;&nbsp;if (&#36;yes_no == "yes") {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;print "You said yes!&#92;n";<br />
&nbsp;&nbsp;&nbsp;&nbsp;}</code></div></div>
Output:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>Administrator@helios ~/perldir<br />
&#36; ./yesno1.pl<br />
You said yes!</code></div></div>
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[System Administrator Interview Questions and Answers]]></title>
			<link>http://mj12net.org/forums/showthread.php?tid=36</link>
			<pubDate>Fri, 17 Apr 2009 15:25:32 -0700</pubDate>
			<dc:creator>root</dc:creator>
			<guid isPermaLink="false">http://mj12net.org/forums/showthread.php?tid=36</guid>
			<description><![CDATA[At one of my many interviews, these were the questions I was asked and the answers I gave for them. <br />
<br />
<span style="font-weight: bold;">NOTE:</span> These questions are for Solaris, some like netstat and top work on Linux but others may not.<br />
<br />
<span style="font-weight: bold;">System Administrator Commands</span><br />
<br />
<span style="font-weight: bold;">Questions</span><br />
<br />
1. <span style="font-weight: bold;">What are the different ways to check the load average on a system?</span><br />
<br />
vmstat, top, uptime, w, procinfo<br />
<br />
================================<br />
<br />
================================<br />
<br />
<br />
<br />
<span style="font-weight: bold;">Bonus - Describe the 3 values that top/uptime shows</span><br />
<br />
1-minute, 5-minute and 15-minute load averages<br />
<br />
================================<br />
<br />
================================<br />
<br />
<br />
<br />
2. <span style="font-weight: bold;">What are the different running states of a SOLARIS system?</span><br />
<br />
1,2, and 3<br />
<br />
================================<br />
<br />
================================<br />
<br />
<br />
<br />
3. <span style="font-weight: bold;">How do you check CPU and MEMORY resources on a server?</span><br />
<br />
Memory: dmesg |grep mem, prtdiag |grep Memory, prtconf -v |grep Mem<br />
<br />
CPU: /usr/sbin/psrinfo -v<br />
<br />
================================<br />
<br />
================================<br />
<br />
<br />
<br />
4. <span style="font-weight: bold;">How do you obtain system activity for a particular time frame (Say noon to 10PM)?</span><br />
<br />
a) Use the command 'sar'<br />
<br />
b) sar consists of three commands that are involved in automatic system activity data collection: sadc, sa1, and sa2.<br />
<br />
c) To make sure sadc is run at boot time, the /etc/init.d/perf file must contain a command line that writes a record to the daily data file.<br />
<br />
d) The command entry has the following format: /usr/bin/su sys -c "/usr/lib/sa/sadc /var/adm/sa/sa`date +%d`"<br />
<br />
e) This entry is already in the /etc/init.d/perf file, but it needs to be uncommented.<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>f) Put a line into the /var/spool/cron/crontabs/sys file, which calls the shell script, sa1. This script invokes sadc and writes to the daily data files, /var/adm/sa/sa&lt;dd&gt;. The sa1 script gets installed with the other sar packages and has the following syntax: /usr/lib/sa/sa1 [t n&#93;</code></div></div>
g) The syntax for the sar command is as follows: sar [-aAbcdgkmpqruvwy&#93; [-o <outputfile>&#93; [t n &#93;<br />
<br />
h) So in answer to the original question the command to obtain system activity from 12:00 PM to 10:00 PM is as follows: sar -s 12 -e 22 -i 3600 -A<br />
<br />
Example:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>[ root@enterprise &#93;&#36; sar -s 12 -e 22 -i 3600 -A<br />
<br />
SunOS enterprise 5.9 Generic_118558-14 sun4u&nbsp;&nbsp;&nbsp;&nbsp;03/22/2009<br />
<br />
12:00:00&nbsp;&nbsp;&nbsp;&nbsp;%usr&nbsp;&nbsp;&nbsp;&nbsp;%sys&nbsp;&nbsp;&nbsp;&nbsp;%wio&nbsp;&nbsp; %idle<br />
13:00:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;99<br />
14:00:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;99<br />
15:00:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp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:00&nbsp;&nbsp; 53/23834&nbsp;&nbsp;&nbsp;&nbsp;0 5163/102628&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;0/0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;0/0<br />
16:00:01&nbsp;&nbsp; 52/23834&nbsp;&nbsp;&nbsp;&nbsp;0 5163/102628&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;0/0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;0/0<br />
17:00:00&nbsp;&nbsp; 52/23834&nbsp;&nbsp;&nbsp;&nbsp;0 5163/102628&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;0/0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;0/0<br />
<br />
<br />
12:00:00&nbsp;&nbsp; msg/s&nbsp;&nbsp;sema/s<br />
13:00:00&nbsp;&nbsp;&nbsp;&nbsp;0.00&nbsp;&nbsp;&nbsp;&nbsp;0.00<br />
14:00:00&nbsp;&nbsp;&nbsp;&nbsp;0.00&nbsp;&nbsp;&nbsp;&nbsp;0.00<br />
15:00:00&nbsp;&nbsp;&nbsp;&nbsp;0.00&nbsp;&nbsp;&nbsp;&nbsp;0.00<br />
16:00:01&nbsp;&nbsp;&nbsp;&nbsp;0.00&nbsp;&nbsp;&nbsp;&nbsp;0.00<br />
17:00:00&nbsp;&nbsp;&nbsp;&nbsp;0.00&nbsp;&nbsp;&nbsp;&nbsp;0.00<br />
<br />
Average&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp;0.00<br />
<br />
12:00:00&nbsp;&nbsp;atch/s&nbsp;&nbsp;pgin/s ppgin/s&nbsp;&nbsp;pflt/s&nbsp;&nbsp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nbsp;&nbsp;0.00<br />
<br />
12:00:00&nbsp;&nbsp;pgout/s ppgout/s pgfree/s pgscan/s %ufs_ipf<br />
13:00:00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00<br />
14:00:00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00<br />
15:00:00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00<br />
16:00:01&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00<br />
17:00:00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00<br />
<br />
Average&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00<br />
<br />
12:00:00 freemem freeswap<br />
13:00:00&nbsp;&nbsp;175683&nbsp;&nbsp;3515623<br />
14:00:00&nbsp;&nbsp;175679&nbsp;&nbsp;3515644<br />
15:00:00&nbsp;&nbsp;175669&nbsp;&nbsp;3515603<br />
16:00:01&nbsp;&nbsp;175658&nbsp;&nbsp;3515523<br />
17:00:00&nbsp;&nbsp;175612&nbsp;&nbsp;3514639<br />
<br />
Average&nbsp;&nbsp; 175660&nbsp;&nbsp;3515406<br />
<br />
12:00:00 sml_mem&nbsp;&nbsp; alloc&nbsp;&nbsp;fail&nbsp;&nbsp;lg_mem&nbsp;&nbsp; alloc&nbsp;&nbsp;fail&nbsp;&nbsp;ovsz_alloc&nbsp;&nbsp;fail<br />
13:00:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;10764288&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
14:00:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;10764288&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
15:00:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;10764288&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
16:00:01&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;10764288&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
17:00:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;10764288&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
<br />
Average&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;10764288&nbsp;&nbsp;&nbsp;&nbsp; 0</code></div></div>
<br />
<br />
================================<br />
<br />
================================<br />
<br />
<br />
<br />
5. <span style="font-weight: bold;">What does an init 5 do?</span><br />
<br />
Shutdown the system, it will sync the file system first.<br />
<br />
================================<br />
<br />
================================<br />
<br />
<br />
<br />
6. <span style="font-weight: bold;">How do you reset the root password on a server? No one has the password or has forgotten it. SUDO is not configured on the server as well.</span><br />
<br />
a. Insert Solaris CD in cd drive and from ok prompt run command: boot cdrom -s<br />
<br />
b. This will take you single user mode<br />
<br />
c. # fsck /dev/rdsk/c0t0d0s0.<br />
<br />
d. Answer y to clear all.<br />
<br />
e. mount /dev/dsk/c0t0d0s0 /a<br />
<br />
f. cd /a/etc<br />
<br />
g. TERM=sun<br />
<br />
h. export TERM<br />
<br />
i. vi /a/etc/shadow<br />
<br />
Remove password between the first two colons i.e..,<br />
root:<span style="color: #708090;">WYlPW5T2EyiU6:13750</span>:::::: from password field of root and save file with<br />
wq!<br />
<br />
j. cd /<br />
<br />
k. umount /a<br />
<br />
l. init 6<br />
<br />
You will be prompted for the root password.<br />
<br />
================================<br />
<br />
================================<br />
<br />
<br />
<br />
7. <span style="font-weight: bold;">How do you check disk usage. How do you trouble shoot a high disk usage issue (Available disk space is at 2% and could crash the application)</span><br />
<br />
First see which partition is full<br />
<br />
df -hk<br />
<br />
To find out which files/folders are taking up the most space<br />
<br />
/du -dk / | sort -n<br />
<br />
To delete files older than x number of days in the current working directory and<br />
below, the safe way is<br />
<br />
With -mtime<br />
<br />
find . ! -mtime -<days> | /usr/bin/xargs rm -rf<br />
<br />
With -exec and -newer<br />
<br />
create file with appropriate time stamp, this one would be for midnight last<br />
night<br />
<br />
touch -t 200903200000 /tmp/timeref<br />
<br />
to test first<br />
<br />
find . ! -newer /tmp/timeref -exec ls -l {} \; | more<br />
<br />
to delete<br />
<br />
find . ! -newer /tmp/timeref -exec rm {} \;<br />
<br />
================================<br />
<br />
================================<br />
<br />
<br />
<br />
8. <span style="font-weight: bold;">How do you check the ports in use on a server?</span><br />
<br />
netstat -an<br />
<br />
Example:<br />
<br />
Administrator@helios ~<br />
&#36; netstat -an |grep :80 |wc -l<br />
6<br />
<br />
This shows I have 6 connections on port 80 to my Apache Webserver. <br />
<br />
================================<br />
<br />
================================<br />
<br />
<br />
<br />
9. <span style="font-weight: bold;">What is NDD?</span><br />
<br />
Make the changes to the running system's network interfaces.<br />
<br />
# ndd -set /dev/hme adv_100hdx_cap 0<br />
<br />
# ndd -set /dev/hme adv_100fdx_cap 1<br />
<br />
# ndd -set /dev/hme adv_autoneg_cap 0<br />
<br />
# ndd -get /dev/hme link_mode<br />
<br />
Interpretation:<br />
<br />
0 -- half-duplex<br />
<br />
1 -- full-duplex<br />
<br />
# ndd -get /dev/hme link_speed<br />
<br />
Interpretation:<br />
<br />
0 -- 10 Mbit<br />
<br />
1 -- 100 Mbit<br />
<br />
1000 -- 1 Gbit<br />
<br />
================================<br />
<br />
================================<br />
<br />
<br />
<br />
10. <span style="font-weight: bold;">What is garbage collection in Java?</span><br />
<br />
When an object is no longer referenced by the program, the heap space it occupies must be recycled so that the space is available for subsequent new objects. The garbage collector must somehow determine which objects are no longer referenced by the program and make available the heap space occupied by such unreferenced objects. In the process of freeing unreferenced objects, the garbage collector must run any finalizers of objects being freed.<br />
<br />
================================<br />
<br />
================================]]></description>
			<content:encoded><![CDATA[At one of my many interviews, these were the questions I was asked and the answers I gave for them. <br />
<br />
<span style="font-weight: bold;">NOTE:</span> These questions are for Solaris, some like netstat and top work on Linux but others may not.<br />
<br />
<span style="font-weight: bold;">System Administrator Commands</span><br />
<br />
<span style="font-weight: bold;">Questions</span><br />
<br />
1. <span style="font-weight: bold;">What are the different ways to check the load average on a system?</span><br />
<br />
vmstat, top, uptime, w, procinfo<br />
<br />
================================<br />
<br />
================================<br />
<br />
<br />
<br />
<span style="font-weight: bold;">Bonus - Describe the 3 values that top/uptime shows</span><br />
<br />
1-minute, 5-minute and 15-minute load averages<br />
<br />
================================<br />
<br />
================================<br />
<br />
<br />
<br />
2. <span style="font-weight: bold;">What are the different running states of a SOLARIS system?</span><br />
<br />
1,2, and 3<br />
<br />
================================<br />
<br />
================================<br />
<br />
<br />
<br />
3. <span style="font-weight: bold;">How do you check CPU and MEMORY resources on a server?</span><br />
<br />
Memory: dmesg |grep mem, prtdiag |grep Memory, prtconf -v |grep Mem<br />
<br />
CPU: /usr/sbin/psrinfo -v<br />
<br />
================================<br />
<br />
================================<br />
<br />
<br />
<br />
4. <span style="font-weight: bold;">How do you obtain system activity for a particular time frame (Say noon to 10PM)?</span><br />
<br />
a) Use the command 'sar'<br />
<br />
b) sar consists of three commands that are involved in automatic system activity data collection: sadc, sa1, and sa2.<br />
<br />
c) To make sure sadc is run at boot time, the /etc/init.d/perf file must contain a command line that writes a record to the daily data file.<br />
<br />
d) The command entry has the following format: /usr/bin/su sys -c "/usr/lib/sa/sadc /var/adm/sa/sa`date +%d`"<br />
<br />
e) This entry is already in the /etc/init.d/perf file, but it needs to be uncommented.<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>f) Put a line into the /var/spool/cron/crontabs/sys file, which calls the shell script, sa1. This script invokes sadc and writes to the daily data files, /var/adm/sa/sa&lt;dd&gt;. The sa1 script gets installed with the other sar packages and has the following syntax: /usr/lib/sa/sa1 [t n]</code></div></div>
g) The syntax for the sar command is as follows: sar [-aAbcdgkmpqruvwy] [-o <outputfile>] [t n ]<br />
<br />
h) So in answer to the original question the command to obtain system activity from 12:00 PM to 10:00 PM is as follows: sar -s 12 -e 22 -i 3600 -A<br />
<br />
Example:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>[ root@enterprise ]&#36; sar -s 12 -e 22 -i 3600 -A<br />
<br />
SunOS enterprise 5.9 Generic_118558-14 sun4u&nbsp;&nbsp;&nbsp;&nbsp;03/22/2009<br />
<br />
12:00:00&nbsp;&nbsp;&nbsp;&nbsp;%usr&nbsp;&nbsp;&nbsp;&nbsp;%sys&nbsp;&nbsp;&nbsp;&nbsp;%wio&nbsp;&nbsp; %idle<br />
13:00:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&n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nbsp;ov&nbsp;&nbsp; lock-sz<br />
13:00:00&nbsp;&nbsp; 52/23834&nbsp;&nbsp;&nbsp;&nbsp;0 5163/102628&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;0/0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;0/0<br />
14:00:00&nbsp;&nbsp; 52/23834&nbsp;&nbsp;&nbsp;&nbsp;0 5163/102628&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;0/0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;0/0<br />
15:00:00&nbsp;&nbsp; 53/23834&nbsp;&nbsp;&nbsp;&nbsp;0 5163/102628&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;0/0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;0/0<br />
16:00:01&nbsp;&nbsp; 52/23834&nbsp;&nbsp;&nbsp;&nbsp;0 5163/102628&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;0/0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;0/0<br />
17:00:00&nbsp;&nbsp; 52/23834&nbsp;&nbsp;&nbsp;&nbsp;0 5163/102628&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;0/0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;0/0<br />
<br />
<br />
12:00:00&nbsp;&nbsp; msg/s&nbsp;&nbsp;sema/s<br />
13:00:00&nbsp;&nbsp;&nbsp;&nbsp;0.00&nbsp;&nbsp;&nbsp;&nbsp;0.00<br />
14:00:00&nbsp;&nbsp;&nbsp;&nbsp;0.00&nbsp;&nbsp;&nbsp;&nbsp;0.00<br />
15:00:00&nbsp;&nbsp;&nbsp;&nbsp;0.00&nbsp;&nbsp;&nbsp;&nbsp;0.00<br />
16:00:01&nbsp;&nbsp;&nbsp;&nbsp;0.00&nbsp;&nbsp;&nbsp;&nbsp;0.00<br />
17:00:00&nbsp;&nbsp;&nbsp;&nbsp;0.00&nbsp;&nbsp;&nbsp;&nbsp;0.00<br />
<br />
Average&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp;0.00<br />
<br />
12:00:00&nbsp;&nbsp;atch/s&nbsp;&nbsp;pgin/s ppgin/s&nbsp;&nbsp;pflt/s&nbsp;&nbsp;vflt/s slock/s<br />
13:00:00&nbsp;&nbsp;&nbsp;&nbsp;1.64&nbsp;&nbsp;&nbsp;&nbsp;0.00&nbsp;&nbsp;&nbsp;&nbsp;0.00&nbsp;&nbsp;&nbsp;&nbsp;2.26&nbsp;&nbsp;&nbsp;&nbsp;6.49&nbsp;&nbsp;&nbsp;&nbsp;0.00<br />
14:00:00&nbsp;&nbsp;&nbsp;&nbsp;1.64&nbsp;&nbsp;&nbsp;&nbsp;0.00&nbsp;&nbsp;&nbsp;&nbsp;0.00&nbsp;&nbsp;&nbsp;&nbsp;2.27&nbsp;&nbsp;&nbsp;&nbsp;6.52&nbsp;&nbsp;&nbsp;&nbsp;0.00<br />
15:00:00&nbsp;&nbsp;&nbsp;&nbsp;1.64&nbsp;&nbsp;&nbsp;&nbsp;0.00&nbsp;&nbsp;&nbsp;&nbsp;0.00&nbsp;&nbsp;&nbsp;&nbsp;2.25&nbsp;&nbsp;&nbsp;&nbsp;6.47&nbsp;&nbsp;&nbsp;&nbsp;0.00<br />
16:00:01&nbsp;&nbsp;&nbsp;&nbsp;1.64&nbsp;&nbsp;&nbsp;&nbsp;0.00&nbsp;&nbsp;&nbsp;&nbsp;0.00&nbsp;&nbsp;&nbsp;&nbsp;2.26&nbsp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nbsp;&nbsp;&nbsp; 0.00<br />
17:00:00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00<br />
<br />
Average&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00&nbsp;&nbsp;&nbsp;&nbsp; 0.00<br />
<br />
12:00:00 freemem freeswap<br />
13:00:00&nbsp;&nbsp;175683&nbsp;&nbsp;3515623<br />
14:00:00&nbsp;&nbsp;175679&nbsp;&nbsp;3515644<br />
15:00:00&nbsp;&nbsp;175669&nbsp;&nbsp;3515603<br />
16:00:01&nbsp;&nbsp;175658&nbsp;&nbsp;3515523<br />
17:00:00&nbsp;&nbsp;175612&nbsp;&nbsp;3514639<br />
<br />
Average&nbsp;&nbsp; 175660&nbsp;&nbsp;3515406<br />
<br />
12:00:00 sml_mem&nbsp;&nbsp; alloc&nbsp;&nbsp;fail&nbsp;&nbsp;lg_mem&nbsp;&nbsp; alloc&nbsp;&nbsp;fail&nbsp;&nbsp;ovsz_alloc&nbsp;&nbsp;fail<br />
13:00:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;10764288&nbsp;&nbsp;&nbsp;&nbsp; 0<br />
14:00:00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&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Average&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp;&nbsp;&nbsp;&nbsp;10764288&nbsp;&nbsp;&nbsp;&nbsp; 0</code></div></div>
<br />
<br />
================================<br />
<br />
================================<br />
<br />
<br />
<br />
5. <span style="font-weight: bold;">What does an init 5 do?</span><br />
<br />
Shutdown the system, it will sync the file system first.<br />
<br />
================================<br />
<br />
================================<br />
<br />
<br />
<br />
6. <span style="font-weight: bold;">How do you reset the root password on a server? No one has the password or has forgotten it. SUDO is not configured on the server as well.</span><br />
<br />
a. Insert Solaris CD in cd drive and from ok prompt run command: boot cdrom -s<br />
<br />
b. This will take you single user mode<br />
<br />
c. # fsck /dev/rdsk/c0t0d0s0.<br />
<br />
d. Answer y to clear all.<br />
<br />
e. mount /dev/dsk/c0t0d0s0 /a<br />
<br />
f. cd /a/etc<br />
<br />
g. TERM=sun<br />
<br />
h. export TERM<br />
<br />
i. vi /a/etc/shadow<br />
<br />
Remove password between the first two colons i.e..,<br />
root:<span style="color: #708090;">WYlPW5T2EyiU6:13750</span>:::::: from password field of root and save file with<br />
wq!<br />
<br />
j. cd /<br />
<br />
k. umount /a<br />
<br />
l. init 6<br />
<br />
You will be prompted for the root password.<br />
<br />
================================<br />
<br />
================================<br />
<br />
<br />
<br />
7. <span style="font-weight: bold;">How do you check disk usage. How do you trouble shoot a high disk usage issue (Available disk space is at 2% and could crash the application)</span><br />
<br />
First see which partition is full<br />
<br />
df -hk<br />
<br />
To find out which files/folders are taking up the most space<br />
<br />
/du -dk / | sort -n<br />
<br />
To delete files older than x number of days in the current working directory and<br />
below, the safe way is<br />
<br />
With -mtime<br />
<br />
find . ! -mtime -<days> | /usr/bin/xargs rm -rf<br />
<br />
With -exec and -newer<br />
<br />
create file with appropriate time stamp, this one would be for midnight last<br />
night<br />
<br />
touch -t 200903200000 /tmp/timeref<br />
<br />
to test first<br />
<br />
find . ! -newer /tmp/timeref -exec ls -l {} \; | more<br />
<br />
to delete<br />
<br />
find . ! -newer /tmp/timeref -exec rm {} \;<br />
<br />
================================<br />
<br />
================================<br />
<br />
<br />
<br />
8. <span style="font-weight: bold;">How do you check the ports in use on a server?</span><br />
<br />
netstat -an<br />
<br />
Example:<br />
<br />
Administrator@helios ~<br />
&#36; netstat -an |grep :80 |wc -l<br />
6<br />
<br />
This shows I have 6 connections on port 80 to my Apache Webserver. <br />
<br />
================================<br />
<br />
================================<br />
<br />
<br />
<br />
9. <span style="font-weight: bold;">What is NDD?</span><br />
<br />
Make the changes to the running system's network interfaces.<br />
<br />
# ndd -set /dev/hme adv_100hdx_cap 0<br />
<br />
# ndd -set /dev/hme adv_100fdx_cap 1<br />
<br />
# ndd -set /dev/hme adv_autoneg_cap 0<br />
<br />
# ndd -get /dev/hme link_mode<br />
<br />
Interpretation:<br />
<br />
0 -- half-duplex<br />
<br />
1 -- full-duplex<br />
<br />
# ndd -get /dev/hme link_speed<br />
<br />
Interpretation:<br />
<br />
0 -- 10 Mbit<br />
<br />
1 -- 100 Mbit<br />
<br />
1000 -- 1 Gbit<br />
<br />
================================<br />
<br />
================================<br />
<br />
<br />
<br />
10. <span style="font-weight: bold;">What is garbage collection in Java?</span><br />
<br />
When an object is no longer referenced by the program, the heap space it occupies must be recycled so that the space is available for subsequent new objects. The garbage collector must somehow determine which objects are no longer referenced by the program and make available the heap space occupied by such unreferenced objects. In the process of freeing unreferenced objects, the garbage collector must run any finalizers of objects being freed.<br />
<br />
================================<br />
<br />
================================]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[System Administrator Interview Cheat Sheet]]></title>
			<link>http://mj12net.org/forums/showthread.php?tid=35</link>
			<pubDate>Fri, 17 Apr 2009 14:29:17 -0700</pubDate>
			<dc:creator>admin</dc:creator>
			<guid isPermaLink="false">http://mj12net.org/forums/showthread.php?tid=35</guid>
			<description><![CDATA[Use this cheat sheet with quick jump links when you are on the phone with a digit head who's trying his darnedest to disqualify you based on your lack of ability to answer his questions. I am adding more stuff to it every day. If you have been asked questions that you didn't know how to answer, then post them here. I'll look up the answer and include it in my cheat sheet. I would have included the cheat sheet right in the forum but I can't get MyBB to accept a page full of HTML code, even though I enabled HTML for this forum.<br />
<br />
<span style="text-decoration: underline;"><span style="font-weight: bold;"><a href="http://mj12net.org/index.php/system-administrator-interview-cheat-sheet.html" target="_blank">System Administrator Interview Cheat Sheet</a></span></span>]]></description>
			<content:encoded><![CDATA[Use this cheat sheet with quick jump links when you are on the phone with a digit head who's trying his darnedest to disqualify you based on your lack of ability to answer his questions. I am adding more stuff to it every day. If you have been asked questions that you didn't know how to answer, then post them here. I'll look up the answer and include it in my cheat sheet. I would have included the cheat sheet right in the forum but I can't get MyBB to accept a page full of HTML code, even though I enabled HTML for this forum.<br />
<br />
<span style="text-decoration: underline;"><span style="font-weight: bold;"><a href="http://mj12net.org/index.php/system-administrator-interview-cheat-sheet.html" target="_blank">System Administrator Interview Cheat Sheet</a></span></span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Interviews Are Nerve Racking]]></title>
			<link>http://mj12net.org/forums/showthread.php?tid=34</link>
			<pubDate>Fri, 17 Apr 2009 14:11:57 -0700</pubDate>
			<dc:creator>admin</dc:creator>
			<guid isPermaLink="false">http://mj12net.org/forums/showthread.php?tid=34</guid>
			<description><![CDATA[The hardest and most nerve racking thing a System Administrator has to do is go through the technical screen and the job interview. The breadth and the depth of knowledge you are expected to know as a System Administrator is huge. I've been in this business for more than ten years and I still feel like I'm barely scratching the surface when it comes to the current technology that's out there. <br />
<br />
Many times the questions you're asked are about commands or procedures you haven't used in a while and you can't remember them. To say "I don't know off hand but I have used the command and I know where to look" just sounds to the typical interviewer like you are full of BS and you must be an amateur masquerading as an expert. I'm not lying, I have been on many interviews and in this economy employers are being much more specific about what they're looking for and they're being much more cautious about who they hire. <br />
<br />
They have told me stories about people who lied their way in and then didn't last a day on the job. Well I'm sorry to hear about them blowing it and making a rushed decision, but where along those lines did I play any part? I AM a valuable professional that works hard and is honest to a fault. I AM intelligent and can adapt well to a new employer's work environment. But they don't know me from Adam and as far as they're concerned they have very little time to weed out the losers and unless I can quote verbatim specific commands like a parrot, then they very quickly usher me out the door. <br />
<br />
It was for this reason I created this forum. I am going to post a job interview cheat sheet here that you can use when you are doing the technical phone screen. It has jump links in it that take you to portions of the document relating to the question you're being asked. Every time I go to a new job interview I write down very quickly the questions I was asked and that I had trouble with. Then I come home and look those things up and document them. If any of you have your own experiences and want to share what you've learned to help us out in getting through the technical screen and the interview I would appreciate it. Thanks<br />
<br />
Admin,<br />
Brian]]></description>
			<content:encoded><![CDATA[The hardest and most nerve racking thing a System Administrator has to do is go through the technical screen and the job interview. The breadth and the depth of knowledge you are expected to know as a System Administrator is huge. I've been in this business for more than ten years and I still feel like I'm barely scratching the surface when it comes to the current technology that's out there. <br />
<br />
Many times the questions you're asked are about commands or procedures you haven't used in a while and you can't remember them. To say "I don't know off hand but I have used the command and I know where to look" just sounds to the typical interviewer like you are full of BS and you must be an amateur masquerading as an expert. I'm not lying, I have been on many interviews and in this economy employers are being much more specific about what they're looking for and they're being much more cautious about who they hire. <br />
<br />
They have told me stories about people who lied their way in and then didn't last a day on the job. Well I'm sorry to hear about them blowing it and making a rushed decision, but where along those lines did I play any part? I AM a valuable professional that works hard and is honest to a fault. I AM intelligent and can adapt well to a new employer's work environment. But they don't know me from Adam and as far as they're concerned they have very little time to weed out the losers and unless I can quote verbatim specific commands like a parrot, then they very quickly usher me out the door. <br />
<br />
It was for this reason I created this forum. I am going to post a job interview cheat sheet here that you can use when you are doing the technical phone screen. It has jump links in it that take you to portions of the document relating to the question you're being asked. Every time I go to a new job interview I write down very quickly the questions I was asked and that I had trouble with. Then I come home and look those things up and document them. If any of you have your own experiences and want to share what you've learned to help us out in getting through the technical screen and the interview I would appreciate it. Thanks<br />
<br />
Admin,<br />
Brian]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[BGP Tutorial]]></title>
			<link>http://mj12net.org/forums/showthread.php?tid=33</link>
			<pubDate>Thu, 16 Apr 2009 14:08:16 -0700</pubDate>
			<dc:creator>root</dc:creator>
			<guid isPermaLink="false">http://mj12net.org/forums/showthread.php?tid=33</guid>
			<description><![CDATA[<a href="http://mj12net.org/index.php/bgp-tutorial.html" target="_blank">http://mj12net.org/index.php/bgp-tutorial.html</a>]]></description>
			<content:encoded><![CDATA[<a href="http://mj12net.org/index.php/bgp-tutorial.html" target="_blank">http://mj12net.org/index.php/bgp-tutorial.html</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[BASH Rotate Log Files]]></title>
			<link>http://mj12net.org/forums/showthread.php?tid=32</link>
			<pubDate>Thu, 16 Apr 2009 13:04:13 -0700</pubDate>
			<dc:creator>admin</dc:creator>
			<guid isPermaLink="false">http://mj12net.org/forums/showthread.php?tid=32</guid>
			<description><![CDATA[SAMPLE OUTPUT:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>[root@vega rotatelog&#93;# ./rotatelog -e<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;First time run ...<br />
<br />
rc file NOT found ... /var/log/oldlogs/rotatelog.rc<br />
Create one ? [y/n&#93; : y<br />
<br />
/var/log/oldlogs/rotatelog.rc has been created<br />
Add to this file if more log files are to<br />
be included ... Press [Enter&#93; to continue<br />
<br />
rotatelog&nbsp;&nbsp;&nbsp;&nbsp; Version : 0.2<br />
<br />
1&#93;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;6609&nbsp;&nbsp;&nbsp;&nbsp;/var/log/messages<br />
2&#93;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;du: cannot access `/var/log/syslog': No such file or directory<br />
3&#93;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /var/log/wtmp<br />
4&#93;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;du: cannot access `/var/log/debug': No such file or directory<br />
<br />
Which logs to rotate [1 - 4&#93; ?<br />
Otherwise enter [0&#93; ... to abort.<br />
Enter numbers with with spaces in between : 1<br />
<br />
Rotating ... /var/log/messages<br />
<br />
-- Mail to root sent --<br />
<br />
[root@vega rotatelog&#93;#</code></div></div>
The script is attached.]]></description>
			<content:encoded><![CDATA[SAMPLE OUTPUT:<br />
<div class="codeblock">
<div class="title">Code:<br />
</div><div class="body" dir="ltr"><code>[root@vega rotatelog]# ./rotatelog -e<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;First time run ...<br />
<br />
rc file NOT found ... /var/log/oldlogs/rotatelog.rc<br />
Create one ? [y/n] : y<br />
<br />
/var/log/oldlogs/rotatelog.rc has been created<br />
Add to this file if more log files are to<br />
be included ... Press [Enter] to continue<br />
<br />
rotatelog&nbsp;&nbsp;&nbsp;&nbsp; Version : 0.2<br />
<br />
1]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;6609&nbsp;&nbsp;&nbsp;&nbsp;/var/log/messages<br />
2]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;du: cannot access `/var/log/syslog': No such file or directory<br />
3]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /var/log/wtmp<br />
4]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;du: cannot access `/var/log/debug': No such file or directory<br />
<br />
Which logs to rotate [1 - 4] ?<br />
Otherwise enter [0] ... to abort.<br />
Enter numbers with with spaces in between : 1<br />
<br />
Rotating ... /var/log/messages<br />
<br />
-- Mail to root sent --<br />
<br />
[root@vega rotatelog]#</code></div></div>
The script is attached.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Switching]]></title>
			<link>http://mj12net.org/forums/showthread.php?tid=31</link>
			<pubDate>Thu, 16 Apr 2009 12:38:59 -0700</pubDate>
			<dc:creator>admin</dc:creator>
			<guid isPermaLink="false">http://mj12net.org/forums/showthread.php?tid=31</guid>
			<description><![CDATA[======================================<br />
SWITCHING /////////////////////////<br />
======================================<br />
<br />
======================================<br />
Create VLAN IOS:<br />
======================================<br />
<br />
This example shows how to create an Ethernet VLAN in global configuration mode and verify the configuration:<br />
<br />
Router# configure terminal<br />
<br />
Router(config)# vlan 3<br />
<br />
Router(config-vlan)# end<br />
<br />
Router# show vlan id 3<br />
<br />
VLAN Name Status Ports<br />
<br />
---- -------------------------------- --------- -------------------------------<br />
<br />
3 VLAN0003 active<br />
<br />
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2<br />
<br />
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------<br />
<br />
3 enet 100003 1500 - - - - - 0 0<br />
<br />
Primary Secondary Type Interfaces<br />
<br />
------- --------- ----------------- ------------------------------------------<br />
<br />
This example shows how to create an Ethernet VLAN in VLAN database mode:<br />
<br />
Router# vlan database<br />
<br />
Router(vlan)# vlan 3<br />
<br />
VLAN 3 added:<br />
<br />
Name: VLAN0003<br />
<br />
Router(vlan)# exit<br />
<br />
APPLY completed.<br />
<br />
Exiting....<br />
<br />
This example shows how to verify the configuration:<br />
<br />
Router# show vlan name VLAN0003<br />
<br />
VLAN Name Status Ports<br />
<br />
---- -------------------------------- --------- ---------------------<br />
<br />
3 VLAN0003 active<br />
<br />
VLAN Type SAID MTU Parent RingNo BridgeNo Stp Trans1 Trans2<br />
<br />
---- ----- ---------- ----- ------ ------ -------- ---- ------ ------<br />
<br />
3 enet 100003 1500 - - - - 0 0<br />
<br />
Router#<br />
<br />
This example shows how to map 802.1Q VLAN 1003 to ISL VLAN 200:<br />
<br />
Router# configure terminal<br />
<br />
Router(config)# vlan mapping dot1q 1003 isl 200<br />
<br />
Router(config)# end<br />
<br />
Router#<br />
<br />
This example shows how to verify the configuration:<br />
<br />
Router# show vlan<br />
<br />
&lt;...output truncated...&gt;<br />
<br />
802.1Q Trunk Remapped VLANs:<br />
<br />
802.1Q VLAN ISL VLAN<br />
<br />
----------- -----------<br />
<br />
1003 200]]></description>
			<content:encoded><![CDATA[======================================<br />
SWITCHING /////////////////////////<br />
======================================<br />
<br />
======================================<br />
Create VLAN IOS:<br />
======================================<br />
<br />
This example shows how to create an Ethernet VLAN in global configuration mode and verify the configuration:<br />
<br />
Router# configure terminal<br />
<br />
Router(config)# vlan 3<br />
<br />
Router(config-vlan)# end<br />
<br />
Router# show vlan id 3<br />
<br />
VLAN Name Status Ports<br />
<br />
---- -------------------------------- --------- -------------------------------<br />
<br />
3 VLAN0003 active<br />
<br />
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2<br />
<br />
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------<br />
<br />
3 enet 100003 1500 - - - - - 0 0<br />
<br />
Primary Secondary Type Interfaces<br />
<br />
------- --------- ----------------- ------------------------------------------<br />
<br />
This example shows how to create an Ethernet VLAN in VLAN database mode:<br />
<br />
Router# vlan database<br />
<br />
Router(vlan)# vlan 3<br />
<br />
VLAN 3 added:<br />
<br />
Name: VLAN0003<br />
<br />
Router(vlan)# exit<br />
<br />
APPLY completed.<br />
<br />
Exiting....<br />
<br />
This example shows how to verify the configuration:<br />
<br />
Router# show vlan name VLAN0003<br />
<br />
VLAN Name Status Ports<br />
<br />
---- -------------------------------- --------- ---------------------<br />
<br />
3 VLAN0003 active<br />
<br />
VLAN Type SAID MTU Parent RingNo BridgeNo Stp Trans1 Trans2<br />
<br />
---- ----- ---------- ----- ------ ------ -------- ---- ------ ------<br />
<br />
3 enet 100003 1500 - - - - 0 0<br />
<br />
Router#<br />
<br />
This example shows how to map 802.1Q VLAN 1003 to ISL VLAN 200:<br />
<br />
Router# configure terminal<br />
<br />
Router(config)# vlan mapping dot1q 1003 isl 200<br />
<br />
Router(config)# end<br />
<br />
Router#<br />
<br />
This example shows how to verify the configuration:<br />
<br />
Router# show vlan<br />
<br />
&lt;...output truncated...&gt;<br />
<br />
802.1Q Trunk Remapped VLANs:<br />
<br />
802.1Q VLAN ISL VLAN<br />
<br />
----------- -----------<br />
<br />
1003 200]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Routing]]></title>
			<link>http://mj12net.org/forums/showthread.php?tid=30</link>
			<pubDate>Thu, 16 Apr 2009 12:37:58 -0700</pubDate>
			<dc:creator>admin</dc:creator>
			<guid isPermaLink="false">http://mj12net.org/forums/showthread.php?tid=30</guid>
			<description><![CDATA[======================================<br />
ROUTING /////////////////////////<br />
======================================<br />
<br />
======================================<br />
Cisco Router Configuration Commands:<br />
======================================<br />
<br />
Set a console password to cisco<br />
======================================<br />
Router(config)#line con 0<br />
Router(config-line)#login<br />
Router(config-line)#password cisco<br />
======================================<br />
<br />
Set a telnet password<br />
======================================<br />
Router(config)#line vty 0 4<br />
Router(config-line)#login<br />
Router(config-line)#password cisco<br />
======================================<br />
<br />
Stop console timing out<br />
======================================<br />
Router(config)#line con 0<br />
Router(config-line)#exec-timeout 0 0<br />
======================================<br />
<br />
Set the enable password to cisco<br />
======================================<br />
Router(config)#enable password cisco<br />
Set the enable secret password to peter.<br />
======================================<br />
<br />
This password overrides the enable password<br />
and is encypted within the config file<br />
======================================<br />
Router(config)#enable secret peter<br />
======================================<br />
<br />
Enable an interface<br />
======================================<br />
Router(config-if)#no shutdown<br />
======================================<br />
<br />
To disable an interface<br />
======================================<br />
Router(config-if)#shutdown<br />
======================================<br />
<br />
Set the clock rate for a router with a DCE cable to 64K<br />
======================================<br />
Router(config-if)clock rate 64000<br />
======================================<br />
<br />
Set a logical bandwidth assignment of 64K to the serial interface<br />
======================================<br />
Router(config-if)bandwidth 64<br />
Note that the zeroes are not missing<br />
======================================<br />
<br />
To add an IP address to a interface<br />
======================================<br />
Router(config-if)#ip addr 10.1.1.1 255.255.255.0<br />
======================================<br />
<br />
To enable RIP on all 172.16.x.y interfaces<br />
======================================<br />
Router(config)#router rip<br />
Router(config-router)#network 172.16.0.0<br />
Disable RIP Router(config)#no router rip<br />
======================================<br />
<br />
To enable IRGP with a AS of 200, to all interfaces<br />
======================================<br />
Router(config)#router igrp 200<br />
Router(config-router)#network 172.16.0.0<br />
Disable IGRP Router(config)#no router igrp 200<br />
======================================<br />
<br />
Static route the remote network is 172.16.1.0, with a mask of 255.255.255.0, the next hop is 172.16.2.1, at a cost of 5 hops<br />
======================================<br />
Router(config)#ip route 172.16.1.0 255.255.255.0 172.16.2.1 5<br />
======================================<br />
<br />
Disable CDP for the whole router<br />
======================================<br />
Router(config)#no cdp run<br />
======================================<br />
<br />
Enable CDP for he whole router<br />
======================================<br />
Router(config)#cdp run<br />
======================================<br />
<br />
Disable CDP on an interface<br />
======================================<br />
Router(config-if)#no cdp enable<br />
======================================<br />
<br />
======================================<br />
Cisco Router Show Commands:<br />
======================================<br />
<br />
View version information<br />
======================================<br />
show version<br />
======================================<br />
<br />
View current configuration (DRAM)<br />
======================================<br />
show running-config<br />
======================================<br />
<br />
View startup configuration (NVRAM)<br />
======================================<br />
show startup-config<br />
======================================<br />
<br />
Show IOS file and flash space<br />
======================================<br />
show flash<br />
======================================<br />
<br />
Shows all logs that the router has in its memory<br />
======================================<br />
show log<br />
======================================<br />
<br />
View the interface status of interface e0<br />
======================================<br />
show interface e0<br />
======================================<br />
<br />
Overview all interfaces on the router<br />
======================================<br />
show ip interfaces brief<br />
======================================<br />
<br />
View type of serial cable on s0<br />
======================================<br />
show controllers 0 (note the space between the 's' and the '0')<br />
======================================<br />
<br />
Display a summary of connected cdp devices<br />
======================================<br />
show cdp neighbor<br />
======================================<br />
<br />
Display detailed information on all devices<br />
======================================<br />
show cdp entry *<br />
======================================<br />
<br />
Display current routing protocols<br />
======================================<br />
show ip protocols<br />
======================================<br />
<br />
Display IP routing table<br />
======================================<br />
show ip route<br />
======================================<br />
<br />
Display access lists, this includes the number of displayed matches<br />
======================================<br />
show access-lists<br />
======================================<br />
<br />
Check the router can see the ISDN switch<br />
======================================<br />
show isdn status<br />
======================================<br />
<br />
Check a Frame Relay PVC connections<br />
======================================<br />
show frame-relay pvc<br />
======================================<br />
<br />
show lmi traffic stats<br />
======================================<br />
show frame-relay lmi<br />
======================================<br />
<br />
Display the frame inverse ARP table<br />
======================================<br />
show frame-relay map<br />
======================================<br />
<br />
======================================<br />
Cisco Router Basic Operations<br />
======================================<br />
<br />
Enable<br />
======================================<br />
Enter privileged mode<br />
======================================<br />
<br />
Return to user mode from privileged<br />
======================================<br />
disable<br />
======================================<br />
<br />
Exit Router<br />
======================================<br />
Logout or exit or quit<br />
======================================<br />
<br />
Recall last command<br />
======================================<br />
up arrow or &lt;Ctrl-P&gt;<br />
======================================<br />
<br />
Recall next command<br />
======================================<br />
down arrow or &lt;Ctrl-N&gt;<br />
======================================<br />
<br />
Suspend or abort<br />
======================================<br />
&lt;Shift&gt; and &lt;Ctrl&gt; and 6 then x<br />
======================================<br />
<br />
Refresh screen output<br />
======================================<br />
&lt;Ctrl-R&gt;<br />
======================================<br />
<br />
Complete Command<br />
======================================<br />
TAB<br />
======================================<br />
<br />
======================================<br />
Cisco Router Copy Commands:<br />
======================================<br />
<br />
Save the current configuration from DRAM to NVRAM<br />
======================================<br />
copy running-config startup-config<br />
======================================<br />
<br />
Merge NVRAM configuration to DRAM<br />
======================================<br />
copy startup-config running-config<br />
======================================<br />
<br />
Copy DRAM configuration to a TFTP server<br />
======================================<br />
copy runing-config tftp<br />
======================================<br />
<br />
Merge TFTP configuration with current router configuration held in DRAM<br />
======================================<br />
copy tftp runing-config<br />
======================================<br />
<br />
Backup the IOS onto a TFTP server<br />
======================================<br />
copy flash tftp<br />
======================================<br />
<br />
Upgrade the router IOS from a TFTP server<br />
======================================<br />
copy tftp flash<br />
======================================<br />
<br />
======================================<br />
Cisco Router Debug Commands:<br />
======================================<br />
<br />
Enable debug for RIP<br />
======================================<br />
debug ip rip<br />
======================================<br />
<br />
Enable summary IGRP debug information<br />
======================================<br />
debug ip igrp events<br />
======================================<br />
<br />
Enable detailed IGRP debug information<br />
======================================<br />
debug ip igrp transactions<br />
======================================<br />
<br />
Debug IPX RIP<br />
======================================<br />
debug ipx routing activity<br />
======================================<br />
<br />
Debug IPX SAP<br />
======================================<br />
debug IPX SAP<br />
======================================<br />
<br />
Enable debug for CHAP or PAP<br />
======================================<br />
debug ppp authentication<br />
======================================<br />
<br />
Switch all debugging off<br />
======================================<br />
no debug all<br />
undebug all<br />
======================================]]></description>
			<content:encoded><![CDATA[======================================<br />
ROUTING /////////////////////////<br />
======================================<br />
<br />
======================================<br />
Cisco Router Configuration Commands:<br />
======================================<br />
<br />
Set a console password to cisco<br />
======================================<br />
Router(config)#line con 0<br />
Router(config-line)#login<br />
Router(config-line)#password cisco<br />
======================================<br />
<br />
Set a telnet password<br />
======================================<br />
Router(config)#line vty 0 4<br />
Router(config-line)#login<br />
Router(config-line)#password cisco<br />
======================================<br />
<br />
Stop console timing out<br />
======================================<br />
Router(config)#line con 0<br />
Router(config-line)#exec-timeout 0 0<br />
======================================<br />
<br />
Set the enable password to cisco<br />
======================================<br />
Router(config)#enable password cisco<br />
Set the enable secret password to peter.<br />
======================================<br />
<br />
This password overrides the enable password<br />
and is encypted within the config file<br />
======================================<br />
Router(config)#enable secret peter<br />
======================================<br />
<br />
Enable an interface<br />
======================================<br />
Router(config-if)#no shutdown<br />
======================================<br />
<br />
To disable an interface<br />
======================================<br />
Router(config-if)#shutdown<br />
======================================<br />
<br />
Set the clock rate for a router with a DCE cable to 64K<br />
======================================<br />
Router(config-if)clock rate 64000<br />
======================================<br />
<br />
Set a logical bandwidth assignment of 64K to the serial interface<br />
======================================<br />
Router(config-if)bandwidth 64<br />
Note that the zeroes are not missing<br />
======================================<br />
<br />
To add an IP address to a interface<br />
======================================<br />
Router(config-if)#ip addr 10.1.1.1 255.255.255.0<br />
======================================<br />
<br />
To enable RIP on all 172.16.x.y interfaces<br />
======================================<br />
Router(config)#router rip<br />
Router(config-router)#network 172.16.0.0<br />
Disable RIP Router(config)#no router rip<br />
======================================<br />
<br />
To enable IRGP with a AS of 200, to all interfaces<br />
======================================<br />
Router(config)#router igrp 200<br />
Router(config-router)#network 172.16.0.0<br />
Disable IGRP Router(config)#no router igrp 200<br />
======================================<br />
<br />
Static route the remote network is 172.16.1.0, with a mask of 255.255.255.0, the next hop is 172.16.2.1, at a cost of 5 hops<br />
======================================<br />
Router(config)#ip route 172.16.1.0 255.255.255.0 172.16.2.1 5<br />
======================================<br />
<br />
Disable CDP for the whole router<br />
======================================<br />
Router(config)#no cdp run<br />
======================================<br />
<br />
Enable CDP for he whole router<br />
======================================<br />
Router(config)#cdp run<br />
======================================<br />
<br />
Disable CDP on an interface<br />
======================================<br />
Router(config-if)#no cdp enable<br />
======================================<br />
<br />
======================================<br />
Cisco Router Show Commands:<br />
======================================<br />
<br />
View version information<br />
======================================<br />
show version<br />
======================================<br />
<br />
View current configuration (DRAM)<br />
======================================<br />
show running-config<br />
======================================<br />
<br />
View startup configuration (NVRAM)<br />
======================================<br />
show startup-config<br />
======================================<br />
<br />
Show IOS file and flash space<br />
======================================<br />
show flash<br />
======================================<br />
<br />
Shows all logs that the router has in its memory<br />
======================================<br />
show log<br />
======================================<br />
<br />
View the interface status of interface e0<br />
======================================<br />
show interface e0<br />
======================================<br />
<br />
Overview all interfaces on the router<br />
======================================<br />
show ip interfaces brief<br />
======================================<br />
<br />
View type of serial cable on s0<br />
======================================<br />
show controllers 0 (note the space between the 's' and the '0')<br />
======================================<br />
<br />
Display a summary of connected cdp devices<br />
======================================<br />
show cdp neighbor<br />
======================================<br />
<br />
Display detailed information on all devices<br />
======================================<br />
show cdp entry *<br />
======================================<br />
<br />
Display current routing protocols<br />
======================================<br />
show ip protocols<br />
======================================<br />
<br />
Display IP routing table<br />
======================================<br />
show ip route<br />
======================================<br />
<br />
Display access lists, this includes the number of displayed matches<br />
======================================<br />
show access-lists<br />
======================================<br />
<br />
Check the router can see the ISDN switch<br />
======================================<br />
show isdn status<br />
======================================<br />
<br />
Check a Frame Relay PVC connections<br />
======================================<br />
show frame-relay pvc<br />
======================================<br />
<br />
show lmi traffic stats<br />
======================================<br />
show frame-relay lmi<br />
======================================<br />
<br />
Display the frame inverse ARP table<br />
======================================<br />
show frame-relay map<br />
======================================<br />
<br />
======================================<br />
Cisco Router Basic Operations<br />
======================================<br />
<br />
Enable<br />
======================================<br />
Enter privileged mode<br />
======================================<br />
<br />
Return to user mode from privileged<br />
======================================<br />
disable<br />
======================================<br />
<br />
Exit Router<br />
======================================<br />
Logout or exit or quit<br />
======================================<br />
<br />
Recall last command<br />
======================================<br />
up arrow or &lt;Ctrl-P&gt;<br />
======================================<br />
<br />
Recall next command<br />
======================================<br />
down arrow or &lt;Ctrl-N&gt;<br />
======================================<br />
<br />
Suspend or abort<br />
======================================<br />
&lt;Shift&gt; and &lt;Ctrl&gt; and 6 then x<br />
======================================<br />
<br />
Refresh screen output<br />
======================================<br />
&lt;Ctrl-R&gt;<br />
======================================<br />
<br />
Complete Command<br />
======================================<br />
TAB<br />
======================================<br />
<br />
======================================<br />
Cisco Router Copy Commands:<br />
======================================<br />
<br />
Save the current configuration from DRAM to NVRAM<br />
======================================<br />
copy running-config startup-config<br />
======================================<br />
<br />
Merge NVRAM configuration to DRAM<br />
======================================<br />
copy startup-config running-config<br />
======================================<br />
<br />
Copy DRAM configuration to a TFTP server<br />
======================================<br />
copy runing-config tftp<br />
======================================<br />
<br />
Merge TFTP configuration with current router configuration held in DRAM<br />
======================================<br />
copy tftp runing-config<br />
======================================<br />
<br />
Backup the IOS onto a TFTP server<br />
======================================<br />
copy flash tftp<br />
======================================<br />
<br />
Upgrade the router IOS from a TFTP server<br />
======================================<br />
copy tftp flash<br />
======================================<br />
<br />
======================================<br />
Cisco Router Debug Commands:<br />
======================================<br />
<br />
Enable debug for RIP<br />
======================================<br />
debug ip rip<br />
======================================<br />
<br />
Enable summary IGRP debug information<br />
======================================<br />
debug ip igrp events<br />
======================================<br />
<br />
Enable detailed IGRP debug information<br />
======================================<br />
debug ip igrp transactions<br />
======================================<br />
<br />
Debug IPX RIP<br />
======================================<br />
debug ipx routing activity<br />
======================================<br />
<br />
Debug IPX SAP<br />
======================================<br />
debug IPX SAP<br />
======================================<br />
<br />
Enable debug for CHAP or PAP<br />
======================================<br />
debug ppp authentication<br />
======================================<br />
<br />
Switch all debugging off<br />
======================================<br />
no debug all<br />
undebug all<br />
======================================]]></content:encoded>
		</item>
	</channel>
</rss>
