<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Linux%2FC2%2FWorking-with-Regular-Files%2FEnglish-timed</id>
		<title>Linux/C2/Working-with-Regular-Files/English-timed - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Linux%2FC2%2FWorking-with-Regular-Files%2FEnglish-timed"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Linux/C2/Working-with-Regular-Files/English-timed&amp;action=history"/>
		<updated>2026-05-20T22:36:41Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Linux/C2/Working-with-Regular-Files/English-timed&amp;diff=22214&amp;oldid=prev</id>
		<title>Gaurav at 09:38, 28 May 2015</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Linux/C2/Working-with-Regular-Files/English-timed&amp;diff=22214&amp;oldid=prev"/>
				<updated>2015-05-28T09:38:49Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://script.spoken-tutorial.org/index.php?title=Linux/C2/Working-with-Regular-Files/English-timed&amp;amp;diff=22214&amp;amp;oldid=21850&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Gaurav</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Linux/C2/Working-with-Regular-Files/English-timed&amp;diff=21850&amp;oldid=prev</id>
		<title>Pratik kamble at 12:20, 7 May 2015</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Linux/C2/Working-with-Regular-Files/English-timed&amp;diff=21850&amp;oldid=prev"/>
				<updated>2015-05-07T12:20:43Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 12:20, 7 May 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 01:00&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 01:00&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|To copy a single file, we type:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|To copy a single file, we type: cp space one or more of the [OPTIONS]... space the name of the SOURCE file space the name of the destination file (DEST). &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/del&gt;cp space one or more of the [OPTIONS]... space the name of the SOURCE file space the name of the destination file (DEST). &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 01:15&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 01:15&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|To copy multiple files at the same time,&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|To copy multiple files at the same time,&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/del&gt;We write cp space one or more of the [OPTIONS]...the name of the SOURCE files that we want to copy and the name of the destination DIRECTORY in which these files would be copied.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;We write cp space one or more of the [OPTIONS]...the name of the SOURCE files that we want to copy and the name of the destination DIRECTORY in which these files would be copied.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 50:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 49:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 01:49&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 01:49&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|To see what is in test1, we type:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|To see what is in test1, we type:$ cat test1 and press Enter.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/del&gt;$ cat test1 and press Enter.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pratik kamble</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Linux/C2/Working-with-Regular-Files/English-timed&amp;diff=20745&amp;oldid=prev</id>
		<title>Sandhya.np14 at 05:35, 9 March 2015</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Linux/C2/Working-with-Regular-Files/English-timed&amp;diff=20745&amp;oldid=prev"/>
				<updated>2015-03-09T05:35:19Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 05:35, 9 March 2015&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 73:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 73:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 02:52&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 02:52&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|You can also copy files from and to different directories. For example&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|You can also copy files from and to different directories. For example&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;,&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;type: $ cp /home/anirban/arc/demo1 /home/anirban/demo2 and press Enter.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;type: $ cp /home/anirban/arc/demo1 /home/anirban/demo2 and press Enter.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 554:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 554:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 21:10&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 21:10&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Now let us use the '''wc''' command on this file.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Now let us use the '''wc''' command on this file.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Sandhya.np14</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Linux/C2/Working-with-Regular-Files/English-timed&amp;diff=20744&amp;oldid=prev</id>
		<title>Sandhya.np14 at 05:30, 9 March 2015</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Linux/C2/Working-with-Regular-Files/English-timed&amp;diff=20744&amp;oldid=prev"/>
				<updated>2015-03-09T05:30:52Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://script.spoken-tutorial.org/index.php?title=Linux/C2/Working-with-Regular-Files/English-timed&amp;amp;diff=20744&amp;amp;oldid=13144&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Sandhya.np14</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Linux/C2/Working-with-Regular-Files/English-timed&amp;diff=13144&amp;oldid=prev</id>
		<title>Pratik kamble at 11:26, 9 July 2014</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Linux/C2/Working-with-Regular-Files/English-timed&amp;diff=13144&amp;oldid=prev"/>
				<updated>2014-07-09T11:26:54Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://script.spoken-tutorial.org/index.php?title=Linux/C2/Working-with-Regular-Files/English-timed&amp;amp;diff=13144&amp;amp;oldid=10324&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Pratik kamble</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Linux/C2/Working-with-Regular-Files/English-timed&amp;diff=10324&amp;oldid=prev</id>
		<title>Vasudeva ahitanal at 08:00, 9 May 2014</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Linux/C2/Working-with-Regular-Files/English-timed&amp;diff=10324&amp;oldid=prev"/>
				<updated>2014-05-09T08:00:13Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 08:00, 9 May 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 1:00&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 1:00&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|To copy a single &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;sign &lt;/del&gt;we type&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|To copy a single &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;file &lt;/ins&gt;we type&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; cp space one or more of the [OPTION]... space the name of the SOURCE file space the name of the destination file DEST.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; cp space one or more of the [OPTION]... space the name of the SOURCE file space the name of the destination file DEST.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 191:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 191:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 8:36&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 8:36&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|The files have now been copied to see that the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;best &lt;/del&gt;directory actually exist type ls and press enter.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|The files have now been copied&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;to see that the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;test &lt;/ins&gt;directory actually exist type ls and press enter.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 275:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 275:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 11:10&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 11:10&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Say we have another file named anirban.This file we also want to renew as test2 &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Say we have another file named anirban. This file we also want to renew as test2 &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 432:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 432:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 17:21&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 17:21&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|But rmdir command normally deletes a directory only &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;den &lt;/del&gt;it is empty. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|But rmdir command normally deletes a directory only &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;then &lt;/ins&gt;it is empty. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 512:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 512:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 19:38&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| 19:38&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Type cat &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;sampe1 &lt;/del&gt;and press enter.It contains&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Type cat &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;sample1 &lt;/ins&gt;and press enter.It contains&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;the text “This is a Linux file to test the cmp command”&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;the text “This is a Linux file to test the cmp command”&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Vasudeva ahitanal</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Linux/C2/Working-with-Regular-Files/English-timed&amp;diff=2253&amp;oldid=prev</id>
		<title>Minal: Created page with '{| border=1 !Visual Cue !Narration |- | 0:00 |Welcome to this spoken tutorial on working with regular files in Linux.   |- | 0:07 |Files and directories together form the Linux F…'</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Linux/C2/Working-with-Regular-Files/English-timed&amp;diff=2253&amp;oldid=prev"/>
				<updated>2012-12-28T09:33:25Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;{| border=1 !Visual Cue !Narration |- | 0:00 |Welcome to this spoken tutorial on working with regular files in Linux.   |- | 0:07 |Files and directories together form the Linux F…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{| border=1&lt;br /&gt;
!Visual Cue&lt;br /&gt;
!Narration&lt;br /&gt;
|-&lt;br /&gt;
| 0:00&lt;br /&gt;
|Welcome to this spoken tutorial on working with regular files in Linux. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 0:07&lt;br /&gt;
|Files and directories together form the Linux File System.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 0:13&lt;br /&gt;
|In a previous tutorial we have already seen how to work with directories. You can find the tutorial at this website.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 0:25&lt;br /&gt;
|In this tutorial we will see how to handle regular files. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 0:31&lt;br /&gt;
|We have already seen in another tutorial how we can create a file using the cat command. For details please visit this website.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 0:46&lt;br /&gt;
|Let us see how to copy a file from one place to another. For this we have the cp command.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 0:55&lt;br /&gt;
|Let us see how the command is used.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1:00&lt;br /&gt;
|To copy a single sign we type&lt;br /&gt;
 cp space one or more of the [OPTION]... space the name of the SOURCE file space the name of the destination file DEST.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1:15&lt;br /&gt;
|To copy multiple files at the same time.&lt;br /&gt;
 We write cp space one or more of the [OPTION]...the name of the SOURCE... files that we want to copy and the name of the destination DIRECTORY in which these files would be copied.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1:34&lt;br /&gt;
|Let us now see an Eg.First we open a terminal. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 1:42&lt;br /&gt;
|We already have a file named test1 in /home/anirban/arc/&lt;br /&gt;
 &lt;br /&gt;
|-&lt;br /&gt;
| 1:49&lt;br /&gt;
|To see what is in test1.We type&lt;br /&gt;
 $ cat test1 and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 2:00&lt;br /&gt;
|As we can see the content of test1 is shown, now if we want to copy it into another file called test2 we would write. &lt;br /&gt;
&lt;br /&gt;
$ cp test1 test2 and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 2:22&lt;br /&gt;
|Now the file has been copied.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 2:25&lt;br /&gt;
|If test2 doesn't exist it would be first created and then the content of test1 will be copied to it.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 2:35&lt;br /&gt;
|If it already existed then it would be silently overwritten.To see the copied file type&lt;br /&gt;
&lt;br /&gt;
$ cat test2 and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 2:52&lt;br /&gt;
|You can also copy files from and to different directories.For example.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
type&lt;br /&gt;
&lt;br /&gt;
$ cp /home/anirban/arc/demo1 /home/anirban/demo2 and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 3:31&lt;br /&gt;
|What this will do is that it will copy the file demo1 from source diretory /home/anirban/arc/ to the destination directory  /home/anirban it will copy to a file name demo2.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 3:51&lt;br /&gt;
|To see that the demo2 is there type&lt;br /&gt;
ls space /home/anirban and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 4:13&lt;br /&gt;
|We scroll up as you can see here is demo2.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 4:19&lt;br /&gt;
|Before moving a head let us clear the screen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 4:25&lt;br /&gt;
|If you want the file to have the same name in the destination directory, you may not even mention the file name.For example&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 4:35&lt;br /&gt;
|Type $ cp /home/anirban/arc/demo1 /home/anirban/ and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 5:03&lt;br /&gt;
|This will again copy the file demo1 presenting the /home/anirban/arc/ directory to /home/anirban directory to a file whose name will be demo1 as well.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 5:20&lt;br /&gt;
|As before to see the demo1 type&lt;br /&gt;
ls/home/anirban and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 5:33&lt;br /&gt;
|Here again we would scroll up and as you can see the demo1 file is there.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 5:40&lt;br /&gt;
|Again before moving a head let us clear the screen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 5:48&lt;br /&gt;
|Another instance when we do not need to give the destination file name is when we want to copy multiple files.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 5:56&lt;br /&gt;
|We assume that we have three files named test1 test2 test3 in our home directory.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 6:04&lt;br /&gt;
|Now we type $ cp test1 test2 test3 /home/anirban/testdir and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 6:27&lt;br /&gt;
|This will copy all the three files test1,test2 and test3 to the directory /home/anirban/testdir without changing their names. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 6:41&lt;br /&gt;
|You see that this files have actually been copied.We will type ls /home/anirban/testdir and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 7:03&lt;br /&gt;
|As you can see test1,test2 and test3 are present in this directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 7:10&lt;br /&gt;
|There are many options that go with cp. Here we will see only the most important of them.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 7:18&lt;br /&gt;
|Let us first will go back to the slides.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 7:23&lt;br /&gt;
|Among the options -R is an important one. It causes recursive copying of an entire directory structure.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 7:33&lt;br /&gt;
|Let us see an example.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 7:38&lt;br /&gt;
|Let us try to copy all the contents of the testdir directory to a directory called test.&lt;br /&gt;
 &lt;br /&gt;
|-&lt;br /&gt;
| 7:48&lt;br /&gt;
|For that we would type cp testdir/ test and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 8:02&lt;br /&gt;
|As you can see from the output message.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 8:06&lt;br /&gt;
|Normally we cannot copy a directory having a some content directly with cp command.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 8:14&lt;br /&gt;
|But using the -R option we can do this.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 8:19&lt;br /&gt;
|Now we type cp -R testdir/ test and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 8:36&lt;br /&gt;
|The files have now been copied to see that the best directory actually exist type ls and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 8:47&lt;br /&gt;
|As you can see the test directory exists. Let us clear the screen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 8:57&lt;br /&gt;
|To see the contents inside test type ls test and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 9:08&lt;br /&gt;
|You can see the contents of the test directory.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 9:13&lt;br /&gt;
|Now we go back to the slides.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 9:16&lt;br /&gt;
|We have seen if a file is copied to another file that already exists the existing file is overwritten.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 9:25&lt;br /&gt;
|Now what if we inadvertently overwrite an important file?&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 9:30&lt;br /&gt;
|To prevent anything like this to occur, we have the -b option.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 9:36&lt;br /&gt;
|This makes a backup of each exiting destination file.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 9:41&lt;br /&gt;
|We can also use the -i(interactive)option, this always warns us before overwriting any destination file. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 9:54&lt;br /&gt;
|Now let us see how the mv command works. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 9:59&lt;br /&gt;
|This is used for moving files. Now how is that useful?&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 10:04&lt;br /&gt;
|It has two major uses.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 10:07&lt;br /&gt;
|It is used for rename a file or directory.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 10:11&lt;br /&gt;
|It also moves a group of files to a different directory.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 10:17&lt;br /&gt;
|mv is very similar to cp which we have already seen. So let us quickly see how mv can be used. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 10:29&lt;br /&gt;
|We open the terminal and type $ mv test1 test2 and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 10:43&lt;br /&gt;
|This will rename the file named test1 which was already present in the home directory to a file named test2. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 10:52&lt;br /&gt;
|If test2 already existed then it would be overwritten silently.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 11:00&lt;br /&gt;
|If we want our warning before the file is overwritten.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 11:05&lt;br /&gt;
|We can use the -i option with the mv command.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 11:10&lt;br /&gt;
|Say we have another file named anirban.This file we also want to renew as test2 &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 11:20&lt;br /&gt;
|We will type mv -i anirban test2 and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 11:32&lt;br /&gt;
|As you can see a warning is provided asking whether test2 should be overwritten or not. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 11:41&lt;br /&gt;
|If we press y and then press enter, the file would be actually overwritten.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 11:49&lt;br /&gt;
|Like cp we can use mv with multiple files but in that case the destination should be a directory.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 11:58&lt;br /&gt;
|Before moving ahead let us clear the screen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 12:03&lt;br /&gt;
|Suppose we have 3 files named abc.txt, pop.txt and push.txt in our home directory.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 12:14&lt;br /&gt;
|To see there presence type ls and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 12:21&lt;br /&gt;
|Here are the files pop.txt,push.txt and abc.txt Let us clear the screen.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 12:36&lt;br /&gt;
|Now we want to move this three files to a directory called testdir.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 12:46&lt;br /&gt;
|What we need to do is type mv abc.txt pop.txt push.txt and then the name of the destination folder which is testdir and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 13:14&lt;br /&gt;
|To see them type ls testdir and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 13:20&lt;br /&gt;
|You can see the files abc, pop and push.txt.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 13:27&lt;br /&gt;
|Now let us see some options that go with mv. Let us first go back to the slides.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 13:37&lt;br /&gt;
|Then -b or –backup option is present with the mv command.It will backup every file in the destination before it is overwritten. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 13:48&lt;br /&gt;
|The -i option that we have already seen warns us before overwriting any destination file.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 13:58&lt;br /&gt;
|The next command we will see is the rm command. This command is used for deleting files. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 14:06&lt;br /&gt;
|Go back to the terminal and type ls testdir.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 14:15&lt;br /&gt;
|We can see a file name faq.txt present.Say we want to delete it.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 14:23&lt;br /&gt;
|For this we type&lt;br /&gt;
$ rm testdir/faq.txt and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 14:37&lt;br /&gt;
|This command will remove the file faq.txt from the /testdir directory.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 14:46&lt;br /&gt;
|To see that the file has been actually removed or not.Let us again press ls testdir and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 15:00&lt;br /&gt;
|We can no longer see the file faq.txt.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 15:05&lt;br /&gt;
|We can use the rm command with multiple files as well.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 15:10&lt;br /&gt;
|The testdir directory contains two files abc2 and abc1.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 15:17&lt;br /&gt;
|Suppose we want to remove this files abc1 and abc2.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 15:23&lt;br /&gt;
|For this we would type rm testdir/abc1 testdir/abc2 and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 15:45&lt;br /&gt;
|This remove the files abc1 and abc2 from testdir directory.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 15:53&lt;br /&gt;
|To see that they have been removed type ls testdir again.You can no longer see abc1 and abc2.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 16:07&lt;br /&gt;
|Let us clear the screen before moving ahead. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 16:14&lt;br /&gt;
|Now let us go back to the slides.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 16:18&lt;br /&gt;
|Let us summarize what we just said?&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 16:20&lt;br /&gt;
|That is do delete a single file we write rm and than the name of the file.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 16:27&lt;br /&gt;
|To delete multiple files we write rm and the name of the multiple files that we want to delete.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 16:34&lt;br /&gt;
|Now let us look into some of the options of the rm command.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 16:40&lt;br /&gt;
|Sometimes a file is write protected,using rm will not delete the file then. In this case we have the -f option which can be used to force delete a file.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 16:57&lt;br /&gt;
|The other common option is the -r option. Let us see where this options are useful?&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 17:07&lt;br /&gt;
|Let us switch back to the terminal.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 17:12&lt;br /&gt;
|rm command is not normally used for deleting directories, for that we have the rmdir command.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 17:21&lt;br /&gt;
|But rmdir command normally deletes a directory only den it is empty. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 17:27&lt;br /&gt;
|What if we want to delete a directory that has a number of files and subdirectories inside. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 17:35&lt;br /&gt;
|Let us try the rm command to do this.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 17:38&lt;br /&gt;
|Let us type rm and the directory that we want to delete which is testdir and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 17:47&lt;br /&gt;
|From the output message we can see that we can not use the rm directory to delete testdir.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 17:55&lt;br /&gt;
|But if we combine the -r and -f option then we can do this.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 18:03&lt;br /&gt;
|Press rm -rf testdir and then press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 18:16&lt;br /&gt;
|Now the testdir directory has been successfully deleted.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 18:22&lt;br /&gt;
|Let us now go back to the slides to study the next command.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 18:27&lt;br /&gt;
|The cmp command.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 18:29&lt;br /&gt;
|Sometimes we need to check whether two files are same. If they are same then we may delete one of them.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 18:37&lt;br /&gt;
|Also we may want to see whether a file has changed since the last version. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 18:44&lt;br /&gt;
|For these and many other purposes we can use the cmp command.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 18:49&lt;br /&gt;
|It compares two files byte by byte.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 18:54&lt;br /&gt;
|To compare file1 and file2 we would write cmp file1 file2.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 19:03&lt;br /&gt;
|If the two files have exactly same content then no message would be shown.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 19:11&lt;br /&gt;
|Only the prompt will be printed. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 19:14&lt;br /&gt;
|If there are differences in their contents then the location of the first mismatch will be printed on the terminal. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 19:25&lt;br /&gt;
|Let us see how cmp works.We have two files named sample1 and sample2 in our home directory.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 19:35&lt;br /&gt;
|Let us see what they contain?&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 19:38&lt;br /&gt;
|Type cat sampe1 and press enter.It contains&lt;br /&gt;
the text “This is a Linux file to test the cmp command”&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 19:50&lt;br /&gt;
|The other file sample2 will contain the text and to see that we will type cat sample2 and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 20:00&lt;br /&gt;
|It will contain the text “This is a Unix file to test the cmp command.”&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 20:06&lt;br /&gt;
|Now we would apply the cmp command on this two files.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 20:11&lt;br /&gt;
|We will write cmp sample1 sample2 and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 20:23&lt;br /&gt;
|As we can see the first difference between the two files sample1 and sample2 is pointed out. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 20:32&lt;br /&gt;
|Let us clear the screen before moving ahead to the next command.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 20:38&lt;br /&gt;
|The next command we will see is the wc command.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 20:43&lt;br /&gt;
|This command is used to count the number of characters, words and lines in a file.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 20:50&lt;br /&gt;
|We have a file named sample3 in our home directory.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 20:56&lt;br /&gt;
|Let us see its content, for that we will type cat sample3 and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 21:05&lt;br /&gt;
|This is the content of sample3.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 21:10&lt;br /&gt;
|Now let us use the wc command on this file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 21:14&lt;br /&gt;
|For that we would write wc sample3 and press enter.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 21:25&lt;br /&gt;
|The command points out that the file has 6 lines, 67 words and 385 characters.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 21:38&lt;br /&gt;
|These were some of the commands that help us to work with files.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 21:43&lt;br /&gt;
|There are many more commands. Moreover each of the command that we saw has many other options. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 21:51&lt;br /&gt;
|I encourage you to see more about them using the man command.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 22:00&lt;br /&gt;
|This brings me to the end of this tutorial at last.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 22:04&lt;br /&gt;
| Spoken Tutorial Project is a part of the Talk to a Teacher project, supported by the National Mission on Education through ICT, MHRD, Government of India. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 22:17&lt;br /&gt;
|More information on the same is available at the following link http://spoken-tutorial.org/NMEICT-Intro. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| 22:34&lt;br /&gt;
|This is Anirban signing off . Thanks for joining.&lt;/div&gt;</summary>
		<author><name>Minal</name></author>	</entry>

	</feed>