<?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>Tue, 05 May 2015 07:15:40 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>Grep a text from a specific file extension</title>
		<link>http://www.linuxask.com/questions/grep-a-text-from-a-specific-file-extension</link>
		<comments>http://www.linuxask.com/questions/grep-a-text-from-a-specific-file-extension#comments</comments>
		<pubDate>Tue, 05 May 2015 07:15:40 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[grep]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=4467</guid>
		<description><![CDATA[Grep a text from a specific file extension Answer: Suppose you want to grep a specific code from files with a specific file extension, you can try # grep -r --include \*.php 'error_log(' .<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/count-the-number-of-lines-contain-a-specific-string-using-grep" rel="bookmark" title="Count the number of lines contain a specific string using grep">Count the number of lines contain a specific string using grep </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-grep-a-string-in-a-binary-file" rel="bookmark" title="How to grep a string in a binary file?">How to grep a string in a binary file? </a></li>
<li><a href="http://www.linuxask.com/questions/count-the-number-of-matching-lines-from-grep" rel="bookmark" title="Count the number of matching lines from grep">Count the number of matching lines from grep </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Grep a text from a specific file extension</p>
<p><strong>Answer:</strong></p>
<p>Suppose you want to grep a specific code from files with a specific file extension, you can try</p>
<p><code># grep -r --include \*.php  'error_log(' . </code></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/count-the-number-of-lines-contain-a-specific-string-using-grep" rel="bookmark" title="Count the number of lines contain a specific string using grep">Count the number of lines contain a specific string using grep </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-grep-a-string-in-a-binary-file" rel="bookmark" title="How to grep a string in a binary file?">How to grep a string in a binary file? </a></li>
<li><a href="http://www.linuxask.com/questions/count-the-number-of-matching-lines-from-grep" rel="bookmark" title="Count the number of matching lines from grep">Count the number of matching lines from grep </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/grep-a-text-from-a-specific-file-extension/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to tail a remote file over ssh</title>
		<link>http://www.linuxask.com/questions/how-to-tail-a-remote-file-over-ssh</link>
		<comments>http://www.linuxask.com/questions/how-to-tail-a-remote-file-over-ssh#comments</comments>
		<pubDate>Wed, 02 Jul 2014 03:59:48 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[Bash]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=4432</guid>
		<description><![CDATA[How to tail a remote file over ssh Answer: If you want to tail a remote file over ssh, you can use # ssh -t remote-server "tail -f /var/log/log.txt"<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/what-are-the-difference-between-tail-f-and-tail-f" rel="bookmark" title="What are the difference between tail -f and tail -F?">What are the difference between tail -f and tail -F? </a></li>
<li><a href="http://www.linuxask.com/questions/edit-a-remote-file-with-vim-over-ssh" rel="bookmark" title="Edit a remote file with vim over SSH">Edit a remote file with vim over SSH </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 tail a remote file over ssh </p>
<p><strong>Answer:</strong></p>
<p>If you want to tail a remote file over ssh, you can use</p>
<p><code># ssh -t remote-server "tail -f /var/log/log.txt"</code></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/what-are-the-difference-between-tail-f-and-tail-f" rel="bookmark" title="What are the difference between tail -f and tail -F?">What are the difference between tail -f and tail -F? </a></li>
<li><a href="http://www.linuxask.com/questions/edit-a-remote-file-with-vim-over-ssh" rel="bookmark" title="Edit a remote file with vim over SSH">Edit a remote file with vim over SSH </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>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/how-to-tail-a-remote-file-over-ssh/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Writing more robust shell script</title>
		<link>http://www.linuxask.com/questions/writing-more-robust-shell-script</link>
		<comments>http://www.linuxask.com/questions/writing-more-robust-shell-script#comments</comments>
		<pubDate>Sat, 28 Jun 2014 04:10:58 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[Bash]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=4425</guid>
		<description><![CDATA[Writing more robust shell script Answer: You should always start your bash shell script with the line set -eu The meaning is: -e: cause the script to exit if an error -u: cause the script to exit if any variable is not set<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/how-to-get-the-pid-in-current-bash-shell-script" rel="bookmark" title="How to get the PID in current bash shell script">How to get the PID in current bash shell script </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-ignore-error-in-bash-script" rel="bookmark" title="How to ignore error in Bash script">How to ignore error in Bash script </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-make-shell-script-run-in-low-priority" rel="bookmark" title="How to make shell script run in low priority">How to make shell script run in low priority </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Writing more robust shell script</p>
<p><strong>Answer:</strong></p>
<p>You should always start your bash shell script with the line <code>set -eu</code></p>
<p>The meaning is:</p>
<ol>
<li>-e: cause the script to exit if an error</li>
<li>-u: cause the script to exit if any variable is not set</li>
</ol>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/how-to-get-the-pid-in-current-bash-shell-script" rel="bookmark" title="How to get the PID in current bash shell script">How to get the PID in current bash shell script </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-ignore-error-in-bash-script" rel="bookmark" title="How to ignore error in Bash script">How to ignore error in Bash script </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-make-shell-script-run-in-low-priority" rel="bookmark" title="How to make shell script run in low priority">How to make shell script run in low priority </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/writing-more-robust-shell-script/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to list system installed locales</title>
		<link>http://www.linuxask.com/questions/how-to-list-system-installed-locales</link>
		<comments>http://www.linuxask.com/questions/how-to-list-system-installed-locales#comments</comments>
		<pubDate>Tue, 17 Jun 2014 14:18:34 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[command]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=4421</guid>
		<description><![CDATA[How to list system installed locales Answer: You can list all system's currently installed locales via the command: locale -a<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/list-all-the-installed-gems" rel="bookmark" title="List all the installed gems">List all the installed gems </a></li>
<li><a href="http://www.linuxask.com/questions/list-all-installed-package-in-ubuntu" rel="bookmark" title="List all installed package in Ubuntu">List all installed package in 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>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>How to list system installed locales</p>
<p><strong>Answer:</strong></p>
<p>You can list all system's currently installed locales via the command: <code>locale -a</code></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/list-all-the-installed-gems" rel="bookmark" title="List all the installed gems">List all the installed gems </a></li>
<li><a href="http://www.linuxask.com/questions/list-all-installed-package-in-ubuntu" rel="bookmark" title="List all installed package in Ubuntu">List all installed package in 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>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/how-to-list-system-installed-locales/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mass resolve ip to hostname</title>
		<link>http://www.linuxask.com/questions/mass-resolve-ip-to-hostname</link>
		<comments>http://www.linuxask.com/questions/mass-resolve-ip-to-hostname#comments</comments>
		<pubDate>Thu, 12 Jun 2014 06:34:33 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[networking]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=4418</guid>
		<description><![CDATA[Mass resolve ip to hostname Answer: If you have a list of IPs and need to resolve to the hostname(via reverse DNS lookup), you can use the following command: cat ip_addresses.txt &#124; xargs -n 1 -P 100 -i dig -x {} +short<div class='yarpp-related-rss'>

Related posts:<ol>
<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>
<li><a href="http://www.linuxask.com/questions/how-to-resolve-the-binrm-argument-list-too-long-error" rel="bookmark" title="How to resolve the &#8216;/bin/rm: Argument list too long&#8217; error">How to resolve the &#8216;/bin/rm: Argument list too long&#8217; error </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-change-hostname-in-ubuntu" rel="bookmark" title="How to change hostname in Ubuntu?">How to change hostname in Ubuntu? </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Mass resolve ip to hostname</p>
<p><strong>Answer:</strong></p>
<p>If you have a list of IPs and need to resolve to the hostname(via reverse DNS lookup), you can use the following command:</p>
<pre><code>cat ip_addresses.txt | xargs -n 1 -P 100  -i dig -x {} +short</code></pre>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<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>
<li><a href="http://www.linuxask.com/questions/how-to-resolve-the-binrm-argument-list-too-long-error" rel="bookmark" title="How to resolve the &#8216;/bin/rm: Argument list too long&#8217; error">How to resolve the &#8216;/bin/rm: Argument list too long&#8217; error </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-change-hostname-in-ubuntu" rel="bookmark" title="How to change hostname in Ubuntu?">How to change hostname in Ubuntu? </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/mass-resolve-ip-to-hostname/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to find files and tar them together</title>
		<link>http://www.linuxask.com/questions/how-to-find-files-and-tar-them-together</link>
		<comments>http://www.linuxask.com/questions/how-to-find-files-and-tar-them-together#comments</comments>
		<pubDate>Tue, 10 Jun 2014 13:23:32 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[Bash]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=4416</guid>
		<description><![CDATA[How to find files and tar them together Answer: You can use the following command to find files and tar them together # find . -type f -print0 &#124; tar -czvf backup.tgz --null -T -<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/xargs-when-the-filename-contains-a-newline" rel="bookmark" title="xargs when the filename contains a newline">xargs when the filename contains a newline </a></li>
<li><a href="http://www.linuxask.com/questions/do-not-save-backup-copies-of-files-when-doing-revert-in-mercurial" rel="bookmark" title="Do not save backup copies of files when doing revert in Mercurial">Do not save backup copies of files when doing revert in Mercurial </a></li>
<li><a href="http://www.linuxask.com/questions/perform-xtrabackup-and-zip-to-a-file" rel="bookmark" title="Perform XtraBackup and zip to a file">Perform XtraBackup and zip to a file </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>How to find files and tar them together</p>
<p><strong>Answer:</strong></p>
<p>You can use the following command to find files and tar them together</p>
<p><code># find . -type f -print0 | tar -czvf backup.tgz --null -T -</code></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/xargs-when-the-filename-contains-a-newline" rel="bookmark" title="xargs when the filename contains a newline">xargs when the filename contains a newline </a></li>
<li><a href="http://www.linuxask.com/questions/do-not-save-backup-copies-of-files-when-doing-revert-in-mercurial" rel="bookmark" title="Do not save backup copies of files when doing revert in Mercurial">Do not save backup copies of files when doing revert in Mercurial </a></li>
<li><a href="http://www.linuxask.com/questions/perform-xtrabackup-and-zip-to-a-file" rel="bookmark" title="Perform XtraBackup and zip to a file">Perform XtraBackup and zip to a file </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/how-to-find-files-and-tar-them-together/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show changed files in git log</title>
		<link>http://www.linuxask.com/questions/show-changed-files-in-git-log</link>
		<comments>http://www.linuxask.com/questions/show-changed-files-in-git-log#comments</comments>
		<pubDate>Fri, 06 Jun 2014 08:08:58 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=4414</guid>
		<description><![CDATA[Show changed files in git log Answer: "git log" will not show the changed file in the output, to show it, use # git log --stat<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/show-changed-files-with-git-log" rel="bookmark" title="Show changed files with git log">Show changed files with git log </a></li>
<li><a href="http://www.linuxask.com/questions/show-hidden-files-in-mac-file-dialogs" rel="bookmark" title="Show hidden files in Mac file dialogs">Show hidden files in Mac file dialogs </a></li>
<li><a href="http://www.linuxask.com/questions/show-ignored-files-in-mercurial" rel="bookmark" title="Show ignored files in Mercurial">Show ignored files in Mercurial </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Show changed files in git log</p>
<p><strong>Answer:</strong></p>
<p>"<strong>git log</strong>" will not show the changed file in the output, to show it, use </p>
<p><code># git log --stat</code></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/show-changed-files-with-git-log" rel="bookmark" title="Show changed files with git log">Show changed files with git log </a></li>
<li><a href="http://www.linuxask.com/questions/show-hidden-files-in-mac-file-dialogs" rel="bookmark" title="Show hidden files in Mac file dialogs">Show hidden files in Mac file dialogs </a></li>
<li><a href="http://www.linuxask.com/questions/show-ignored-files-in-mercurial" rel="bookmark" title="Show ignored files in Mercurial">Show ignored files in Mercurial </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/show-changed-files-in-git-log/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change filename case of all files in a directory</title>
		<link>http://www.linuxask.com/questions/how-to-change-filename-case-of-all-files-in-a-directory</link>
		<comments>http://www.linuxask.com/questions/how-to-change-filename-case-of-all-files-in-a-directory#comments</comments>
		<pubDate>Fri, 30 May 2014 09:38:28 +0000</pubDate>
		<dc:creator><![CDATA[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=4410</guid>
		<description><![CDATA[How to change filename case of all files in a directory Answer: If you want to change the case of filename of all files in a directory, e.g. change to all UPPER case, you can use: # rename 'y/a-z/A-Z/' *<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/convert-all-text-in-a-file-from-upper-case-to-lower-case" rel="bookmark" title="Convert all text in a file from upper-case to lower-case">Convert all text in a file from upper-case to lower-case </a></li>
<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/how-to-change-the-mysql-temporary-directory" rel="bookmark" title="How to change the MySQL temporary directory">How to change the MySQL temporary directory </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>How to change filename case of all files in a directory</p>
<p><strong>Answer:</strong></p>
<p>If you want to change the case of filename of all files in a directory, e.g. change to all <strong>UPPER</strong> case, you can use:</p>
<p><code># rename 'y/a-z/A-Z/' *</code></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/convert-all-text-in-a-file-from-upper-case-to-lower-case" rel="bookmark" title="Convert all text in a file from upper-case to lower-case">Convert all text in a file from upper-case to lower-case </a></li>
<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/how-to-change-the-mysql-temporary-directory" rel="bookmark" title="How to change the MySQL temporary directory">How to change the MySQL temporary directory </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/how-to-change-filename-case-of-all-files-in-a-directory/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Batch resize images using imagemagick</title>
		<link>http://www.linuxask.com/questions/batch-resize-images-using-imagemagick</link>
		<comments>http://www.linuxask.com/questions/batch-resize-images-using-imagemagick#comments</comments>
		<pubDate>Thu, 29 May 2014 09:13:50 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[ImageMagick]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=4404</guid>
		<description><![CDATA[Batch resize images using imagemagick Answer: When you've installed imagemagick, you can mass resize images using the "mogrify" command, e.g. # mogrify -resize 320x240 *.jpg<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/combine-multiple-images-into-a-single-image-with-imagemagick" rel="bookmark" title="Combine multiple images into a single image with ImageMagick">Combine multiple images into a single image with ImageMagick </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/burn-an-iso-images-to-cdr-in-ubuntu" rel="bookmark" title="Burn an ISO images to CDR in Ubuntu">Burn an ISO images to CDR in Ubuntu </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Batch resize images using imagemagick</p>
<p><strong>Answer:</strong></p>
<p>When you've installed imagemagick, you can mass resize images using the "<strong>mogrify</strong>" command, e.g.</p>
<p><code># mogrify -resize 320x240 *.jpg</code></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/combine-multiple-images-into-a-single-image-with-imagemagick" rel="bookmark" title="Combine multiple images into a single image with ImageMagick">Combine multiple images into a single image with ImageMagick </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/burn-an-iso-images-to-cdr-in-ubuntu" rel="bookmark" title="Burn an ISO images to CDR in Ubuntu">Burn an ISO images to CDR in Ubuntu </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/batch-resize-images-using-imagemagick/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use Perl to split string instead of awk</title>
		<link>http://www.linuxask.com/questions/use-perl-to-split-string-instead-of-awk</link>
		<comments>http://www.linuxask.com/questions/use-perl-to-split-string-instead-of-awk#comments</comments>
		<pubDate>Thu, 29 May 2014 08:04:28 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[Advanced Linux]]></category>
		<category><![CDATA[Commands]]></category>
		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=4402</guid>
		<description><![CDATA[Use Perl to split string instead of awk Answer: If you know Perl well, there is no need to use awk to do string processing such as string splitting, it is easy with Perl also, e.g. # echo "foo,bar,k3" &#124; perl -F',' -lane 'print $F[1]' bar<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/split-a-string-into-array-in-perl" rel="bookmark" title="Split a string into array in Perl">Split a string into array in Perl </a></li>
<li><a href="http://www.linuxask.com/questions/trim-a-string-using-perl" rel="bookmark" title="Trim a string using Perl">Trim a string using Perl </a></li>
<li><a href="http://www.linuxask.com/questions/remove-the-last-character-of-a-string-in-perl" rel="bookmark" title="Remove the last character of a string in Perl">Remove the last character of a string in Perl </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Use Perl to split string instead of awk</p>
<p><strong>Answer:</strong></p>
<p>If you know Perl well, there is no need to use awk to do string processing such as string splitting, it is easy with Perl also, e.g.</p>
<pre><code># echo "foo,bar,k3"  | perl -F',' -lane 'print $F[1]'
bar
</code></pre>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/split-a-string-into-array-in-perl" rel="bookmark" title="Split a string into array in Perl">Split a string into array in Perl </a></li>
<li><a href="http://www.linuxask.com/questions/trim-a-string-using-perl" rel="bookmark" title="Trim a string using Perl">Trim a string using Perl </a></li>
<li><a href="http://www.linuxask.com/questions/remove-the-last-character-of-a-string-in-perl" rel="bookmark" title="Remove the last character of a string in Perl">Remove the last character of a string in Perl </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/use-perl-to-split-string-instead-of-awk/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
