<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Linux Ask!</title>
	
	<link>http://www.linuxask.com</link>
	<description>Linux Ask! is a Q &amp; A web site specific for Linux related questions such as how to use common Linux commands.</description>
	<lastBuildDate>Sun, 16 Jun 2013 03:55:13 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/linuxask" /><feedburner:info uri="linuxask" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by-nc-nd/2.0/</creativeCommons:license><item>
		<title>How to trace DNS from the root servers</title>
		<link>http://feedproxy.google.com/~r/linuxask/~3/yPjmVwzMg9s/how-to-trace-dns-from-the-root-servers</link>
		<comments>http://www.linuxask.com/questions/how-to-trace-dns-from-the-root-servers#comments</comments>
		<pubDate>Sun, 16 Jun 2013 03:54:46 +0000</pubDate>
		<dc:creator>Linux Ask!</dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux Security]]></category>
		<category><![CDATA[dns]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=4263</guid>
		<description><![CDATA[How to trace DNS from the root servers Answer: Use the command `dig`, e.g. dig +trace mit.edu ;; global options: +cmd . 19927 IN NS d.root-servers.net. . 19927 IN NS e.root-servers.net. . 19927 IN NS m.root-servers.net. . 19927 IN NS l.root-servers.net. . 19927 IN NS a.root-servers.net. . 19927 IN NS k.root-servers.net. . 19927 IN NS <a href='http://www.linuxask.com/questions/how-to-trace-dns-from-the-root-servers' class='excerpt-more'>[...]</a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/show-the-domain-name-servers-for-a-domain' rel='bookmark' title='Show the Domain Name Servers for a domain'>Show the Domain Name Servers for a domain</a></li>
<li><a href='http://www.linuxask.com/questions/why-cant-i-telnet-into-my-linux-box-as-root' rel='bookmark' title='Why can&#8217;t I telnet into my Linux box as root?'>Why can&#8217;t I telnet into my Linux box as root?</a></li>
<li><a href='http://www.linuxask.com/questions/how-do-i-run-a-root-command-on-linux' rel='bookmark' title='How do I run a root command on Linux?'>How do I run a root command on Linux?</a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>How to trace DNS from the root servers</p>
<p><strong>Answer:</strong></p>
<p>Use the command `<strong>dig</strong>`, e.g.</p>
<pre><code>dig +trace mit.edu

;; global options: +cmd
.			19927	IN	NS	d.root-servers.net.
.			19927	IN	NS	e.root-servers.net.
.			19927	IN	NS	m.root-servers.net.
.			19927	IN	NS	l.root-servers.net.
.			19927	IN	NS	a.root-servers.net.
.			19927	IN	NS	k.root-servers.net.
.			19927	IN	NS	f.root-servers.net.
.			19927	IN	NS	j.root-servers.net.
.			19927	IN	NS	b.root-servers.net.
.			19927	IN	NS	h.root-servers.net.
.			19927	IN	NS	g.root-servers.net.
.			19927	IN	NS	i.root-servers.net.
.			19927	IN	NS	c.root-servers.net.
;; Received 228 bytes from 8.8.8.8#53(8.8.8.8) in 12 ms

edu.			172800	IN	NS	a.edu-servers.net.
edu.			172800	IN	NS	c.edu-servers.net.
edu.			172800	IN	NS	d.edu-servers.net.
edu.			172800	IN	NS	f.edu-servers.net.
edu.			172800	IN	NS	g.edu-servers.net.
edu.			172800	IN	NS	l.edu-servers.net.
;; Received 260 bytes from 199.7.83.42#53(199.7.83.42) in 223 ms

mit.edu.		172800	IN	NS	usw2.akam.net.
mit.edu.		172800	IN	NS	asia1.akam.net.
mit.edu.		172800	IN	NS	asia2.akam.net.
mit.edu.		172800	IN	NS	use2.akam.net.
mit.edu.		172800	IN	NS	ns1-37.akam.net.
mit.edu.		172800	IN	NS	ns1-173.akam.net.
mit.edu.		172800	IN	NS	eur5.akam.net.
mit.edu.		172800	IN	NS	use5.akam.net.
;; Received 404 bytes from 192.31.80.30#53(192.31.80.30) in 548 ms

mit.edu.		20	IN	A	23.46.134.151
;; Received 41 bytes from 63.150.131.81#53(63.150.131.81) in 4 ms
</code></pre>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/show-the-domain-name-servers-for-a-domain' rel='bookmark' title='Show the Domain Name Servers for a domain'>Show the Domain Name Servers for a domain</a></li>
<li><a href='http://www.linuxask.com/questions/why-cant-i-telnet-into-my-linux-box-as-root' rel='bookmark' title='Why can&#8217;t I telnet into my Linux box as root?'>Why can&#8217;t I telnet into my Linux box as root?</a></li>
<li><a href='http://www.linuxask.com/questions/how-do-i-run-a-root-command-on-linux' rel='bookmark' title='How do I run a root command on Linux?'>How do I run a root command on Linux?</a></li>
</ol></p>
</div>
<img src="http://feeds.feedburner.com/~r/linuxask/~4/yPjmVwzMg9s" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/how-to-trace-dns-from-the-root-servers/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.linuxask.com/questions/how-to-trace-dns-from-the-root-servers</feedburner:origLink></item>
		<item>
		<title>Comment out multiple lines using vim</title>
		<link>http://feedproxy.google.com/~r/linuxask/~3/zgkBwLbetrU/comment-out-multiple-lines-using-vim</link>
		<comments>http://www.linuxask.com/questions/comment-out-multiple-lines-using-vim#comments</comments>
		<pubDate>Thu, 06 Jun 2013 11:34:07 +0000</pubDate>
		<dc:creator>Linux Ask!</dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=4259</guid>
		<description><![CDATA[Comment out multiple lines using vim Answer: When you want to comment out multiple lines in a configuration file or a program script, it is easy with the help of vim. Steps: 1. Change to command mode 2. Enable visual block editing by pressing Ctrl + V 3. Select the line(s) 4. Press "I", enter <a href='http://www.linuxask.com/questions/comment-out-multiple-lines-using-vim' class='excerpt-more'>[...]</a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/how-to-comment-out-a-large-block-of-lines-in-vi' rel='bookmark' title='How to comment out a large block of lines in vi?'>How to comment out a large block of lines in vi?</a></li>
<li><a href='http://www.linuxask.com/questions/how-can-i-comment-out-a-large-block-of-perl-code' rel='bookmark' title='How can I comment out a large block of Perl code?'>How can I comment out a large block of Perl code?</a></li>
<li><a href='http://www.linuxask.com/questions/how-to-execute-command-in-multiple-lines' rel='bookmark' title='How to execute command in multiple lines'>How to execute command in multiple lines</a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Comment out multiple lines using vim</p>
<p><strong>Answer:</strong></p>
<p>When you want to comment out multiple lines in a configuration file or a program script, it is easy with the help of vim.</p>
<p><strong>Steps:</strong></p>
<p>1. Change to command mode<br />
2. Enable visual block editing by pressing Ctrl + V<br />
3. Select the line(s)<br />
4. Press "I", enter the character you needed, e.g. "#"<br />
5. Press "Esc", then "Enter"</li>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/how-to-comment-out-a-large-block-of-lines-in-vi' rel='bookmark' title='How to comment out a large block of lines in vi?'>How to comment out a large block of lines in vi?</a></li>
<li><a href='http://www.linuxask.com/questions/how-can-i-comment-out-a-large-block-of-perl-code' rel='bookmark' title='How can I comment out a large block of Perl code?'>How can I comment out a large block of Perl code?</a></li>
<li><a href='http://www.linuxask.com/questions/how-to-execute-command-in-multiple-lines' rel='bookmark' title='How to execute command in multiple lines'>How to execute command in multiple lines</a></li>
</ol></p>
</div>
<img src="http://feeds.feedburner.com/~r/linuxask/~4/zgkBwLbetrU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/comment-out-multiple-lines-using-vim/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.linuxask.com/questions/comment-out-multiple-lines-using-vim</feedburner:origLink></item>
		<item>
		<title>Delete the word under the cursor in vim</title>
		<link>http://feedproxy.google.com/~r/linuxask/~3/tA0Ij-nopDI/delete-the-word-under-the-cursor-in-vim</link>
		<comments>http://www.linuxask.com/questions/delete-the-word-under-the-cursor-in-vim#comments</comments>
		<pubDate>Fri, 31 May 2013 11:33:11 +0000</pubDate>
		<dc:creator>Linux Ask!</dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[vim]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=4257</guid>
		<description><![CDATA[Delete the word under the cursor in vim Answer: When you in the command mode, you have two options to delete the word under the cursor daw: Delete the word under the cursor caw: Delete the word under the cursor and change to insert mode<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/move-cursor-to-the-start-of-line-in-vim' rel='bookmark' title='Move cursor to the start of line in VIM'>Move cursor to the start of line in VIM</a></li>
<li><a href='http://www.linuxask.com/questions/quickly-open-to-file-and-position-a-cursor-with-vim' rel='bookmark' title='Quickly open to file and position a cursor with vim'>Quickly open to file and position a cursor with vim</a></li>
<li><a href='http://www.linuxask.com/questions/move-cursor-to-the-end-of-the-line-in-your-shell' rel='bookmark' title='Move cursor to the end of the line in your shell'>Move cursor to the end of the line in your shell</a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Delete the word under the cursor in vim</p>
<p><strong>Answer:</strong></p>
<p>When you in the command mode, you have two options to delete the word under the cursor</p>
<pre>daw: Delete the word under the cursor    
caw: Delete the word under the cursor and change to insert mode</pre>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/move-cursor-to-the-start-of-line-in-vim' rel='bookmark' title='Move cursor to the start of line in VIM'>Move cursor to the start of line in VIM</a></li>
<li><a href='http://www.linuxask.com/questions/quickly-open-to-file-and-position-a-cursor-with-vim' rel='bookmark' title='Quickly open to file and position a cursor with vim'>Quickly open to file and position a cursor with vim</a></li>
<li><a href='http://www.linuxask.com/questions/move-cursor-to-the-end-of-the-line-in-your-shell' rel='bookmark' title='Move cursor to the end of the line in your shell'>Move cursor to the end of the line in your shell</a></li>
</ol></p>
</div>
<img src="http://feeds.feedburner.com/~r/linuxask/~4/tA0Ij-nopDI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/delete-the-word-under-the-cursor-in-vim/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.linuxask.com/questions/delete-the-word-under-the-cursor-in-vim</feedburner:origLink></item>
		<item>
		<title>How to disable MySQL from autostart when Ubuntu bootup</title>
		<link>http://feedproxy.google.com/~r/linuxask/~3/6YLlaP8yTJc/how-to-disable-mysql-from-autostart-when-ubuntu-bootup</link>
		<comments>http://www.linuxask.com/questions/how-to-disable-mysql-from-autostart-when-ubuntu-bootup#comments</comments>
		<pubDate>Sat, 18 May 2013 15:18:42 +0000</pubDate>
		<dc:creator>Linux Ask!</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=4249</guid>
		<description><![CDATA[How to disable MySQL from autostart when Ubuntu bootup Answer: A newer version of MySQL use upstart to autostart when system bootup, to disable it # sudo mkdir /etc/init.disabled # sudo mv /etc/init/mysql.conf /etc/init.disabled/<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/disable-a-service-in-ubuntu-using-upstart' rel='bookmark' title='Disable a service in Ubuntu using upstart'>Disable a service in Ubuntu using upstart</a></li>
<li><a href='http://www.linuxask.com/questions/etcinittab-is-missing-in-ubuntuetcinittab-is-missing-in-ubuntu' rel='bookmark' title='/etc/inittab is missing in Ubuntu'>/etc/inittab is missing in Ubuntu</a></li>
<li><a href='http://www.linuxask.com/questions/disable-dns-hostname-lookup-in-mysql' rel='bookmark' title='Disable DNS hostname lookup in MySQL'>Disable DNS hostname lookup in MySQL</a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>How to disable MySQL from autostart when Ubuntu bootup</p>
<p><strong>Answer:</strong></p>
<p>A newer version of MySQL use upstart to autostart when system bootup, to disable it</p>
<pre># sudo mkdir /etc/init.disabled
# sudo mv /etc/init/mysql.conf /etc/init.disabled/
</pre>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/disable-a-service-in-ubuntu-using-upstart' rel='bookmark' title='Disable a service in Ubuntu using upstart'>Disable a service in Ubuntu using upstart</a></li>
<li><a href='http://www.linuxask.com/questions/etcinittab-is-missing-in-ubuntuetcinittab-is-missing-in-ubuntu' rel='bookmark' title='/etc/inittab is missing in Ubuntu'>/etc/inittab is missing in Ubuntu</a></li>
<li><a href='http://www.linuxask.com/questions/disable-dns-hostname-lookup-in-mysql' rel='bookmark' title='Disable DNS hostname lookup in MySQL'>Disable DNS hostname lookup in MySQL</a></li>
</ol></p>
</div>
<img src="http://feeds.feedburner.com/~r/linuxask/~4/6YLlaP8yTJc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/how-to-disable-mysql-from-autostart-when-ubuntu-bootup/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.linuxask.com/questions/how-to-disable-mysql-from-autostart-when-ubuntu-bootup</feedburner:origLink></item>
		<item>
		<title>Generate random data in MongoDB</title>
		<link>http://feedproxy.google.com/~r/linuxask/~3/IvPOOIERRBI/generate-random-data-in-mongodb</link>
		<comments>http://www.linuxask.com/questions/generate-random-data-in-mongodb#comments</comments>
		<pubDate>Wed, 15 May 2013 15:16:21 +0000</pubDate>
		<dc:creator>Linux Ask!</dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[MongoDB]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=4246</guid>
		<description><![CDATA[Generate random data in MongoDB Answer: You can use the following method to generate random string into a collection in MongoDB: function randomString() { var chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz"; var randomstring = ''; var string_length = 100; for (var i=0; i&#60;string_length; i++) { var rnum = Math.floor(Math.random() * chars.length); randomstring += chars.substring(rnum,rnum+1); } return randomstring; } <a href='http://www.linuxask.com/questions/generate-random-data-in-mongodb' class='excerpt-more'>[...]</a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/generate-uuid-in-php' rel='bookmark' title='Generate UUID in PHP'>Generate UUID in PHP</a></li>
<li><a href='http://www.linuxask.com/questions/generate-random-number-in-linux' rel='bookmark' title='Generate random number in Linux'>Generate random number in Linux</a></li>
<li><a href='http://www.linuxask.com/questions/generate-random-number-in-perl' rel='bookmark' title='Generate random number in Perl'>Generate random number in Perl</a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Generate random data in MongoDB</p>
<p><strong>Answer:</strong></p>
<p>You can use the following method to generate random string into a collection in MongoDB:</p>
<pre><code>function randomString() { 
        var chars = 
"0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz"; 
        var randomstring = ''; 
        var string_length = 100;
        for (var i=0; i&lt;string_length; i++) { 
                var rnum = Math.floor(Math.random() * chars.length); 
                randomstring += chars.substring(rnum,rnum+1); 
        } 
        return randomstring; 
} 

for(var i=0; i<2000000; i++){db.test.save({x:i, data:randomString()});} 
</code></pre>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/generate-uuid-in-php' rel='bookmark' title='Generate UUID in PHP'>Generate UUID in PHP</a></li>
<li><a href='http://www.linuxask.com/questions/generate-random-number-in-linux' rel='bookmark' title='Generate random number in Linux'>Generate random number in Linux</a></li>
<li><a href='http://www.linuxask.com/questions/generate-random-number-in-perl' rel='bookmark' title='Generate random number in Perl'>Generate random number in Perl</a></li>
</ol></p>
</div>
<img src="http://feeds.feedburner.com/~r/linuxask/~4/IvPOOIERRBI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/generate-random-data-in-mongodb/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.linuxask.com/questions/generate-random-data-in-mongodb</feedburner:origLink></item>
		<item>
		<title>How to get the total database index size of my MongoDB</title>
		<link>http://feedproxy.google.com/~r/linuxask/~3/11J2E_8CZ_Y/how-to-get-the-total-database-index-size-of-my-mongodb</link>
		<comments>http://www.linuxask.com/questions/how-to-get-the-total-database-index-size-of-my-mongodb#comments</comments>
		<pubDate>Wed, 15 May 2013 07:47:01 +0000</pubDate>
		<dc:creator>Linux Ask!</dc:creator>
				<category><![CDATA[MongoDB]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=4235</guid>
		<description><![CDATA[How to get the total database index size of my MongoDB Answer: In you mongo shell, execute the following command: var sum = 0; db.getMongo().getDBs()["databases"].forEach(function(x) { sum += db.getMongo().getDB(x.name).stats().indexSize }); print(sum)<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/creates-an-index-in-mongodb' rel='bookmark' title='Creates an index in MongoDB'>Creates an index in MongoDB</a></li>
<li><a href='http://www.linuxask.com/questions/repair-and-compact-database-in-mongodb' rel='bookmark' title='Repair and compact database in MongoDB'>Repair and compact database in MongoDB</a></li>
<li><a href='http://www.linuxask.com/questions/create-an-index-on-a-document-in-mongodb' rel='bookmark' title='Create an index on a document in MongoDB'>Create an index on a document in MongoDB</a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>How to get the total database index size of my MongoDB</p>
<p><strong>Answer:</strong></p>
<p>In you mongo shell, execute the following command:</p>
<pre><code>var sum = 0; db.getMongo().getDBs()["databases"].forEach(function(x) { sum += db.getMongo().getDB(x.name).stats().indexSize }); print(sum)</code></pre>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/creates-an-index-in-mongodb' rel='bookmark' title='Creates an index in MongoDB'>Creates an index in MongoDB</a></li>
<li><a href='http://www.linuxask.com/questions/repair-and-compact-database-in-mongodb' rel='bookmark' title='Repair and compact database in MongoDB'>Repair and compact database in MongoDB</a></li>
<li><a href='http://www.linuxask.com/questions/create-an-index-on-a-document-in-mongodb' rel='bookmark' title='Create an index on a document in MongoDB'>Create an index on a document in MongoDB</a></li>
</ol></p>
</div>
<img src="http://feeds.feedburner.com/~r/linuxask/~4/11J2E_8CZ_Y" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/how-to-get-the-total-database-index-size-of-my-mongodb/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.linuxask.com/questions/how-to-get-the-total-database-index-size-of-my-mongodb</feedburner:origLink></item>
		<item>
		<title>How to change default system locale in Ubuntu</title>
		<link>http://feedproxy.google.com/~r/linuxask/~3/jRNhpy0QuaU/how-to-change-default-system-locale-in-ubuntu</link>
		<comments>http://www.linuxask.com/questions/how-to-change-default-system-locale-in-ubuntu#comments</comments>
		<pubDate>Sat, 11 May 2013 04:20:17 +0000</pubDate>
		<dc:creator>Linux Ask!</dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[locale]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=4254</guid>
		<description><![CDATA[How to change default system locale in Ubuntu Answer: Edit the file "/etc/default/locale" to the locale you want.<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/change-your-default-locale-on-ubuntu' rel='bookmark' title='Change your default locale on Ubuntu'>Change your default locale on Ubuntu</a></li>
<li><a href='http://www.linuxask.com/questions/how-to-add-a-locale-to-ubuntu-server' rel='bookmark' title='How to add a locale to Ubuntu server'>How to add a locale to Ubuntu server</a></li>
<li><a href='http://www.linuxask.com/questions/how-to-remove-a-locale-in-ubuntu-server' rel='bookmark' title='How to remove a locale in Ubuntu server'>How to remove a locale in Ubuntu server</a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>How to change default system locale in Ubuntu</p>
<p><strong>Answer:</strong></p>
<p>Edit the file "<strong>/etc/default/locale</strong>" to the locale you want.</p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/change-your-default-locale-on-ubuntu' rel='bookmark' title='Change your default locale on Ubuntu'>Change your default locale on Ubuntu</a></li>
<li><a href='http://www.linuxask.com/questions/how-to-add-a-locale-to-ubuntu-server' rel='bookmark' title='How to add a locale to Ubuntu server'>How to add a locale to Ubuntu server</a></li>
<li><a href='http://www.linuxask.com/questions/how-to-remove-a-locale-in-ubuntu-server' rel='bookmark' title='How to remove a locale in Ubuntu server'>How to remove a locale in Ubuntu server</a></li>
</ol></p>
</div>
<img src="http://feeds.feedburner.com/~r/linuxask/~4/jRNhpy0QuaU" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/how-to-change-default-system-locale-in-ubuntu/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.linuxask.com/questions/how-to-change-default-system-locale-in-ubuntu</feedburner:origLink></item>
		<item>
		<title>How to copy symbolic links as real files when using rsync</title>
		<link>http://feedproxy.google.com/~r/linuxask/~3/toM89r8DDQk/how-to-copy-symbolic-links-as-real-files-when-using-rsync</link>
		<comments>http://www.linuxask.com/questions/how-to-copy-symbolic-links-as-real-files-when-using-rsync#comments</comments>
		<pubDate>Fri, 10 May 2013 11:51:07 +0000</pubDate>
		<dc:creator>Linux Ask!</dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[Commands]]></category>
		<category><![CDATA[rsync]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=4233</guid>
		<description><![CDATA[How to copy symbolic links as real files when using rsync Answer: Use the -L or --copy-links option, e.g. rsync -avuz --copy-links -e ssh /home/john 192.168.1.5:/data/backup/<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/how-to-copy-symbolic-links-using-scp' rel='bookmark' title='How to copy symbolic links using scp'>How to copy symbolic links using scp</a></li>
<li><a href='http://www.linuxask.com/questions/how-to-mirror-a-directory-to-a-remote-server-over-ssh' rel='bookmark' title='How to mirror a directory to a remote server over SSH?'>How to mirror a directory to a remote server over SSH?</a></li>
<li><a href='http://www.linuxask.com/questions/copy-a-directory-for-backup-to-another-location' rel='bookmark' title='Copy a directory (for backup) to another location'>Copy a directory (for backup) to another location</a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>How to copy symbolic links as real files when using rsync</p>
<p><strong>Answer:</strong></p>
<p>Use the <strong>-L</strong> or <strong>--copy-links</strong> option, e.g.</p>
<pre><code>rsync -avuz --copy-links -e ssh /home/john 192.168.1.5:/data/backup/</code></pre>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/how-to-copy-symbolic-links-using-scp' rel='bookmark' title='How to copy symbolic links using scp'>How to copy symbolic links using scp</a></li>
<li><a href='http://www.linuxask.com/questions/how-to-mirror-a-directory-to-a-remote-server-over-ssh' rel='bookmark' title='How to mirror a directory to a remote server over SSH?'>How to mirror a directory to a remote server over SSH?</a></li>
<li><a href='http://www.linuxask.com/questions/copy-a-directory-for-backup-to-another-location' rel='bookmark' title='Copy a directory (for backup) to another location'>Copy a directory (for backup) to another location</a></li>
</ol></p>
</div>
<img src="http://feeds.feedburner.com/~r/linuxask/~4/toM89r8DDQk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/how-to-copy-symbolic-links-as-real-files-when-using-rsync/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.linuxask.com/questions/how-to-copy-symbolic-links-as-real-files-when-using-rsync</feedburner:origLink></item>
		<item>
		<title>Move forward or backward by a word in bash shell</title>
		<link>http://feedproxy.google.com/~r/linuxask/~3/Gi1Sb559OCo/move-forward-or-backward-by-a-word-in-bash-shell</link>
		<comments>http://www.linuxask.com/questions/move-forward-or-backward-by-a-word-in-bash-shell#comments</comments>
		<pubDate>Sun, 05 May 2013 05:35:53 +0000</pubDate>
		<dc:creator>Linux Ask!</dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[Commands]]></category>
		<category><![CDATA[Bash]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=4223</guid>
		<description><![CDATA[Move forward or backward by a word in bash shell Answer: To move more efficiently in bash shell, you can use the following short cuts Meta + f (move forward by a word) Meta + b (move backward by a word) The Meta key is the Alt key under most systems, on Mac, you would <a href='http://www.linuxask.com/questions/move-forward-or-backward-by-a-word-in-bash-shell' class='excerpt-more'>[...]</a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/remove-the-last-word-when-typing-a-command-in-bash' rel='bookmark' title='Remove the last word when typing a command in Bash'>Remove the last word when typing a command in Bash</a></li>
<li><a href='http://www.linuxask.com/questions/remove-the-whole-line-when-typing-a-command-in-bash' rel='bookmark' title='Remove the whole line when typing a command in Bash'>Remove the whole line when typing a command in Bash</a></li>
<li><a href='http://www.linuxask.com/questions/move-cursor-to-the-end-of-the-line-in-your-shell' rel='bookmark' title='Move cursor to the end of the line in your shell'>Move cursor to the end of the line in your shell</a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Move forward or backward by a word in bash shell</p>
<p><strong>Answer:</strong></p>
<p>To move more efficiently in bash shell, you can use the following short cuts</p>
<pre><code>Meta + f (move forward by a word)
Meta + b (move backward by a word)</code></pre>
<p>The <strong>Meta</strong> key is the <strong>Alt</strong> key under most systems, on Mac, you would need to enable "<strong>use option as meta key</strong>" in the Terminal's Preference.</p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/remove-the-last-word-when-typing-a-command-in-bash' rel='bookmark' title='Remove the last word when typing a command in Bash'>Remove the last word when typing a command in Bash</a></li>
<li><a href='http://www.linuxask.com/questions/remove-the-whole-line-when-typing-a-command-in-bash' rel='bookmark' title='Remove the whole line when typing a command in Bash'>Remove the whole line when typing a command in Bash</a></li>
<li><a href='http://www.linuxask.com/questions/move-cursor-to-the-end-of-the-line-in-your-shell' rel='bookmark' title='Move cursor to the end of the line in your shell'>Move cursor to the end of the line in your shell</a></li>
</ol></p>
</div>
<img src="http://feeds.feedburner.com/~r/linuxask/~4/Gi1Sb559OCo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/move-forward-or-backward-by-a-word-in-bash-shell/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.linuxask.com/questions/move-forward-or-backward-by-a-word-in-bash-shell</feedburner:origLink></item>
		<item>
		<title>How to copy symbolic links using scp</title>
		<link>http://feedproxy.google.com/~r/linuxask/~3/KJOHHwvA9Ys/how-to-copy-symbolic-links-using-scp</link>
		<comments>http://www.linuxask.com/questions/how-to-copy-symbolic-links-using-scp#comments</comments>
		<pubDate>Tue, 30 Apr 2013 11:48:18 +0000</pubDate>
		<dc:creator>Linux Ask!</dc:creator>
				<category><![CDATA[Commands]]></category>
		<category><![CDATA[scp]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=4229</guid>
		<description><![CDATA[How to copy symbolic links using scp Answer: The answer is no, you can't. You need to use other alternative like rsync. Reference: https://bugzilla.mindrot.org/show_bug.cgi?id=485<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/copy-a-directory-for-backup-to-another-location' rel='bookmark' title='Copy a directory (for backup) to another location'>Copy a directory (for backup) to another location</a></li>
<li><a href='http://www.linuxask.com/questions/how-to-cp-copy-files-without-asking-for-confirmation' rel='bookmark' title='How to cp (copy) files without asking for confirmation?'>How to cp (copy) files without asking for confirmation?</a></li>
<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>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>How to copy symbolic links using scp</p>
<p><strong>Answer:</strong></p>
<p>The answer is <strong>no</strong>, you can't.</p>
<p>You need to use other alternative like <strong><a href="http://www.linuxask.com/questions/how-to-mirror-a-directory-to-a-remote-server-over-ssh">rsync</a></strong>.</p>
<p>Reference: <a href="https://bugzilla.mindrot.org/show_bug.cgi?id=485">https://bugzilla.mindrot.org/show_bug.cgi?id=485</a></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href='http://www.linuxask.com/questions/copy-a-directory-for-backup-to-another-location' rel='bookmark' title='Copy a directory (for backup) to another location'>Copy a directory (for backup) to another location</a></li>
<li><a href='http://www.linuxask.com/questions/how-to-cp-copy-files-without-asking-for-confirmation' rel='bookmark' title='How to cp (copy) files without asking for confirmation?'>How to cp (copy) files without asking for confirmation?</a></li>
<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>
</ol></p>
</div>
<img src="http://feeds.feedburner.com/~r/linuxask/~4/KJOHHwvA9Ys" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/how-to-copy-symbolic-links-using-scp/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.linuxask.com/questions/how-to-copy-symbolic-links-using-scp</feedburner:origLink></item>
	</channel>
</rss>
