Files
linux-wiki/public/小白手册/第一章/index.xml
2021-10-21 14:57:58 +08:00

95 lines
6.2 KiB
XML
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>第一章 on 星火文档中心</title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%AC%AC%E4%B8%80%E7%AB%A0/</link>
<description>Recent content in 第一章 on 星火文档中心</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Mon, 18 Oct 2021 16:59:28 +0800</lastBuildDate><atom:link href="http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%AC%AC%E4%B8%80%E7%AB%A0/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>1.1 一个非常重要的东西-终端</title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%AC%AC%E4%B8%80%E7%AB%A0/1.1/</link>
<pubDate>Mon, 18 Oct 2021 16:59:28 +0800</pubDate>
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%AC%AC%E4%B8%80%E7%AB%A0/1.1/</guid>
<description>第一节 一个非常重要的东西-终端
在你装好deepin以后四处找找你会找到一个叫做终端的应用。你也可以使用ctrl+alt+t快捷键唤起终端.
打开它,你会看到这样的东西
momen@momen-PC:~$
诶,这不是我的机子吗?:D
好吧你看到的是这样的东西
[用户名]@(主机名):~$
没错,你要开始打命令了
打命令之前,你需要的知道的几个关系,终端terminal,tty,shell和bash.
啊这&amp;hellip;
别慌,咱们先从字面意思来解释
terminal&amp;ndash;终点站;终端
tty&amp;ndash;终端; 电传打字机; 终端设备; 控制台; 控制终端;
shell&amp;ndash;壳
bash&amp;ndash;猛击
啊?什么玩意?越来越离谱?壳和猛击是什么东西?
问题不大,我们来一一解释.
狭义的来讲terminal=tty.
shell,他就是壳,没错就是那个王八顶的那个壳.他的对立面是核.他就像&amp;quot;cmd&amp;quot;,接受你发出的指令,解析你的命令后,再内核中运行.
bash是一个缩写,不是真的猛击啦.bash的全称为Bourne-Again SHell。
shell由许多种有bash / sh / ksh / csh / zsh.我们默认用的是bash.
shell有两种命令,内部命令和外部命令.这是个啥子哦?大家在用cmd的时候,应该都见过这个东西.&amp;ldquo;xxxxx&amp;quot;不是内部或外部命令,也不是可运行程序或批处理文件.
是不是很眼熟呢?
没错,他所说的内部命令和外部命令与linux所说的意思相似.
这个内部命令就是shell自带的命令,外部命令就是shell本身不具有,但是你另外赋给他的命令.
你可以用这些命令做许多大胆的事情.而这一切,你都需要打开终端来控制shell.
以下我来讲解几个常用命令
(未完待续)</description>
</item>
<item>
<title>1.2 shell脚本</title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%AC%AC%E4%B8%80%E7%AB%A0/1.2/</link>
<pubDate>Mon, 18 Oct 2021 16:59:28 +0800</pubDate>
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%AC%AC%E4%B8%80%E7%AB%A0/1.2/</guid>
<description>第二节&amp;ndash;shell脚本
上一节讲到了shell,一般来讲,我们使用一两条命令就可以了解决好多事情,但有的时候,需要n条命令才可以解决一个问题,如果它需要重复执行,他就像老太太的裹脚布又臭又长,这谁能顶得住?
既然像裹脚布,那么我们就要写脚本!
所有脚本都要写在 .sh文件
#!/bin/bash这一行是声明,shell要用bin下的bash来解释他.
写注释可以用#
比如我们可以再桌面上创建一个test.sh然后这样写
#!bin/bash #this is test.sh echo &amp;#34;I love DOSUCommunity&amp;#34; echo &amp;#34;this is my favorite community&amp;#34; 写完之后就可以了运行了
momen@momen-PC:~/Desktop$ sh test.sh
然后就会输出
momen@momen-PC:~/Desktop$ sh test.sh I love DOSUCommunity this is my favorite community 是不是很简单呢?
(未完待续)</description>
</item>
<item>
<title>1.3 命令安装现成deb包</title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%AC%AC%E4%B8%80%E7%AB%A0/1.3/</link>
<pubDate>Mon, 18 Oct 2021 16:59:28 +0800</pubDate>
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%AC%AC%E4%B8%80%E7%AB%A0/1.3/</guid>
<description> </description>
</item>
<item>
<title>第0页</title>
<link>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%AC%AC%E4%B8%80%E7%AB%A0/0/</link>
<pubDate>Mon, 18 Oct 2021 16:59:28 +0800</pubDate>
<guid>http://example.org/%E5%B0%8F%E7%99%BD%E6%89%8B%E5%86%8C/%E7%AC%AC%E4%B8%80%E7%AB%A0/0/</guid>
<description>第一章 初遇Linux 我们这一整个手册主要针对deepin操作系统Debian系列的其他发行版亦可借鉴。
首先我们先下载deepin镜像 官方iso仓库 http://cdimage.deepin.com/ (不推荐,速度慢) 中国大陆地区推荐使用清华大学下载源 中國港澳臺地區推薦使用Ubuntu正體中文站臺灣 更多官方授权的镜像站深度科技社区ISO仓库
下载以后,准备安装: 安装deepin大致有两个方案一个虚拟机方案一个实体机方案具体方案依靠自己来定。
配置方面推荐安装在2GB+50GB以及性能更好的电脑上但是注意每当amdintel有新品cpu发布时deepin不一定能在最新款cpu上正常运行通常需要一个月左右的时间才能适配完成。
虚拟机方案vmwareVirtualBox等都可以安装安装教程可以在第一节中找到。
实体机方案准备一个8GB或更大容量的U盘。以下有两种常用的烧制方案。注意无论哪种方案都会格式化u盘请备份资料。
方法一在官网下载“深度启动盘制作工具”使用工具烧制u盘
方案二【推荐】该方案适合需要经常刷机、重装各种系统的发烧友使用。使用ventoy制作好u盘后安装系统时只需把镜像拖入U盘即可。
烧录完成后根据自己主板的型号进入BIOSSecure Boot选项调为disabled。然后使用u盘启动deepin安装程序。
部分主板不需要关闭secure boot也可以安装</description>
</item>
</channel>
</rss>