<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>http://hlt.suda.edu.cn/index.php?action=history&amp;feed=atom&amp;title=Linux-2018-spring-4-3</id>
	<title>Linux-2018-spring-4-3 - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="http://hlt.suda.edu.cn/index.php?action=history&amp;feed=atom&amp;title=Linux-2018-spring-4-3"/>
	<link rel="alternate" type="text/html" href="http://hlt.suda.edu.cn/index.php?title=Linux-2018-spring-4-3&amp;action=history"/>
	<updated>2026-09-21T03:47:22Z</updated>
	<subtitle>本wiki的该页面的版本历史</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>http://hlt.suda.edu.cn/index.php?title=Linux-2018-spring-4-3&amp;diff=357&amp;oldid=prev</id>
		<title>2018年4月23日 (一) 13:01 Liying</title>
		<link rel="alternate" type="text/html" href="http://hlt.suda.edu.cn/index.php?title=Linux-2018-spring-4-3&amp;diff=357&amp;oldid=prev"/>
		<updated>2018-04-23T13:01:40Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2018年4月23日 (一) 13:01的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l17&quot; &gt;第17行：&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;第17行：&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          d、cp a.txt b.txt (a.txt,b.txt 命令行参数command-line arguments)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          d、cp a.txt b.txt (a.txt,b.txt 命令行参数command-line arguments)&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;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          e、C中 int main(int arga,char *argc[])&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;          e、C中 int main(int arga,char *argc[])&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: #202122; 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;      2、mv -r(&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: #202122; 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;      2、mv -r(&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; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      3、mkdir&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      3、mkdir&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;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      4、rm  &lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;      4、rm  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Liying</name></author>
	</entry>
	<entry>
		<id>http://hlt.suda.edu.cn/index.php?title=Linux-2018-spring-4-3&amp;diff=338&amp;oldid=prev</id>
		<title>Liying：创建页面，内容为“一、回顾上节课的内容  *命令的语法      1、cmd [opt]... [arg]...      2、linux下大小写区分（-r reverse;-R recursive） *简单命令      ls -...”</title>
		<link rel="alternate" type="text/html" href="http://hlt.suda.edu.cn/index.php?title=Linux-2018-spring-4-3&amp;diff=338&amp;oldid=prev"/>
		<updated>2018-04-03T04:13:24Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“一、回顾上节课的内容  *命令的语法      1、cmd [opt]... [arg]...      2、linux下大小写区分（-r reverse;-R recursive） *简单命令      ls -...”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;一、回顾上节课的内容&lt;br /&gt;
&lt;br /&gt;
*命令的语法&lt;br /&gt;
     1、cmd [opt]... [arg]...&lt;br /&gt;
     2、linux下大小写区分（-r reverse;-R recursive）&lt;br /&gt;
*简单命令&lt;br /&gt;
     ls -l&lt;br /&gt;
     rwx r-x ---&lt;br /&gt;
     &lt;br /&gt;
二、文件操作&lt;br /&gt;
&lt;br /&gt;
*简单命令&lt;br /&gt;
    1、cp -t(target)&lt;br /&gt;
         a、whereis cp（查看命令cp所在的位置：1、命令的可执行文件位置；2、命令的帮助文档）&lt;br /&gt;
         b、man cp&lt;br /&gt;
         &lt;br /&gt;
         d、cp a.txt b.txt (a.txt,b.txt 命令行参数command-line arguments)&lt;br /&gt;
         e、C中 int main(int arga,char *argc[])&lt;br /&gt;
     2、mv -r(递归删除文件)&lt;br /&gt;
     3、mkdir&lt;br /&gt;
     4、rm &lt;br /&gt;
        rmdir 删除文件夹（remove dir）,只能删除空文件夹&lt;br /&gt;
     5、less&lt;br /&gt;
    &lt;br /&gt;
     注：tab键自动补全&lt;br /&gt;
     注：AM:(0:00-12:00)ante meridiem or ante meridian; 上午；PM:(12:00-24:00)post meridiem or post meridian; 下午&lt;br /&gt;
&lt;br /&gt;
*文本文件查看命令&lt;br /&gt;
     1、文本文件：ASCII文件也称为文本文件，这种文件在磁盘中存放时每个字符对应一个字节，用于存放对应的ASCII码。&lt;br /&gt;
     2、二进制文件：二进制文件是按二进制的编码方式来存放文件的。hexdump(hexadecimal octal dump)十六进制文件查看器&lt;br /&gt;
     3、cat 拼接（concatenate） （不跟参数的时候：默认将标准输入的内容标准输出）&lt;br /&gt;
     4、tail(tail -n 3 a.txt:显示后三行；tail -f a.txt:若文件有增加显示增加的内容)&lt;br /&gt;
     5、wc:word count &lt;br /&gt;
     6、head：&lt;br /&gt;
     7、less/less is more：分屏/页 显示；空格 翻屏；上下箭头 按行移动；ctrl + f/b forward/backward；/ + 字符串或者正则表达式 进行搜索；:w 文件名 将文件另存&lt;br /&gt;
     8、man：在线文档online 离线offline；分屏展示的时候就调用了less。输入man man 的时候就会将man的说明文档调入，用less显示。输入 man printf （如果未指定数值，优先看作为命令的帮助文档）；man 3 printf C语言的库 ； man -f printf 非常简洁的说明； man -k search 查找包含search的文件&lt;br /&gt;
&lt;br /&gt;
*文件编辑器  &lt;br /&gt;
     1、vi --- vim:打开文件&lt;br /&gt;
          a.命令模式：按“Esc”回到命令模式；“h”“←”左；“k”“→”右；&lt;br /&gt;
          b.编辑模式/插入模式：按&amp;quot;i&amp;quot;进入编辑模式&lt;br /&gt;
          c.末行模式：在命令模式下，输入“：”进入末行模式&lt;/div&gt;</summary>
		<author><name>Liying</name></author>
	</entry>
</feed>