<?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>Linux Ask! &#187; Advanced Linux</title>
	<atom:link href="http://www.linuxask.com/topics/advanced-linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linuxask.com</link>
	<description>Linux Ask! is a Q &#38; A web site specific for Linux related questions such as how to use common Linux commands.</description>
	<lastBuildDate>Sat, 04 Feb 2012 05:57:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Convert all text in a file from upper-case to lower-case</title>
		<link>http://www.linuxask.com/questions/convert-all-text-in-a-file-from-upper-case-to-lower-case</link>
		<comments>http://www.linuxask.com/questions/convert-all-text-in-a-file-from-upper-case-to-lower-case#comments</comments>
		<pubDate>Fri, 27 Jan 2012 16:43:16 +0000</pubDate>
		<dc:creator>Linux Ask!</dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=3639</guid>
		<description><![CDATA[Convert all text in a file from upper-case to lower-case Answer: Just one command needed: # tr '[:upper:]' '[:lower:]' < input.txt Related posts: Case conversion of string in Linux Convert Windows text file to UNIX format without dos2unix Convert DOS/MAC to UNIX text file format converter
Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/case-conversion-of-string-in-linux' rel='bookmark' title='Case conversion of string in Linux'>Case conversion of string in Linux</a></li>
<li><a href='http://www.linuxask.com/questions/convert-windows-text-file-to-unix-format-without-dos2unix' rel='bookmark' title='Convert Windows text file to UNIX format without dos2unix'>Convert Windows text file to UNIX format without dos2unix</a></li>
<li><a href='http://www.linuxask.com/questions/convert-dosmac-to-unix-text-file-format-converter' rel='bookmark' title='Convert DOS/MAC to UNIX text file format converter'>Convert DOS/MAC to UNIX text file format converter</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Convert all text in a file from upper-case to lower-case</p>
<p><strong>Answer:</strong></p>
<p>Just one command needed:</p>
<p><code># tr '[:upper:]' '[:lower:]' < input.txt </code></p>
<p>Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/case-conversion-of-string-in-linux' rel='bookmark' title='Case conversion of string in Linux'>Case conversion of string in Linux</a></li>
<li><a href='http://www.linuxask.com/questions/convert-windows-text-file-to-unix-format-without-dos2unix' rel='bookmark' title='Convert Windows text file to UNIX format without dos2unix'>Convert Windows text file to UNIX format without dos2unix</a></li>
<li><a href='http://www.linuxask.com/questions/convert-dosmac-to-unix-text-file-format-converter' rel='bookmark' title='Convert DOS/MAC to UNIX text file format converter'>Convert DOS/MAC to UNIX text file format converter</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/convert-all-text-in-a-file-from-upper-case-to-lower-case/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Removed opened port in ufw</title>
		<link>http://www.linuxask.com/questions/removed-opened-port-in-ufw</link>
		<comments>http://www.linuxask.com/questions/removed-opened-port-in-ufw#comments</comments>
		<pubDate>Fri, 20 Jan 2012 09:47:08 +0000</pubDate>
		<dc:creator>Linux Ask!</dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[Commands]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[ufw]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=3631</guid>
		<description><![CDATA[Removed opened port in ufw Answer: If you have opened a port using the ufw command in Ubuntu, but now you want to delete it, you can.. # sudo ufw delete allow 8080/tcp And then do a reload # # sudo ufw reload That's all. Related posts: Open a TCP port in Ubuntu&#8217;s ufw firewall <a href='http://www.linuxask.com/questions/removed-opened-port-in-ufw'>[...]</a>
Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/open-a-tcp-port-in-ubuntus-ufw-firewall' rel='bookmark' title='Open a TCP port in Ubuntu&#8217;s ufw firewall'>Open a TCP port in Ubuntu&#8217;s ufw firewall</a></li>
<li><a href='http://www.linuxask.com/questions/simple-port-forwarding-using-ssh' rel='bookmark' title='Simple port forwarding using SSH'>Simple port forwarding using SSH</a></li>
<li><a href='http://www.linuxask.com/questions/what-is-the-smtp-submission-port-587' rel='bookmark' title='What is the SMTP submission port 587?'>What is the SMTP submission port 587?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Removed opened port in ufw</p>
<p><strong>Answer:</strong></p>
<p>If you have opened a port using the ufw command in Ubuntu, but now you want to delete it, you can..</p>
<p><code> # sudo ufw delete allow 8080/tcp </code></p>
<p>And then do a reload</p>
<p><code># # sudo ufw reload</code></p>
<p>That's all.</p>
<p>Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/open-a-tcp-port-in-ubuntus-ufw-firewall' rel='bookmark' title='Open a TCP port in Ubuntu&#8217;s ufw firewall'>Open a TCP port in Ubuntu&#8217;s ufw firewall</a></li>
<li><a href='http://www.linuxask.com/questions/simple-port-forwarding-using-ssh' rel='bookmark' title='Simple port forwarding using SSH'>Simple port forwarding using SSH</a></li>
<li><a href='http://www.linuxask.com/questions/what-is-the-smtp-submission-port-587' rel='bookmark' title='What is the SMTP submission port 587?'>What is the SMTP submission port 587?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/removed-opened-port-in-ufw/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Combine multiple images into a single image with ImageMagick</title>
		<link>http://www.linuxask.com/questions/combine-multiple-images-into-a-single-image-with-imagemagick</link>
		<comments>http://www.linuxask.com/questions/combine-multiple-images-into-a-single-image-with-imagemagick#comments</comments>
		<pubDate>Sun, 18 Sep 2011 13:41:41 +0000</pubDate>
		<dc:creator>Linux Ask!</dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[Graphics]]></category>
		<category><![CDATA[ImageMagick]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=3402</guid>
		<description><![CDATA[Combine multiple images into a single image with ImageMagick Answer: With the powerful ImageMagick program, we can easily handle common graphics tasks using command only. For example, to combine multiple images into a single image, we need just one command: # convert file1.jpg file2.jpg file3.jpg +append -quality 90 'output.jpg' The above command (file1.jpg file2.jpg file3.jpg) <a href='http://www.linuxask.com/questions/combine-multiple-images-into-a-single-image-with-imagemagick'>[...]</a>
Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/how-to-combine-the-output-of-multiple-commands-into-a-single-file' rel='bookmark' title='How to combine the output of multiple commands into a single file?'>How to combine the output of multiple commands into a single file?</a></li>
<li><a href='http://www.linuxask.com/questions/create-a-transparent-image-using-imagemagick' rel='bookmark' title='Create a transparent image using ImageMagick'>Create a transparent image using ImageMagick</a></li>
<li><a href='http://www.linuxask.com/questions/convert-html-to-image' rel='bookmark' title='Convert HTML to image'>Convert HTML to image</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Combine multiple images into a single image with ImageMagick </p>
<p><strong>Answer:</strong></p>
<p>With the powerful <a href="http://www.imagemagick.org"><strong>ImageMagick</strong></a> program, we can easily handle common graphics tasks using command only.</p>
<p>For example, to combine multiple images into a single image, we need just one command: </p>
<p><code># convert file1.jpg file2.jpg file3.jpg  +append -quality 90 'output.jpg'</code></p>
<p>The above command (file1.jpg file2.jpg file3.jpg) into the file <strong>output.jpg</strong> with quality set to 90.</p>
<p>Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/how-to-combine-the-output-of-multiple-commands-into-a-single-file' rel='bookmark' title='How to combine the output of multiple commands into a single file?'>How to combine the output of multiple commands into a single file?</a></li>
<li><a href='http://www.linuxask.com/questions/create-a-transparent-image-using-imagemagick' rel='bookmark' title='Create a transparent image using ImageMagick'>Create a transparent image using ImageMagick</a></li>
<li><a href='http://www.linuxask.com/questions/convert-html-to-image' rel='bookmark' title='Convert HTML to image'>Convert HTML to image</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/combine-multiple-images-into-a-single-image-with-imagemagick/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove all queued message in Postfix</title>
		<link>http://www.linuxask.com/questions/remove-all-queued-message-in-postfix</link>
		<comments>http://www.linuxask.com/questions/remove-all-queued-message-in-postfix#comments</comments>
		<pubDate>Sat, 10 Sep 2011 11:04:33 +0000</pubDate>
		<dc:creator>Linux Ask!</dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[postfix]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=3422</guid>
		<description><![CDATA[Remove all queued message in Postfix Answer: To remove queued message in your Postfix server, you should always check the queue listing first. When you have confirmed, then you can do 1. Remove specific message based on Queue ID (You can find the ID via postqueue command) # sudo postsuper -d Queue_ID 2. Remove all <a href='http://www.linuxask.com/questions/remove-all-queued-message-in-postfix'>[...]</a>
Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/show-current-postfix-queue-listing' rel='bookmark' title='Show current Postfix queue listing'>Show current Postfix queue listing</a></li>
<li><a href='http://www.linuxask.com/questions/debug-and-verify-postfix-configurations' rel='bookmark' title='Debug and verify Postfix configurations'>Debug and verify Postfix configurations</a></li>
<li><a href='http://www.linuxask.com/questions/how-to-send-message-to-a-syslog' rel='bookmark' title='How to send message to a syslog'>How to send message to a syslog</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Remove all queued message in Postfix</p>
<p><strong>Answer:</strong></p>
<p>To remove queued message in your <strong>Postfix </strong>server, you should always check the <a href="http://www.linuxask.com/questions/show-current-postfix-queue-listing">queue listing </a>first.</p>
<p>When you have confirmed, then you can do</p>
<p>1. Remove specific message based on Queue ID (You can find the ID via <a href="http://www.linuxask.com/questions/show-current-postfix-queue-listing">postqueue </a>command)</p>
<p><code># sudo postsuper -d Queue_ID</code></p>
<p>2. Remove all messages</p>
<p><code># sudo postsuper -d ALL</code></p>
<p>Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/show-current-postfix-queue-listing' rel='bookmark' title='Show current Postfix queue listing'>Show current Postfix queue listing</a></li>
<li><a href='http://www.linuxask.com/questions/debug-and-verify-postfix-configurations' rel='bookmark' title='Debug and verify Postfix configurations'>Debug and verify Postfix configurations</a></li>
<li><a href='http://www.linuxask.com/questions/how-to-send-message-to-a-syslog' rel='bookmark' title='How to send message to a syslog'>How to send message to a syslog</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/remove-all-queued-message-in-postfix/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Post a file to a server using the Curl command</title>
		<link>http://www.linuxask.com/questions/post-a-file-to-a-server-using-the-curl-command</link>
		<comments>http://www.linuxask.com/questions/post-a-file-to-a-server-using-the-curl-command#comments</comments>
		<pubDate>Sun, 04 Sep 2011 10:42:49 +0000</pubDate>
		<dc:creator>Linux Ask!</dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[Commands]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[curl]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=3439</guid>
		<description><![CDATA[Post a file to a server using the Curl command Answer: You can simulate a HTTP form post, with a file being uploaded to a remote server using the curl command. curl -F 'photo=@/upload/image.jpg' http://example.com/upload.php Assume the name of the form element of your upload is called "photo" Related posts: Show HTTP response using curl <a href='http://www.linuxask.com/questions/post-a-file-to-a-server-using-the-curl-command'>[...]</a>
Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/show-http-response-using-curl-command' rel='bookmark' title='Show HTTP response using curl command'>Show HTTP response using curl command</a></li>
<li><a href='http://www.linuxask.com/questions/show-http-response-header-using-curl' rel='bookmark' title='Show HTTP response header using curl'>Show HTTP response header using curl</a></li>
<li><a href='http://www.linuxask.com/questions/how-to-simulate-curl-using-wget-command' rel='bookmark' title='How to simulate curl using wget command?'>How to simulate curl using wget command?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Post a file to a server using the Curl command</p>
<p><strong>Answer:</strong></p>
<p>You can simulate a HTTP form post, with a file being uploaded to a remote server using the <strong>curl </strong>command.</p>
<pre><code>curl -F 'photo=@/upload/image.jpg' http://example.com/upload.php</code></pre>
<p>Assume the name of the form element of your upload is called "<strong>photo</strong>"</p>
<p>Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/show-http-response-using-curl-command' rel='bookmark' title='Show HTTP response using curl command'>Show HTTP response using curl command</a></li>
<li><a href='http://www.linuxask.com/questions/show-http-response-header-using-curl' rel='bookmark' title='Show HTTP response header using curl'>Show HTTP response header using curl</a></li>
<li><a href='http://www.linuxask.com/questions/how-to-simulate-curl-using-wget-command' rel='bookmark' title='How to simulate curl using wget command?'>How to simulate curl using wget command?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/post-a-file-to-a-server-using-the-curl-command/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Edit a remote file with vim over SSH</title>
		<link>http://www.linuxask.com/questions/edit-a-remote-file-with-vim-over-ssh</link>
		<comments>http://www.linuxask.com/questions/edit-a-remote-file-with-vim-over-ssh#comments</comments>
		<pubDate>Sat, 27 Aug 2011 13:56:34 +0000</pubDate>
		<dc:creator>Linux Ask!</dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[Commands]]></category>
		<category><![CDATA[command]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=3412</guid>
		<description><![CDATA[Edit a remote file with vim over SSH Answer: If you have a remote file and you can have a quick edit, if you use the following command: # ssh -t john@remote-server vim /data/test.txt You will be prompted to login if you don't have proper ssh key in the remote server, and after finishing editing <a href='http://www.linuxask.com/questions/edit-a-remote-file-with-vim-over-ssh'>[...]</a>
Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/copy-file-to-remote-server-using-scp' rel='bookmark' title='Copy file to remote server using scp'>Copy file to remote server using scp</a></li>
<li><a href='http://www.linuxask.com/questions/how-to-transfer-your-identity-pub-to-the-remote-machine%e2%80%99s-authorized_keys' rel='bookmark' title='How to transfer your identity.pub to the remote machine’s authorized_keys?'>How to transfer your identity.pub to the remote machine’s authorized_keys?</a></li>
<li><a href='http://www.linuxask.com/questions/block-a-remote-ip-address-using-iptables' rel='bookmark' title='Block a remote IP Address using iptables'>Block a remote IP Address using iptables</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Edit a remote file with vim over SSH</p>
<p><strong>Answer:</strong></p>
<p>If you have a remote file and you can have a quick edit, if you use the following command:</p>
<p><code># ssh  -t john@remote-server vim /data/test.txt</code></p>
<p>You will be prompted to login if you don't <a href="http://www.linuxask.com/questions/how-to-transfer-your-identity-pub-to-the-remote-machine%E2%80%99s-authorized_keys">have proper ssh key</a> in the remote server, and after finishing editing the file, you will quit the ssh session automatically.</p>
<p>Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/copy-file-to-remote-server-using-scp' rel='bookmark' title='Copy file to remote server using scp'>Copy file to remote server using scp</a></li>
<li><a href='http://www.linuxask.com/questions/how-to-transfer-your-identity-pub-to-the-remote-machine%e2%80%99s-authorized_keys' rel='bookmark' title='How to transfer your identity.pub to the remote machine’s authorized_keys?'>How to transfer your identity.pub to the remote machine’s authorized_keys?</a></li>
<li><a href='http://www.linuxask.com/questions/block-a-remote-ip-address-using-iptables' rel='bookmark' title='Block a remote IP Address using iptables'>Block a remote IP Address using iptables</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/edit-a-remote-file-with-vim-over-ssh/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delete files permanently with shred command</title>
		<link>http://www.linuxask.com/questions/delete-files-permanently-with-shred-command</link>
		<comments>http://www.linuxask.com/questions/delete-files-permanently-with-shred-command#comments</comments>
		<pubDate>Fri, 15 Jul 2011 14:22:57 +0000</pubDate>
		<dc:creator>Linux Ask!</dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[command]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=2499</guid>
		<description><![CDATA[Delete files permanently with shred command Answer: Sometimes we might need to delete files and don't want it can be recovered. To do so, use the shred command. # shred -v -n 10 -u -z test.txt The above command will overwrite the file 10 times before deleting it. Related posts: How to safety delete a <a href='http://www.linuxask.com/questions/delete-files-permanently-with-shred-command'>[...]</a>
Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/how-to-safety-delete-a-file-in-linux' rel='bookmark' title='How to safety delete a file in Linux?'>How to safety delete a file in Linux?</a></li>
<li><a href='http://www.linuxask.com/questions/delete-files-older-than-x-days-in-linux' rel='bookmark' title='Delete files older than x days in Linux?'>Delete files older than x days in Linux?</a></li>
<li><a href='http://www.linuxask.com/questions/delete-svn-folders-and-files' rel='bookmark' title='Delete svn folders and files'>Delete svn folders and files</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Delete files permanently with shred command</p>
<p><strong>Answer:</strong></p>
<p>Sometimes we might need to delete files and don't want it can be recovered.</p>
<p>To do so, use the <strong>shred </strong> command.</p>
<p><code># shred -v -n 10 -u -z test.txt</code></p>
<p>The above command will overwrite the file 10 times before deleting it.</p>
<p>Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/how-to-safety-delete-a-file-in-linux' rel='bookmark' title='How to safety delete a file in Linux?'>How to safety delete a file in Linux?</a></li>
<li><a href='http://www.linuxask.com/questions/delete-files-older-than-x-days-in-linux' rel='bookmark' title='Delete files older than x days in Linux?'>Delete files older than x days in Linux?</a></li>
<li><a href='http://www.linuxask.com/questions/delete-svn-folders-and-files' rel='bookmark' title='Delete svn folders and files'>Delete svn folders and files</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/delete-files-permanently-with-shred-command/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Import files and directories into a SVN repository</title>
		<link>http://www.linuxask.com/questions/import-files-and-directories-into-a-svn-repository</link>
		<comments>http://www.linuxask.com/questions/import-files-and-directories-into-a-svn-repository#comments</comments>
		<pubDate>Thu, 23 Jun 2011 16:56:30 +0000</pubDate>
		<dc:creator>Linux Ask!</dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=3137</guid>
		<description><![CDATA[Import files and directories into a SVN repository Answer: To import files and directories into a SVN repository, you can use the svn import command. E.g. Import all files and directories under the current working directory "project1" to a local SVN repository # cd /data/project1 svn import file:///data/svn/project1 Related posts: List files under a directory <a href='http://www.linuxask.com/questions/import-files-and-directories-into-a-svn-repository'>[...]</a>
Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/list-files-under-a-directory-in-svn-repository' rel='bookmark' title='List files under a directory in SVN repository'>List files under a directory in SVN repository</a></li>
<li><a href='http://www.linuxask.com/questions/update-the-local-cvs-repository' rel='bookmark' title='Update the local CVS repository'>Update the local CVS repository</a></li>
<li><a href='http://www.linuxask.com/questions/create-a-svn-repository-on-local-drive' rel='bookmark' title='Create a SVN Repository on local drive'>Create a SVN Repository on local drive</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Import files and directories into a SVN repository</p>
<p><strong>Answer:</strong></p>
<p>To import files and directories into a SVN repository, you can use the <strong>svn import</strong> command.</p>
<p>E.g.</p>
<p>Import all files and directories under the current working directory "<strong>project1</strong>" to a local SVN repository</p>
<pre><code># cd /data/project1
svn import file:///data/svn/project1
</code></pre>
<p>Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/list-files-under-a-directory-in-svn-repository' rel='bookmark' title='List files under a directory in SVN repository'>List files under a directory in SVN repository</a></li>
<li><a href='http://www.linuxask.com/questions/update-the-local-cvs-repository' rel='bookmark' title='Update the local CVS repository'>Update the local CVS repository</a></li>
<li><a href='http://www.linuxask.com/questions/create-a-svn-repository-on-local-drive' rel='bookmark' title='Create a SVN Repository on local drive'>Create a SVN Repository on local drive</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/import-files-and-directories-into-a-svn-repository/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a SVN Repository on local drive</title>
		<link>http://www.linuxask.com/questions/create-a-svn-repository-on-local-drive</link>
		<comments>http://www.linuxask.com/questions/create-a-svn-repository-on-local-drive#comments</comments>
		<pubDate>Tue, 21 Jun 2011 16:43:49 +0000</pubDate>
		<dc:creator>Linux Ask!</dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=3115</guid>
		<description><![CDATA[Create a SVN Repository on local drive Answer: To create a SVN Repository on local drive, you can use the following command: # cd /data/ # svnadmin create svn Now you have created a SVN repository located at file:///data/svn/ Related posts: Update the local CVS repository Import files and directories into a SVN repository Mount <a href='http://www.linuxask.com/questions/create-a-svn-repository-on-local-drive'>[...]</a>
Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/update-the-local-cvs-repository' rel='bookmark' title='Update the local CVS repository'>Update the local CVS repository</a></li>
<li><a href='http://www.linuxask.com/questions/import-files-and-directories-into-a-svn-repository' rel='bookmark' title='Import files and directories into a SVN repository'>Import files and directories into a SVN repository</a></li>
<li><a href='http://www.linuxask.com/questions/mount-a-usb-drive-in-ubuntu-using-command' rel='bookmark' title='Mount a USB drive in Ubuntu using command'>Mount a USB drive in Ubuntu using command</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Create a SVN Repository on local drive </p>
<p><strong>Answer:</strong></p>
<p>To create a <strong>SVN </strong>Repository on local drive, you can use the following command:</p>
<pre><code># cd /data/
# svnadmin create svn
</code></pre>
<p>Now you have created a SVN repository located at file:///data/svn/</p>
<p>Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/update-the-local-cvs-repository' rel='bookmark' title='Update the local CVS repository'>Update the local CVS repository</a></li>
<li><a href='http://www.linuxask.com/questions/import-files-and-directories-into-a-svn-repository' rel='bookmark' title='Import files and directories into a SVN repository'>Import files and directories into a SVN repository</a></li>
<li><a href='http://www.linuxask.com/questions/mount-a-usb-drive-in-ubuntu-using-command' rel='bookmark' title='Mount a USB drive in Ubuntu using command'>Mount a USB drive in Ubuntu using command</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/create-a-svn-repository-on-local-drive/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a swap partition using LVM</title>
		<link>http://www.linuxask.com/questions/create-a-swap-partition-using-lvm</link>
		<comments>http://www.linuxask.com/questions/create-a-swap-partition-using-lvm#comments</comments>
		<pubDate>Sun, 05 Jun 2011 05:32:49 +0000</pubDate>
		<dc:creator>Linux Ask!</dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[lvm]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=3035</guid>
		<description><![CDATA[Create a swap partition using LVM Answer: To create a swap partition using LVM, you just need a few commands! 1. Create a 1G swap partition # lvcreate -L 1G -n /dev/vg0/swap0 2. Set up a Linux swap partition # mkswap /dev/vg0/swap0 3. Enable it # swapon -s /dev/vg0/swap0 You might also want to put <a href='http://www.linuxask.com/questions/create-a-swap-partition-using-lvm'>[...]</a>
Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/create-a-new-ext3-file-system-using-lvm' rel='bookmark' title='Create a new ext3 file system using LVM'>Create a new ext3 file system using LVM</a></li>
<li><a href='http://www.linuxask.com/questions/how-to-display-swap-information-on-linux' rel='bookmark' title='How to display swap information on Linux'>How to display swap information on Linux</a></li>
<li><a href='http://www.linuxask.com/questions/how-to-convert-ext2-partition-to-ext3' rel='bookmark' title='How to convert ext2 partition to ext3?'>How to convert ext2 partition to ext3?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Create a swap partition using LVM</p>
<p><strong>Answer:</strong></p>
<p>To create a swap partition using <strong>LVM</strong>, you just need a few commands!</p>
<p>1. Create a 1G swap partition</p>
<p><code># lvcreate -L 1G -n /dev/vg0/swap0</code></p>
<p>2. Set up a Linux swap partition</p>
<p><code># mkswap /dev/vg0/swap0</code></p>
<p>3. Enable it</p>
<p><code># swapon -s  /dev/vg0/swap0</code></p>
<p>You might also want to put the settings in the<strong> /etc/fstab</strong>, so it will be mounted automatically when your system boot next time.</p>
<pre><code># sudo vi /etc/fstab

/dev/vg0/swap0       none            swap     sw              0       0
</code></pre>
<p>Save and restart your system to test if it is working when system reboot.</p>
<p>Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/create-a-new-ext3-file-system-using-lvm' rel='bookmark' title='Create a new ext3 file system using LVM'>Create a new ext3 file system using LVM</a></li>
<li><a href='http://www.linuxask.com/questions/how-to-display-swap-information-on-linux' rel='bookmark' title='How to display swap information on Linux'>How to display swap information on Linux</a></li>
<li><a href='http://www.linuxask.com/questions/how-to-convert-ext2-partition-to-ext3' rel='bookmark' title='How to convert ext2 partition to ext3?'>How to convert ext2 partition to ext3?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/create-a-swap-partition-using-lvm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

