<?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; Office</title>
	<atom:link href="http://www.linuxask.com/topics/applications/office/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>Output the last N bytes of a file in Linux</title>
		<link>http://www.linuxask.com/questions/output-the-last-n-bytes-of-a-file-in-linux</link>
		<comments>http://www.linuxask.com/questions/output-the-last-n-bytes-of-a-file-in-linux#comments</comments>
		<pubDate>Tue, 19 Oct 2010 16:38:25 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[command]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=2459</guid>
		<description><![CDATA[Output the last N bytes of a file in Linux Answer: In previous article, we have shows how to print the first N bytes of a file in Linux. But how to print the last N bytes of a file instead? Solution: # tail --byte 4 input.txt ... The above command print the last 4 <a href='http://www.linuxask.com/questions/output-the-last-n-bytes-of-a-file-in-linux' class='excerpt-more'>[...]</a><div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/print-the-first-n-bytes-of-a-file-in-linux" rel="bookmark" title="Print the first N bytes of a file in Linux">Print the first N bytes of a file in Linux </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-perform-checksum-on-a-folder" rel="bookmark" title="How to perform checksum on a folder?">How to perform checksum on a folder? </a></li>
<li><a href="http://www.linuxask.com/questions/generate-dummy-file-in-linux" rel="bookmark" title="Generate dummy file in Linux">Generate dummy file in Linux </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Output the last N bytes of a file in Linux</p>
<p><strong>Answer:</strong></p>
<p>In previous <a href="http://www.linuxask.com/questions/print-the-first-n-bytes-of-a-file-in-linux">article</a>, we have shows how to print the<strong> first N bytes </strong>of a file in Linux. But how to print the <strong>last N bytes</strong> of a file instead?</p>
<p>Solution:</p>
<pre><code># tail --byte 4 input.txt
...
</code></pre>
<p>The above command print the <strong>last 4 bytes</strong> of the file<strong> input.txt</strong></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/print-the-first-n-bytes-of-a-file-in-linux" rel="bookmark" title="Print the first N bytes of a file in Linux">Print the first N bytes of a file in Linux </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-perform-checksum-on-a-folder" rel="bookmark" title="How to perform checksum on a folder?">How to perform checksum on a folder? </a></li>
<li><a href="http://www.linuxask.com/questions/generate-dummy-file-in-linux" rel="bookmark" title="Generate dummy file in Linux">Generate dummy file in Linux </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/output-the-last-n-bytes-of-a-file-in-linux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Print the first N bytes of a file in Linux</title>
		<link>http://www.linuxask.com/questions/print-the-first-n-bytes-of-a-file-in-linux</link>
		<comments>http://www.linuxask.com/questions/print-the-first-n-bytes-of-a-file-in-linux#comments</comments>
		<pubDate>Mon, 18 Oct 2010 16:35:41 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[Basic Linux]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[command]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=2456</guid>
		<description><![CDATA[Print the first N bytes of a file in Linux Answer: To print the first N bytes of a file in Linux, you can try the following method: # head --byte 4 input.txt ... The above command print the first 4 bytes of the file input.txt<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/output-the-last-n-bytes-of-a-file-in-linux" rel="bookmark" title="Output the last N bytes of a file in Linux">Output the last N bytes of a file in Linux </a></li>
<li><a href="http://www.linuxask.com/questions/generate-dummy-file-in-linux" rel="bookmark" title="Generate dummy file in Linux">Generate dummy file in Linux </a></li>
<li><a href="http://www.linuxask.com/questions/simple-file-encryption-with-openssl" rel="bookmark" title="Simple file encryption with OpenSSL">Simple file encryption with OpenSSL </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Print the first N bytes of a file in Linux</p>
<p><strong>Answer:</strong></p>
<p>To print the first N bytes of a file in Linux, you can try the following method:</p>
<pre><code># head --byte 4 input.txt
...
</code></pre>
<p>The above command print the <strong>first 4 bytes</strong> of the file<strong> input.txt</strong></p>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/output-the-last-n-bytes-of-a-file-in-linux" rel="bookmark" title="Output the last N bytes of a file in Linux">Output the last N bytes of a file in Linux </a></li>
<li><a href="http://www.linuxask.com/questions/generate-dummy-file-in-linux" rel="bookmark" title="Generate dummy file in Linux">Generate dummy file in Linux </a></li>
<li><a href="http://www.linuxask.com/questions/simple-file-encryption-with-openssl" rel="bookmark" title="Simple file encryption with OpenSSL">Simple file encryption with OpenSSL </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/print-the-first-n-bytes-of-a-file-in-linux/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Factor numbers in Linux</title>
		<link>http://www.linuxask.com/questions/factor-numbers-in-linux</link>
		<comments>http://www.linuxask.com/questions/factor-numbers-in-linux#comments</comments>
		<pubDate>Sat, 10 Jul 2010 10:53:53 +0000</pubDate>
		<dc:creator><![CDATA[Linux Ask!]]></dc:creator>
				<category><![CDATA[Commands]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[command]]></category>

		<guid isPermaLink="false">http://www.linuxask.com/?p=1848</guid>
		<description><![CDATA[Factor numbers in Linux Answer: This command is very handy for finding the prime factors of number n. E.g. # factor 100 100: 2 2 5 5<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/print-sequences-of-numbers-in-linux" rel="bookmark" title="Print sequences of numbers in Linux">Print sequences of numbers in Linux </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-sum-a-file-of-numbers" rel="bookmark" title="How to sum a file of numbers?">How to sum a file of numbers? </a></li>
<li><a href="http://www.linuxask.com/questions/give-line-numbers-to-a-text-file" rel="bookmark" title="Give line numbers to a text file">Give line numbers to a text file </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Factor numbers in Linux</p>
<p><strong>Answer:</strong></p>
<p>This command is very handy for finding the <strong>prime factors</strong> of number n.</p>
<p>E.g.</p>
<pre><code># factor 100
100: 2 2 5 5
</code></pre>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="http://www.linuxask.com/questions/print-sequences-of-numbers-in-linux" rel="bookmark" title="Print sequences of numbers in Linux">Print sequences of numbers in Linux </a></li>
<li><a href="http://www.linuxask.com/questions/how-to-sum-a-file-of-numbers" rel="bookmark" title="How to sum a file of numbers?">How to sum a file of numbers? </a></li>
<li><a href="http://www.linuxask.com/questions/give-line-numbers-to-a-text-file" rel="bookmark" title="Give line numbers to a text file">Give line numbers to a text file </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxask.com/questions/factor-numbers-in-linux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
