<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Problem With Solutions &#187; Shell Programming and Scripting</title>
	<atom:link href="http://www.bestdesigns.co.in/blog/category/shell-programming-and-scripting/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bestdesigns.co.in/blog</link>
	<description>Something Different In Linux</description>
	<lastBuildDate>Fri, 09 Dec 2011 11:55:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>backup script for reseller account</title>
		<link>http://www.bestdesigns.co.in/blog/backup-script-reseller-account</link>
		<comments>http://www.bestdesigns.co.in/blog/backup-script-reseller-account#comments</comments>
		<pubDate>Mon, 03 Jan 2011 07:41:25 +0000</pubDate>
		<dc:creator>Rishikesh Vispute</dc:creator>
				<category><![CDATA[cpanel]]></category>
		<category><![CDATA[Shell Programming and Scripting]]></category>

		<guid isPermaLink="false">http://www.bestdesigns.co.in/blog/?p=1963</guid>
		<description><![CDATA[Following are the steps to take increment backup of reseller account on backup server. 1) First we need to find out the user name which is under the reseller account. On shared/source server :- vi /home/resellerUsername/backup.sh # For finding the username under the reseller account cat /etc/trueuserowners &#124; grep resellerUsername &#124; awk -F: '{print $1}'<a href="http://www.bestdesigns.co.in/blog/backup-script-reseller-account">&#160;&#160;[ Read More ]</a>]]></description>
		<wfw:commentRss>http://www.bestdesigns.co.in/blog/backup-script-reseller-account/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>email when access the server</title>
		<link>http://www.bestdesigns.co.in/blog/email-when-access-the-server</link>
		<comments>http://www.bestdesigns.co.in/blog/email-when-access-the-server#comments</comments>
		<pubDate>Sat, 23 Oct 2010 19:49:29 +0000</pubDate>
		<dc:creator>Rishikesh Vispute</dc:creator>
				<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[Shell Programming and Scripting]]></category>
		<category><![CDATA[ssh access]]></category>

		<guid isPermaLink="false">http://www.bestdesigns.co.in/blog/?p=1605</guid>
		<description><![CDATA[It&#8217;s always a good practice &#38; from the security point of view to get notified instantly through an email when someone logs into your server through SSH with root privileges. Open the file .bashrc for the root user. Vi /root/.bashrc enter the following code into echo &#8216;SSH Root Access (Your Server Name) on:&#8217; `date` `who`<a href="http://www.bestdesigns.co.in/blog/email-when-access-the-server">&#160;&#160;[ Read More ]</a>]]></description>
		<wfw:commentRss>http://www.bestdesigns.co.in/blog/email-when-access-the-server/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Make your shell colorful</title>
		<link>http://www.bestdesigns.co.in/blog/make-your-shell-colorful</link>
		<comments>http://www.bestdesigns.co.in/blog/make-your-shell-colorful#comments</comments>
		<pubDate>Thu, 21 Oct 2010 02:27:08 +0000</pubDate>
		<dc:creator>Rishikesh Vispute</dc:creator>
				<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[FUN]]></category>
		<category><![CDATA[Shell Programming and Scripting]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.bestdesigns.co.in/blog/?p=1601</guid>
		<description><![CDATA[You can easily changed your black ssh screen to colorful screen by using following steps. 1) Login to the server via SSH as root 2) Edit the .bash_profile file found in the /root directory &#38; paste the following line: vi  .bash_profile export PS1="\[$(tput bold)$(tput setb 4)$(tput setaf 7)\]\u@\h:\w $ \[$(tput sgr0)\]" Save &#38; quit the<a href="http://www.bestdesigns.co.in/blog/make-your-shell-colorful">&#160;&#160;[ Read More ]</a>]]></description>
		<wfw:commentRss>http://www.bestdesigns.co.in/blog/make-your-shell-colorful/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some common script</title>
		<link>http://www.bestdesigns.co.in/blog/common-script</link>
		<comments>http://www.bestdesigns.co.in/blog/common-script#comments</comments>
		<pubDate>Sat, 10 Apr 2010 02:12:30 +0000</pubDate>
		<dc:creator>Rishikesh Vispute</dc:creator>
				<category><![CDATA[Shell Programming and Scripting]]></category>

		<guid isPermaLink="false">http://www.bestdesigns.co.in/blog/?p=851</guid>
		<description><![CDATA[1 ) Script to change server wide ownership for all cpanel users. ==================== #!/bin/bash cd /var/cpanel/users for user in * do chown -Rv $user.$mail /home/$user/etc chown -v $user.$nobody /home/$user/public_html chown -Rv $user.$user /home/$user done ====================]]></description>
		<wfw:commentRss>http://www.bestdesigns.co.in/blog/common-script/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Set expiration for you index page</title>
		<link>http://www.bestdesigns.co.in/blog/set-expiration-index-page</link>
		<comments>http://www.bestdesigns.co.in/blog/set-expiration-index-page#comments</comments>
		<pubDate>Wed, 31 Mar 2010 04:54:39 +0000</pubDate>
		<dc:creator>Rishikesh Vispute</dc:creator>
				<category><![CDATA[Email Marketing Series]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Shell Programming and Scripting]]></category>
		<category><![CDATA[expiration for you index page]]></category>

		<guid isPermaLink="false">http://www.bestdesigns.co.in/blog/?p=836</guid>
		<description><![CDATA[If you want to set the expiration to your site   means after some date or year your site shows custom error on the page then you can add following code in index page below the &#8220;&#60;?php&#8221; code  and set the date as per your request. ============================================ $exp_date = "2010-04-31"; $todays_date = date("Y-m-d"); $today =<a href="http://www.bestdesigns.co.in/blog/set-expiration-index-page">&#160;&#160;[ Read More ]</a>]]></description>
		<wfw:commentRss>http://www.bestdesigns.co.in/blog/set-expiration-index-page/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>set correct ownership to all accounts</title>
		<link>http://www.bestdesigns.co.in/blog/set-correct-ownership-accounts</link>
		<comments>http://www.bestdesigns.co.in/blog/set-correct-ownership-accounts#comments</comments>
		<pubDate>Wed, 13 Jan 2010 19:50:49 +0000</pubDate>
		<dc:creator>Rishikesh Vispute</dc:creator>
				<category><![CDATA[cpanel]]></category>
		<category><![CDATA[Shell Programming and Scripting]]></category>
		<category><![CDATA[set correct ownership]]></category>

		<guid isPermaLink="false">http://www.bestdesigns.co.in/blog/?p=692</guid>
		<description><![CDATA[How to set correct ownership to all account on the cPanel server. You can use the following commands to set the correct ownership for all accounts which is hosted on the cPanel server. =============================== for i  in `cat /etc/trueuserdomains   &#124; awk '{print $2}'` &#62; do &#62; chown $i.$i /home/$i -R; &#62; chown $i.mail /home/$i/etc -R;<a href="http://www.bestdesigns.co.in/blog/set-correct-ownership-accounts">&#160;&#160;[ Read More ]</a>]]></description>
		<wfw:commentRss>http://www.bestdesigns.co.in/blog/set-correct-ownership-accounts/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>test cgi script</title>
		<link>http://www.bestdesigns.co.in/blog/test-cgi-script</link>
		<comments>http://www.bestdesigns.co.in/blog/test-cgi-script#comments</comments>
		<pubDate>Wed, 25 Nov 2009 19:24:33 +0000</pubDate>
		<dc:creator>Rishikesh Vispute</dc:creator>
				<category><![CDATA[Knowledge]]></category>
		<category><![CDATA[Shell Programming and Scripting]]></category>
		<category><![CDATA[test cgi script]]></category>

		<guid isPermaLink="false">http://www.bestdesigns.co.in/blog/?p=502</guid>
		<description><![CDATA[Create one test.cgi file and add the folloing test code for checking the .cgi file working on the server. ======================= #!/usr/local/bin/perl &#8211; # hello.pl &#8212; my first perl script! print &#8220;Content-type: text/html\n\n&#8221;; print &#8220;Hello, world!\n&#8221;; =======================]]></description>
		<wfw:commentRss>http://www.bestdesigns.co.in/blog/test-cgi-script/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>some IMP script</title>
		<link>http://www.bestdesigns.co.in/blog/imp-script</link>
		<comments>http://www.bestdesigns.co.in/blog/imp-script#comments</comments>
		<pubDate>Fri, 13 Nov 2009 22:16:06 +0000</pubDate>
		<dc:creator>Rishikesh Vispute</dc:creator>
				<category><![CDATA[Shell Programming and Scripting]]></category>

		<guid isPermaLink="false">http://www.bestdesigns.co.in/blog/?p=397</guid>
		<description><![CDATA[1) Script for finding username from /etc/trueuserowners file and save it user.txt file cat /etc/trueuserowners &#124; awk &#8216;{print $2}&#8217; &#62; user.txt or cat /etc/trueuserdomains &#124; awk &#8216;{print $1}&#8217; &#62; user.txt 2) Script for remove .htaccess or any file from current(.) directory find . -name .htaccess &#124; xargs rm -rf]]></description>
		<wfw:commentRss>http://www.bestdesigns.co.in/blog/imp-script/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Script for create package on cpanel server</title>
		<link>http://www.bestdesigns.co.in/blog/script-create-package-cpanel-server</link>
		<comments>http://www.bestdesigns.co.in/blog/script-create-package-cpanel-server#comments</comments>
		<pubDate>Fri, 13 Nov 2009 21:51:03 +0000</pubDate>
		<dc:creator>Rishikesh Vispute</dc:creator>
				<category><![CDATA[cpanel]]></category>
		<category><![CDATA[Shell Programming and Scripting]]></category>
		<category><![CDATA[script for create package on cpanel server]]></category>

		<guid isPermaLink="false">http://www.bestdesigns.co.in/blog/?p=390</guid>
		<description><![CDATA[If you want to migrate more accounts from one server to another server then you need to create packages for each accounts . You can easilly create packages by using this script. 1) Create one Migarting-Accounts.txt file and add the the user name , which you want to create packages. 2) Create Migration directory for<a href="http://www.bestdesigns.co.in/blog/script-create-package-cpanel-server">&#160;&#160;[ Read More ]</a>]]></description>
		<wfw:commentRss>http://www.bestdesigns.co.in/blog/script-create-package-cpanel-server/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

