<?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>ORATraining Blog &#187; junk character</title>
	<atom:link href="http://www.oratraining.com/blog/tag/junk-character/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.oratraining.com/blog</link>
	<description>Not just another Oracle Blog</description>
	<lastBuildDate>Tue, 07 Feb 2012 06:27:38 +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>Unix delete or rename a file starting with hyphen or junk character</title>
		<link>http://www.oratraining.com/blog/2010/04/unix-delete-or-rename-a-file-starting-with-hyphen-or-junk-character/</link>
		<comments>http://www.oratraining.com/blog/2010/04/unix-delete-or-rename-a-file-starting-with-hyphen-or-junk-character/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 11:22:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux/Unix/Solaris]]></category>
		<category><![CDATA[Shell scripting]]></category>
		<category><![CDATA[Unix administration]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[junk character]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[rename]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.oratraining.com/blog/?p=235</guid>
		<description><![CDATA[Tweet Many a times we face a problem wherein mistakenly some files get created in a directory which are hard to rename or remove especially when working with putty terminal, by mistake if you paste come content on command prompt then it will create junk files with hyphen, tilde or any junk character in beginning. [...]]]></description>
			<content:encoded><![CDATA[<div class="bottomcontainerBox" style="background-color:#F0F4F9;">
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.oratraining.com%2Fblog%2F2010%2F04%2Funix-delete-or-rename-a-file-starting-with-hyphen-or-junk-character%2F&amp;layout=button_count&amp;show_faces=false&amp;width=85&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=85px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:80px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://www.oratraining.com/blog/2010/04/unix-delete-or-rename-a-file-starting-with-hyphen-or-junk-character/"></g:plusone>
			</div>
			<div style="float:left; width:95px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://www.oratraining.com/blog/2010/04/unix-delete-or-rename-a-file-starting-with-hyphen-or-junk-character/"  data-text="Unix delete or rename a file starting with hyphen or junk character" data-count="horizontal">Tweet</a>
			</div><div style="float:left; width:105px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;"><script type="in/share" data-url="http://www.oratraining.com/blog/2010/04/unix-delete-or-rename-a-file-starting-with-hyphen-or-junk-character/" data-counter="right"></script></div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>Many a times we face a problem wherein mistakenly some files get created in a directory which are hard to rename or remove especially when working with putty terminal, by mistake if you paste come content on command prompt then it will create junk files with hyphen, tilde or any junk character in beginning.</p>
<p>For example <span style="color: #0000ff;">&#8220;-abc&#8221;</span>, <span style="color: #0000ff;">&#8220;~abc&#8221;</span> etc.</p>
<p><strong>Solution:</strong></p>
<p>In this case &#8220;<span style="color: #0000ff;">rm -abc</span>&#8221; or &#8220;<span style="color: #0000ff;">rm ~abc</span>&#8221; etc will not work. Simple solution is to use &#8220;<span style="color: #0000ff;">rm ./-abc</span>&#8221; or &#8220;<span style="color: #0000ff;">rm./~abc</span>&#8221; etc</p>
<p> <img src='http://www.oratraining.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Unix+delete+or+rename+a+file+starting+with+hyphen+or+junk+character+http%3A%2F%2Foratraining.com%2Fblog%2F%3Fp%3D235" title="Post to Twitter"><img class="nothumb" src="http://www.oratraining.com/blog/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter-big3.png" alt="Post to Twitter" /></a> <a class="tt" href="http://digg.com/submit?url=http://www.oratraining.com/blog/2010/04/unix-delete-or-rename-a-file-starting-with-hyphen-or-junk-character/&amp;title=Unix+delete+or+rename+a+file+starting+with+hyphen+or+junk+character" title="Post to Digg"><img class="nothumb" src="http://www.oratraining.com/blog/wp-content/plugins/tweet-this/icons/en/digg/tt-digg-big4.png" alt="Post to Digg" /></a></p></div><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.oratraining.com%2Fblog%2F2010%2F04%2Funix-delete-or-rename-a-file-starting-with-hyphen-or-junk-character%2F&amp;title=Unix%20delete%20or%20rename%20a%20file%20starting%20with%20hyphen%20or%20junk%20character" id="wpa2a_2"><img src="http://www.oratraining.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.oratraining.com/blog/2010/04/unix-delete-or-rename-a-file-starting-with-hyphen-or-junk-character/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

