<?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/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: Contest: Win Ubuntu Kung Fu Book</title> <atom:link href="http://www.cyberciti.biz/tips/contest-win-ubuntu-kung-fu-book.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/contest-win-ubuntu-kung-fu-book.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Brian Vanderheyden</title><link>http://www.cyberciti.biz/tips/contest-win-ubuntu-kung-fu-book.html#comment-145981</link> <dc:creator>Brian Vanderheyden</dc:creator> <pubDate>Wed, 03 Dec 2008 17:09:14 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=3685#comment-145981</guid> <description>Need to back up a PC that won&#039;t boot, but the HDD is still readable (not a hardware error)? Build an .iso CD or usb stick with:
g4u (&quot;ghost for unix&quot;) which is a boot-floppy/CD that allows one to easily clone PC hard disks by using FTP. Useful for backups and cloning new drives .
Since dabbling with Linux, starting with RH5 in 1998, I have been digging on these past 2 years with Ubuntu/Debian/Knoppix/DSL distros. I have tried the Ubuntu distro&#039;s for Apple (both Motorola &amp; Intel) and recommend Zimbra as the future of mail server apps (try the open source edition for free!)
I like Linux because of the flexibility and cooperation of the communities that support it. I tolerate Microsoft because of all of the companies that use it and distribute it with their new hardware. I setup multi-booting because I get to choose what flavor I need, and have started getting deeper into VMWare to test all this cool stuff out there!</description> <content:encoded><![CDATA[<p>Need to back up a PC that won&#8217;t boot, but the HDD is still readable (not a hardware error)? Build an .iso CD or usb stick with:</p><p>g4u (&#8220;ghost for unix&#8221;) which is a boot-floppy/CD that allows one to easily clone PC hard disks by using FTP. Useful for backups and cloning new drives .</p><p>Since dabbling with Linux, starting with RH5 in 1998, I have been digging on these past 2 years with Ubuntu/Debian/Knoppix/DSL distros. I have tried the Ubuntu distro&#8217;s for Apple (both Motorola &amp; Intel) and recommend Zimbra as the future of mail server apps (try the open source edition for free!)</p><p>I like Linux because of the flexibility and cooperation of the communities that support it. I tolerate Microsoft because of all of the companies that use it and distribute it with their new hardware. I setup multi-booting because I get to choose what flavor I need, and have started getting deeper into VMWare to test all this cool stuff out there!</p> ]]></content:encoded> </item> <item><title>By: Amr Darwish</title><link>http://www.cyberciti.biz/tips/contest-win-ubuntu-kung-fu-book.html#comment-145968</link> <dc:creator>Amr Darwish</dc:creator> <pubDate>Wed, 03 Dec 2008 12:22:02 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=3685#comment-145968</guid> <description>Some tips:
1- press tab key to auto complete the files &amp; directories full path. It will bring the names of files or directories that start with the pattern you wrote.
&amp;
2- press double tab to bring a list of all files &amp; directories that start with the pattern you wrote.
example:
if you currently on /usr/bin
then you issues:
&lt;code&gt;
$ ls -altr pa   &lt;--press tab here
pack                pagesize            panel-test-applets  pargs               passwd              patch               pax
page                pal2rgb             pango-querymodules  passmgmt            paste               pathchk
$ ls -altr pas   &lt;--press tab after additional s
passmgmt  passwd    paste
$ ls -altr pass    &lt;--press tab after additional s
passmgmt  passwd
$ ls -altr passwd
-r-sr-sr-x   1 root     sys        27228 Aug 16  2007 passwd
Example 2:
$ls -altr wo  $ls -altr word-list-compress  &lt;-- completed automatically
Have a nice time scripti[tab] (scripting)
Amr</description> <content:encoded><![CDATA[<p>Some tips:<br
/> 1- press tab key to auto complete the files &amp; directories full path. It will bring the names of files or directories that start with the pattern you wrote.</p><p>&amp;</p><p>2- press double tab to bring a list of all files &amp; directories that start with the pattern you wrote.</p><p>example:<br
/> if you currently on /usr/bin<br
/> then you issues:<br
/> <code><br
/> $ ls -altr pa   &lt;--press tab here<br
/> pack                pagesize            panel-test-applets  pargs               passwd              patch               pax<br
/> page                pal2rgb             pango-querymodules  passmgmt            paste               pathchk<br
/> $ ls -altr pas   &lt;--press tab after additional s<br
/> passmgmt  passwd    paste<br
/> $ ls -altr pass    &lt;--press tab after additional s<br
/> passmgmt  passwd<br
/> $ ls -altr passwd<br
/> -r-sr-sr-x   1 root     sys        27228 Aug 16  2007 passwd</p><p>Example 2:</p><p>$ls -altr wo  $ls -altr word-list-compress  &lt;-- completed automatically</p><p>Have a nice time scripti[tab] (scripting)</p><p>Amr</code></p> ]]></content:encoded> </item> <item><title>By: Yaser Sulaiman</title><link>http://www.cyberciti.biz/tips/contest-win-ubuntu-kung-fu-book.html#comment-145966</link> <dc:creator>Yaser Sulaiman</dc:creator> <pubDate>Wed, 03 Dec 2008 12:01:13 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=3685#comment-145966</guid> <description>If you use the Terminal a lot (and you should!), you can assign a keyboard shortcut to quickly open a new Terminal window.
To do this, just head to &lt;em&gt;System&lt;/em&gt; &gt; &lt;em&gt;Preferences&lt;/em&gt; &gt; &lt;em&gt;Keyboard Shortcuts&lt;/em&gt; from the main menu. Now look for &quot;Run a terminal&quot; and click on it, then press the key combination you want to use as a shortcut. I personally use &lt;em&gt;Ctrl+Alt+x&lt;/em&gt;.
Hope you find it useful :)
Regards,
Yaser</description> <content:encoded><![CDATA[<p>If you use the Terminal a lot (and you should!), you can assign a keyboard shortcut to quickly open a new Terminal window.</p><p>To do this, just head to <em>System</em> &gt; <em>Preferences</em> &gt; <em>Keyboard Shortcuts</em> from the main menu. Now look for &#8220;Run a terminal&#8221; and click on it, then press the key combination you want to use as a shortcut. I personally use <em>Ctrl+Alt+x</em>.</p><p>Hope you find it useful :)</p><p>Regards,<br
/> Yaser</p> ]]></content:encoded> </item> <item><title>By: Jacki</title><link>http://www.cyberciti.biz/tips/contest-win-ubuntu-kung-fu-book.html#comment-145962</link> <dc:creator>Jacki</dc:creator> <pubDate>Wed, 03 Dec 2008 10:21:38 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=3685#comment-145962</guid> <description>I don&#039;t know what should I wrote. But I am happy to see a  lots response in this topic.
Therefor here 2 tips for everyone.
01. &lt;b&gt;undo Firefox closed tab.&lt;/b&gt;
Shift+ctrl+t
02. &lt;b&gt;How to install firefox&lt;/b&gt;
Download the latest source.
$ su
# mv firefox* /usr/local/bin/
# cd /usr/local/bin/
# tar -zxvf firefox*
Log out root with the keys: Ctrl+D
Type &quot;kmenuedit&quot;/&quot;alacarte&quot; or the &quot;gnome-menu-editor&quot; )
- Make a new menu entry, call it Firefox and fill in as command: /usr/local/bin/firefox/firefox
then save</description> <content:encoded><![CDATA[<p>I don&#8217;t know what should I wrote. But I am happy to see a  lots response in this topic.</p><p>Therefor here 2 tips for everyone.</p><p>01. <b>undo Firefox closed tab.</b></p><p>Shift+ctrl+t</p><p>02. <b>How to install firefox</b><br
/> Download the latest source.<br
/> $ su</p><p># mv firefox* /usr/local/bin/<br
/> # cd /usr/local/bin/<br
/> # tar -zxvf firefox*</p><p>Log out root with the keys: Ctrl+D<br
/> Type &#8220;kmenuedit&#8221;/&#8221;alacarte&#8221; or the &#8220;gnome-menu-editor&#8221; )</p><p>- Make a new menu entry, call it Firefox and fill in as command: /usr/local/bin/firefox/firefox</p><p>then save</p> ]]></content:encoded> </item> <item><title>By: Alok</title><link>http://www.cyberciti.biz/tips/contest-win-ubuntu-kung-fu-book.html#comment-145961</link> <dc:creator>Alok</dc:creator> <pubDate>Wed, 03 Dec 2008 10:03:46 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=3685#comment-145961</guid> <description>Basically Window looks easy but very confusing.
Linux Looks Complex but doesnt hides how it does the magic. Apart, Linux is very secure and reliable.
Tips: If you want to know the Make of the Laptop battery you can view this file on RHEL4 Kernel 2.6.
# cat /proc/acpi/battery/BAT0/info</description> <content:encoded><![CDATA[<p>Basically Window looks easy but very confusing.<br
/> Linux Looks Complex but doesnt hides how it does the magic. Apart, Linux is very secure and reliable.<br
/> Tips: If you want to know the Make of the Laptop battery you can view this file on RHEL4 Kernel 2.6.<br
/> # cat /proc/acpi/battery/BAT0/info</p> ]]></content:encoded> </item> <item><title>By: DILIP K</title><link>http://www.cyberciti.biz/tips/contest-win-ubuntu-kung-fu-book.html#comment-145960</link> <dc:creator>DILIP K</dc:creator> <pubDate>Wed, 03 Dec 2008 09:33:55 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=3685#comment-145960</guid> <description>Hi Vivek,
I moved to linux because of many reasons,
1) I can know the indepth working of an OS and interaction with OS applications. I can bring more to Linux that to the so-called user-friendly Windows.
2) With the openly available source code, I can even make the best coding and required ammaendments to meet my requirements.
3) Giving something to the world along with the work from the scratch is what I believe and practice most.
Hurray to the OSS people. Let us strive for a free world. Open up your mind and soul for the sole cause of helping human kind.</description> <content:encoded><![CDATA[<p>Hi Vivek,</p><p>I moved to linux because of many reasons,</p><p>1) I can know the indepth working of an OS and interaction with OS applications. I can bring more to Linux that to the so-called user-friendly Windows.<br
/> 2) With the openly available source code, I can even make the best coding and required ammaendments to meet my requirements.<br
/> 3) Giving something to the world along with the work from the scratch is what I believe and practice most.<br
/> Hurray to the OSS people. Let us strive for a free world. Open up your mind and soul for the sole cause of helping human kind.</p> ]]></content:encoded> </item> <item><title>By: Dody Wijaya</title><link>http://www.cyberciti.biz/tips/contest-win-ubuntu-kung-fu-book.html#comment-145957</link> <dc:creator>Dody Wijaya</dc:creator> <pubDate>Wed, 03 Dec 2008 06:25:10 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=3685#comment-145957</guid> <description>Use Ubuntu for your server.
and you&#039;ll never face MS08-067 Security Problem (netapi32.dll)
Thanks
Dody</description> <content:encoded><![CDATA[<p>Use Ubuntu for your server.<br
/> and you&#8217;ll never face MS08-067 Security Problem (netapi32.dll)</p><p>Thanks<br
/> Dody</p> ]]></content:encoded> </item> <item><title>By: Sathish</title><link>http://www.cyberciti.biz/tips/contest-win-ubuntu-kung-fu-book.html#comment-145955</link> <dc:creator>Sathish</dc:creator> <pubDate>Wed, 03 Dec 2008 05:24:00 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=3685#comment-145955</guid> <description>I have switched to linux because, I liked the concept of open source. I wanted to become part of the open source community by making some contributions from my end to the community. I love the concept of help each other by making some contributions.
Thanks,
Sathish</description> <content:encoded><![CDATA[<p>I have switched to linux because, I liked the concept of open source. I wanted to become part of the open source community by making some contributions from my end to the community. I love the concept of help each other by making some contributions.</p><p>Thanks,<br
/> Sathish</p> ]]></content:encoded> </item> <item><title>By: Claes Walfridson</title><link>http://www.cyberciti.biz/tips/contest-win-ubuntu-kung-fu-book.html#comment-145954</link> <dc:creator>Claes Walfridson</dc:creator> <pubDate>Wed, 03 Dec 2008 01:35:10 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=3685#comment-145954</guid> <description>&lt;b&gt;Turn of all warning beeps, fast and dirty.&lt;/b&gt;
Instead of editing every configuration file (I know of ~./bashrc, ~./emacs, ~/.inputrc (but its not enough, the bloody sound still apears in some odd circumestances))just add the line
&lt;code&gt;blacklist pcspkr&lt;/code&gt;
to &lt;b&gt;/etc/modprobe.d/blacklist&lt;/b&gt;, voila you will never ever hear that f*cking warning beep again.
&lt;i&gt;The dirty part about this is that I don&#039;t know if you in some situation really need the pcspkr module, I haven&#039;t found one.&lt;/i&gt;</description> <content:encoded><![CDATA[<p><b>Turn of all warning beeps, fast and dirty.</b><br
/> Instead of editing every configuration file (I know of ~./bashrc, ~./emacs, ~/.inputrc (but its not enough, the bloody sound still apears in some odd circumestances))just add the line<br
/> <code>blacklist pcspkr</code><br
/> to <b>/etc/modprobe.d/blacklist</b>, voila you will never ever hear that f*cking warning beep again.<br
/> <i>The dirty part about this is that I don&#8217;t know if you in some situation really need the pcspkr module, I haven&#8217;t found one.</i></p> ]]></content:encoded> </item> <item><title>By: Thilakraj Shanmugam</title><link>http://www.cyberciti.biz/tips/contest-win-ubuntu-kung-fu-book.html#comment-145952</link> <dc:creator>Thilakraj Shanmugam</dc:creator> <pubDate>Tue, 02 Dec 2008 17:13:03 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=3685#comment-145952</guid> <description>If you are using bash shell, below command would be useful for spell mistakes. pls go example below.
#shopt -s cdspell
# cd /vr/lok/
/var/log/
#[root@ss log]#pwd
/var/log
#</description> <content:encoded><![CDATA[<p>If you are using bash shell, below command would be useful for spell mistakes. pls go example below.</p><p>#shopt -s cdspell</p><p># cd /vr/lok/<br
/> /var/log/<br
/> #[root@ss log]#pwd<br
/> /var/log<br
/> #</p> ]]></content:encoded> </item> <item><title>By: Thilakraj Shanmugam</title><link>http://www.cyberciti.biz/tips/contest-win-ubuntu-kung-fu-book.html#comment-145951</link> <dc:creator>Thilakraj Shanmugam</dc:creator> <pubDate>Tue, 02 Dec 2008 17:09:36 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=3685#comment-145951</guid> <description>1.How to see bad blocks/sectors in linux partitions
---------------------------------------
badblocks -o filename.log /dev/hdax - for IDE disks
badblocks -o filename.log /dev/sdax  - for SCSI disks ( X - 1,2,3..)</description> <content:encoded><![CDATA[<p>1.How to see bad blocks/sectors in linux partitions<br
/> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p><p>badblocks -o filename.log /dev/hdax &#8211; for IDE disks</p><p>badblocks -o filename.log /dev/sdax  &#8211; for SCSI disks ( X &#8211; 1,2,3..)</p> ]]></content:encoded> </item> <item><title>By: Kevin Bush</title><link>http://www.cyberciti.biz/tips/contest-win-ubuntu-kung-fu-book.html#comment-145950</link> <dc:creator>Kevin Bush</dc:creator> <pubDate>Tue, 02 Dec 2008 16:27:52 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=3685#comment-145950</guid> <description>Having Xwindows issues?  Ctrl-Alt-F2 to a new console.  Type &quot;sudo init 3&quot; to change to a text only runlevel, and use nano or vi to edit your xorg.conf file.</description> <content:encoded><![CDATA[<p>Having Xwindows issues?  Ctrl-Alt-F2 to a new console.  Type &#8220;sudo init 3&#8243; to change to a text only runlevel, and use nano or vi to edit your xorg.conf file.</p> ]]></content:encoded> </item> <item><title>By: Ken</title><link>http://www.cyberciti.biz/tips/contest-win-ubuntu-kung-fu-book.html#comment-145949</link> <dc:creator>Ken</dc:creator> <pubDate>Tue, 02 Dec 2008 14:42:05 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=3685#comment-145949</guid> <description>Newbie, google is your best friend.  When you&#039;ve asked the correct question the answer WILL be on the web.</description> <content:encoded><![CDATA[<p>Newbie, google is your best friend.  When you&#8217;ve asked the correct question the answer WILL be on the web.</p> ]]></content:encoded> </item> <item><title>By: Nilufer Nilar</title><link>http://www.cyberciti.biz/tips/contest-win-ubuntu-kung-fu-book.html#comment-145948</link> <dc:creator>Nilufer Nilar</dc:creator> <pubDate>Tue, 02 Dec 2008 14:42:04 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=3685#comment-145948</guid> <description>I like Linux because it is free and open source. Other than it is based on Debian which has an excellent package management tool APT.
&lt;b&gt;My Tip &lt;/b&gt;
1. &lt;b&gt;history -c&lt;/b&gt; clears the history of commands.
2. To run a previous command starting as ssh type &lt;b&gt;!ssh&lt;/b&gt; and hit return
2. Using Thunderbird. If you got a mail containing and image from someone and want to insert that image to your mail that you are composing, do as follows.
* Open the mail received.
* Right click on the image and click copy &quot;image location&quot;
* Go to the composing mail and using menu commands select &quot;Insert-&gt;Image&quot;.
* It will ask for &quot;Image Location&quot;. Paste the location copied.
* Give some Alternage Text if you want.
* Press ok.
Thats it.
This way you can copy an image from a mail to the compose mail without saving in the local disk.
Cheers,
Nilufer</description> <content:encoded><![CDATA[<p>I like Linux because it is free and open source. Other than it is based on Debian which has an excellent package management tool APT.</p><p><b>My Tip </b><br
/> 1. <b>history -c</b> clears the history of commands.<br
/> 2. To run a previous command starting as ssh type <b>!ssh</b> and hit return<br
/> 2. Using Thunderbird. If you got a mail containing and image from someone and want to insert that image to your mail that you are composing, do as follows.<br
/> * Open the mail received.<br
/> * Right click on the image and click copy &#8220;image location&#8221;<br
/> * Go to the composing mail and using menu commands select &#8220;Insert-&gt;Image&#8221;.<br
/> * It will ask for &#8220;Image Location&#8221;. Paste the location copied.<br
/> * Give some Alternage Text if you want.<br
/> * Press ok.<br
/> Thats it.<br
/> This way you can copy an image from a mail to the compose mail without saving in the local disk.</p><p>Cheers,<br
/> Nilufer</p> ]]></content:encoded> </item> <item><title>By: Glenn</title><link>http://www.cyberciti.biz/tips/contest-win-ubuntu-kung-fu-book.html#comment-145947</link> <dc:creator>Glenn</dc:creator> <pubDate>Tue, 02 Dec 2008 14:18:46 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=3685#comment-145947</guid> <description>Why I switched to Linux:
Mythtv was my first foray into Linux (commercial skipping is FANTASTIC!).
that branched into OpenSuse since we use SLES at work, and a bit of distro hopping later, I still use OpenSuse.
I use it now mostly because XP is boring, Vista holds no interest for me (I shouldn&#039;t need to upgrade my machine to run an OS that costs $300+), and Linux is so much fun!</description> <content:encoded><![CDATA[<p>Why I switched to Linux:<br
/> Mythtv was my first foray into Linux (commercial skipping is FANTASTIC!).<br
/> that branched into OpenSuse since we use SLES at work, and a bit of distro hopping later, I still use OpenSuse.</p><p>I use it now mostly because XP is boring, Vista holds no interest for me (I shouldn&#8217;t need to upgrade my machine to run an OS that costs $300+), and Linux is so much fun!</p> ]]></content:encoded> </item> <item><title>By: SUDHAKAR</title><link>http://www.cyberciti.biz/tips/contest-win-ubuntu-kung-fu-book.html#comment-145945</link> <dc:creator>SUDHAKAR</dc:creator> <pubDate>Tue, 02 Dec 2008 12:52:23 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=3685#comment-145945</guid> <description>IT IS OPEN SOURCE AND PROVIDE HIGH SECURITY.</description> <content:encoded><![CDATA[<p>IT IS OPEN SOURCE AND PROVIDE HIGH SECURITY.</p> ]]></content:encoded> </item> <item><title>By: brusell</title><link>http://www.cyberciti.biz/tips/contest-win-ubuntu-kung-fu-book.html#comment-145944</link> <dc:creator>brusell</dc:creator> <pubDate>Tue, 02 Dec 2008 12:41:13 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=3685#comment-145944</guid> <description>Sorry I skipped description for above listed script.This script I wrote for backup of all running  non-global zones on Solaris 10.</description> <content:encoded><![CDATA[<p>Sorry I skipped description for above listed script.This script I wrote for backup of all running  non-global zones on Solaris 10.</p> ]]></content:encoded> </item> <item><title>By: Mauro</title><link>http://www.cyberciti.biz/tips/contest-win-ubuntu-kung-fu-book.html#comment-145943</link> <dc:creator>Mauro</dc:creator> <pubDate>Tue, 02 Dec 2008 12:40:58 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=3685#comment-145943</guid> <description>Show the list of your commands typing:
history
and re-launch a command using:
!#
where # is the command number specifies in the history list.
I love linux!
Keep it simple, that&#039;s the trick!!!</description> <content:encoded><![CDATA[<p>Show the list of your commands typing:</p><p>history</p><p>and re-launch a command using:</p><p>!#</p><p>where # is the command number specifies in the history list.</p><p>I love linux!<br
/> Keep it simple, that&#8217;s the trick!!!</p> ]]></content:encoded> </item> <item><title>By: brusell</title><link>http://www.cyberciti.biz/tips/contest-win-ubuntu-kung-fu-book.html#comment-145942</link> <dc:creator>brusell</dc:creator> <pubDate>Tue, 02 Dec 2008 12:36:04 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=3685#comment-145942</guid> <description>&lt;pre&gt;#!/bin/bash
BACKUP_FILE=/share/.zones_backup/zones_backup.ufsdump
ZONEPATH=/zones
TMP_PATH=/tmp/temp
ZONES=/tmp/running_zones
MAILLIST=/tmp/maillist
zoneadm list &#124; egrep -v global &gt; $ZONES
for ZONE in `cat $ZONES`
do
zoneadm -z $ZONE halt
REP0=$?
echo &quot;Zone $ZONE halted with result $REP0&quot; &gt;&gt; $MAILLIST
done
ufsdump 0f $BACKUP_FILE $ZONEPATH &amp;&gt; $TMP_PATH
sleep 2
for ZONE in `cat $ZONES`
do
zoneadm -z $ZONE boot
REP1=$?
echo &quot;Zone $ZONE was started with result $REP1&quot; &gt;&gt; $MAILLIST
done
echo &quot;#######################################&quot; &gt;&gt; $MAILLIST
cat $TMP_PATH &gt;&gt; $MAILLIST
cat $MAILLIST &#124; mailx -s &quot;Solaris backup manager&quot;  -r root@solaris.domain.com mysddress@sdomain.com
rm $TMP_PATH
rm $ZONES
rm $MAILLIST
exit&lt;/pre&gt;</description> <content:encoded><![CDATA[<pre>#!/bin/bash
BACKUP_FILE=/share/.zones_backup/zones_backup.ufsdump
ZONEPATH=/zones
TMP_PATH=/tmp/temp
ZONES=/tmp/running_zones
MAILLIST=/tmp/maillist
zoneadm list | egrep -v global &gt; $ZONES
for ZONE in `cat $ZONES`
do
zoneadm -z $ZONE halt
REP0=$?
echo "Zone $ZONE halted with result $REP0" &gt;&gt; $MAILLIST
done
ufsdump 0f $BACKUP_FILE $ZONEPATH &amp;&gt; $TMP_PATH
sleep 2
for ZONE in `cat $ZONES`
do
zoneadm -z $ZONE boot
REP1=$?
echo "Zone $ZONE was started with result $REP1" &gt;&gt; $MAILLIST
done
echo "#######################################" &gt;&gt; $MAILLIST
cat $TMP_PATH &gt;&gt; $MAILLIST
cat $MAILLIST | mailx -s "Solaris backup manager"  -r <a href="mailto:root@solaris.domain.com">root@solaris.domain.com</a> <a href="mailto:mysddress@sdomain.com">mysddress@sdomain.com</a>
rm $TMP_PATH
rm $ZONES
rm $MAILLIST
exit</pre>]]></content:encoded> </item> <item><title>By: Paulo</title><link>http://www.cyberciti.biz/tips/contest-win-ubuntu-kung-fu-book.html#comment-145941</link> <dc:creator>Paulo</dc:creator> <pubDate>Tue, 02 Dec 2008 12:23:46 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/?p=3685#comment-145941</guid> <description>Why i change to linux?
1-Doesn&#039;t Crash :)
2-I can select the tools that best address my needs
3-Almost everything is free.</description> <content:encoded><![CDATA[<p>Why i change to linux?<br
/> 1-Doesn&#8217;t Crash :)<br
/> 2-I can select the tools that best address my needs<br
/> 3-Almost everything is free.</p> ]]></content:encoded> </item> </channel> </rss>
