 




<?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>IT Answers &#187; Shell scripts</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/linux/shell-scripts/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Fri, 24 May 2013 22:16:19 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>How to call a shell script from ABAP program?</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-to-call-a-shell-script-from-abap-program/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/how-to-call-a-shell-script-from-abap-program/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 20:44:21 +0000</pubDate>
		<dc:creator>CallingscriptfromABAP</dc:creator>
				<category><![CDATA[ABAP]]></category>
		<category><![CDATA[Flat files]]></category>
		<category><![CDATA[FTP Server]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Shell scripts]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[This question is to SANDEEP KULKARNI. If he is still with this website then please respond to this question, if not, requesting other users to provide real time solution. Also, requesting this forum owner to pass the SANDEEP KULKARNI&#8217;s email ID/contact number. Question is: I have a shell script written for moving the flat file [...]]]></description>
				<content:encoded><![CDATA[<p>This question is to SANDEEP KULKARNI. If he is still with this website then please respond to this question, if not, requesting other users to provide real time solution. Also, requesting this forum owner to pass the SANDEEP KULKARNI&#8217;s email ID/contact number. <br/><br/> Question is:<br/><br/> I have a shell script written for moving the flat file from FTP server(Windows Operating System) to SAP Application server (Linux Operating System). I donot have a access to execute that script at linux level but i can write a ABAP program to execute the same so that the script will move the flat file from remote server(FTP) to local server (App server). I requesting, could you plz provide me the ABAP code to call the script? Also i have a no.of questions to ask. i will come one by one.<br/><br/> Why only asking sandeep means. He posted a newsletter that how to move a file from one folder to another folder. i am expecting the similar answers. also, i beleive somebody also could do. hope its not hurting anybody. sorry. <br/><br/></p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/how-to-call-a-shell-script-from-abap-program/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>AS400 &#8211; Shell scripting</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/as400-shell-scripting/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/as400-shell-scripting/#comments</comments>
		<pubDate>Tue, 28 Dec 2010 09:07:30 +0000</pubDate>
		<dc:creator>iiiiiiiiiiiii</dc:creator>
				<category><![CDATA[AS/400 scripts]]></category>
		<category><![CDATA[AS400 Shell command]]></category>
		<category><![CDATA[Shell commands]]></category>
		<category><![CDATA[Shell scripts]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[cp -r /home/ARC_SETUP/ARC585_DEV/webapps/MA/* /home/backup/manew cp: 001-3007 usage: cp £-r &#124; -R £-H &#124; -L &#124; -P]] £-fhipt] source_file target_file cp £-r &#124; -R £-H &#124; -L &#124; -P]] £-fhipt] source_file &#8230; target_directory When iam copying the files from one direcctory to another directorl,iam getting this error in shell command.please correct me,where i went wrong.]]></description>
				<content:encoded><![CDATA[<p>cp -r /home/ARC_SETUP/ARC585_DEV/webapps/MA/* /home/backup/manew<br />
cp: 001-3007 usage:<br />
    cp £-r | -R £-H | -L | -P]] £-fhipt] source_file target_file<br />
    cp £-r | -R £-H | -L | -P]] £-fhipt] source_file &#8230; target_directory<br />
When iam copying the files from one direcctory to another directorl,iam getting this error in shell command.please correct me,where i went wrong.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/as400-shell-scripting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Recover lost data from damaged USB Pen drive on SuSE or Red Hat Linux</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/recover-lost-data-from-damaged-usb-pen-drive-on-suse-or-red-hat-linux/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/recover-lost-data-from-damaged-usb-pen-drive-on-suse-or-red-hat-linux/#comments</comments>
		<pubDate>Sun, 31 Oct 2010 07:20:44 +0000</pubDate>
		<dc:creator>Subhendu Sen</dc:creator>
				<category><![CDATA[Data Recovery]]></category>
		<category><![CDATA[Data storage]]></category>
		<category><![CDATA[Linux OS]]></category>
		<category><![CDATA[Red Hat Linux]]></category>
		<category><![CDATA[Shell scripts]]></category>
		<category><![CDATA[SUSE]]></category>
		<category><![CDATA[SUSE Linux]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Can any one help me to recover my damaged data from USB Flash Drive ! I heard it is possible in Linux OS without using 3rd party software ! But How will it possible? Is there any command or shell script what is it ? Please provide me step by step guide.]]></description>
				<content:encoded><![CDATA[<p>Can any one help me to recover my damaged data from USB Flash Drive ! I heard it is possible in Linux OS without using 3rd party software ! But How will it possible? Is there any command or shell script what is it ? Please provide me step by step guide.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/recover-lost-data-from-damaged-usb-pen-drive-on-suse-or-red-hat-linux/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Unix Shell Scripting</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/unix-shell-scripting/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/unix-shell-scripting/#comments</comments>
		<pubDate>Thu, 07 Oct 2010 23:55:01 +0000</pubDate>
		<dc:creator>Roshan737</dc:creator>
				<category><![CDATA[Linux Scripts]]></category>
		<category><![CDATA[Shell scripts]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi,    Its about writing 2 command line argument.First argument i have created a file and put some text to it before writing the script. But i got stuck with second argument its an integer.The script should echo to the standard out put &#8211; the message&#8221;FILE IS SHORTER&#8221;. If the number lines in the file [...]]]></description>
				<content:encoded><![CDATA[<p>Hi,</p>
<p>   Its about writing 2 command line argument.First argument i have created a file and put some text to it before writing the script.</p>
<p>But i got stuck with second argument its an integer.The script should echo to the standard out put &#8211; the message&#8221;FILE IS SHORTER&#8221;. </p>
<p>If the number lines in the file named in the first argument is less than the integer the value of second argument should show echo to the standard&#8221;FILE IS NOT SHORTER&#8221;.</p>
<p>      can anyone help me with this..</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/unix-shell-scripting/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Help on korn shell (RedHat)</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/help-on-korn-sheel-redhat/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/help-on-korn-sheel-redhat/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 12:44:15 +0000</pubDate>
		<dc:creator>Pjr</dc:creator>
				<category><![CDATA[Korn Shell]]></category>
		<category><![CDATA[Linux Scripts]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[Red Hat Linux]]></category>
		<category><![CDATA[Shell scripts]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I have a file like that: &#8230; Title 1     Abcdef     Ghijklm     Nopqrst     &#8230; Title 2      Abcdef      Ghijkllm      Nopqrst      &#8230; &#8230; Under each block (Title) number of line could be between 0 and &#62; 100 _________________________________________________________________ I&#8217;d like to know using script korn sheel how to keep only [...]]]></description>
				<content:encoded><![CDATA[<p>I have a file like that:</p>
<p>&#8230;<br />
Title 1<br />
    Abcdef<br />
    Ghijklm<br />
    Nopqrst<br />
    &#8230;</p>
<p>Title 2<br />
     Abcdef<br />
     Ghijkllm<br />
     Nopqrst<br />
     &#8230;<br />
&#8230;</p>
<p>Under each block (Title) number of line could be between 0 and &gt; 100<br />
_________________________________________________________________<br />
I&#8217;d like to know using script korn sheel how to keep only all lines between each Title?</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/help-on-korn-sheel-redhat/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>batch job &#8211; performance improvement</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/batch-job-performance-improvement/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/batch-job-performance-improvement/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 09:59:08 +0000</pubDate>
		<dc:creator>Kmaryreddy</dc:creator>
				<category><![CDATA[Batch jobs]]></category>
		<category><![CDATA[Shell scripts]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Hi, I have a batch job which has to read each and every record (file has millions of records), to check for some data. This is talking the whole night. Is there any way so that i can complete my job in half time.. that it is talking today?]]></description>
				<content:encoded><![CDATA[<p>Hi, I have a batch job which has to read each and every record (file has millions of records), to check for some data. This is talking the whole night. Is there any way so that i can complete my job in half time.. that it is talking today?</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/batch-job-performance-improvement/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How do gain Admin by Shell script in Ubuntu 9.10</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/how-do-gain-admin-by-shell-script-in-ubuntu-910/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/how-do-gain-admin-by-shell-script-in-ubuntu-910/#comments</comments>
		<pubDate>Sat, 15 May 2010 14:31:47 +0000</pubDate>
		<dc:creator>12121212</dc:creator>
				<category><![CDATA[Shell scripts]]></category>
		<category><![CDATA[Ubuntu 9.10]]></category>
		<category><![CDATA[Ubuntu Linux]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[How can i run shell in Ubuntu 9.10 to gain Admin with only limited shell running on it. Can anyone one please advice on this as I dont know much about Linux shell. Thank you.]]></description>
				<content:encoded><![CDATA[<p>How can i run shell in Ubuntu 9.10 to gain Admin with only limited shell<br />
 running on it. Can anyone one please advice on this as I dont know much<br />
 about Linux shell.</p>
<p>Thank you.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/how-do-gain-admin-by-shell-script-in-ubuntu-910/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shell script within Stored Procedure</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/shell-script-within-stored-procedure/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/shell-script-within-stored-procedure/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 14:11:07 +0000</pubDate>
		<dc:creator>VelameLaCosa</dc:creator>
				<category><![CDATA[Shell scripts]]></category>
		<category><![CDATA[SQL stored procedures]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Unix shells]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[How do I execute a UNIX shell (.sh) script from within an MS SQL Stored Procedure?]]></description>
				<content:encoded><![CDATA[<p>How do I execute a UNIX shell (.sh) script from within an MS SQL Stored Procedure?</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/shell-script-within-stored-procedure/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Shell script does not work on cron</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/shell-script-does-not-work-on-cron/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/shell-script-does-not-work-on-cron/#comments</comments>
		<pubDate>Sat, 16 Aug 2008 13:31:31 +0000</pubDate>
		<dc:creator>Oga</dc:creator>
				<category><![CDATA[Crontab]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Shell scripts]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I created a shell script which runs fine from the command line but does not get executed when I added to crontab. I have checked the environmental PATH and added the path to my script to it I also specified the absolute path in the crontab entry. I have scheduled different tasks using the crontab [...]]]></description>
				<content:encoded><![CDATA[<p>I created a shell script which runs fine from the command line but does not get executed when I added to crontab.<br />
I have checked the environmental PATH and added the path to my script to it I also specified the absolute path in the crontab entry.<br />
I have scheduled different tasks using the crontab before and they run fine according to the specified schedule. I know that neither the crontab entry nor the environmental variable PATH is an issue but I am not quite sure what else should I look for. Any tip would be greatly appreciated. Thanks.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/shell-script-does-not-work-on-cron/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Migrating shell scripts</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/migrating-shell-scripts/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/migrating-shell-scripts/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 16:35:10 +0000</pubDate>
		<dc:creator>Chunter</dc:creator>
				<category><![CDATA[Migration]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Shell scripts]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL scripts]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[We have to move more than 250 shell scripts from a unix to a linux environment, and also 100 sql scripts. Could you please give me some steps or a check list to follow to migrate these from unix to linux?]]></description>
				<content:encoded><![CDATA[<p>We have to move more than 250 shell scripts from a unix to a linux environment, and also 100 sql scripts.</p>
<p>Could you please give me some steps or a check list to follow  to migrate these from unix to linux?</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/migrating-shell-scripts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/20 queries in 0.021 seconds using memcached
Object Caching 926/1017 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-25 00:56:58 -->