⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 0160startlinux.htm

📁 鸟哥的linux私房菜
💻 HTM
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
	>
<html lang="zh-TW">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=gb2312" >
	<meta name="Author" content="VBird, 鸟哥" >
	<meta name="Description" content="首次进入 Linux 的开机、关机与指令下达方式的介绍" >
	<title>鸟哥的 Linux 私房菜 -- 开机关机、线上求助与指令下达方式</title>
	<style type="text/css">
	 	body {
			background-color: #D3D3D3;
			color: #000000;
			background-attachment:fixed ;
		}
				body,th,td,input,select,textarea,select,checkbox {
			font-family: '新细明体', 'Times New Roman', serif;
			font-size: 11pt ;
		}
		a:link		{text-decoration: none; color: blue}
		a:visited	{text-decoration: none; color: blue}
		a:active	{text-decoration: none; color: blue}
		a:hover		{text-decoration: underline; color: #ff0000}
				table.head1	{width:100%; background-color: #FFCCCC; 
				 border-style:groove;border-width:5px;border-color: #FFCCCC; margin:0;
				 padding: 5px 5px}
		   		   td.head1	{font: 10pt "新细明体", serif; color: #000099; }
		   		   td.info1	{font: 11pt "新细明体", serif; color: #000066; text-align:center; width:14%}
		   td.info2	{font: 11pt "新细明体", serif; color: #000066; text-align:center; width:12%}
		    *.info21	{font: 11pt "新细明体", serif; color: #000066; }
		    *.info22	{font: 11pt "新细明体", serif; color: blue  ; }
		    *.info23	{font: 11pt "新细明体", serif; color: green ; }
		   td.info3	{font: 11pt "新细明体", serif; color: #000066; text-align:justify}
				*.text_head0	{font-size:18pt; font-family:'标楷体','Times New Roman','Times', serif; }
		*.text_head_en	{font-size:18pt; font-family:'Times New Roman','Times', serif; }
				*.text_h1	{font: 15pt "新细明体", serif; color: #0000BB; font-weight: bold }
				*.text_h2	{font: 13pt "新细明体", serif; color: #0000BB; font-weight: bold }
				*.text_import1	{font:  11pt "新细明体", serif; color: #000088; font-weight: bold  }
		*.text_import2	{font:  11pt "新细明体", serif; color: #000088; font-weight: normal}
		*.text_vbird	{font:  11pt "新细明体", serif; color: #000088; font-weight: normal; 
				 font-style: italic;}
		*.text_history	{font:  10pt "新细明体", serif; color: #000066; }
		*.text_date	{font:  10pt "新细明体", serif; color: #3333FF; }
				*.block1	{padding: 10px 20px 10px 25px; text-align:left }
				*.block2	{padding: 10px 0px  10px 25px; text-align:left }
	    table.term2		{width: 350px; background-color: #000000;
				 border-style:groove;border-width:3px;border-color: #FFCCCC; margin:10px 0px;}
	    	    table.term		{width: 580px; background-color: #000000;
				 border-style:groove;border-width:3px;border-color: #FFCCCC; margin:10px 0px;}
	       	       td.term		{font:  10pt "细明体", Fixedsys, serif; color: #FFFFFF; }
		*.term_hd	{font:  10pt "细明体", Fixedsys, serif; color: #BBBBBB; }
		*.term_note	{font:  10pt "细明体", Fixedsys, serif; color: #777777; font-weight: normal }
		*.term_note_b	{font:  10pt "细明体", Fixedsys, serif; color: #FF77FF; font-weight: bolder }
		*.term_command	{font:  10pt "细明体", Fixedsys, serif; color: yellow ; font-weight: bolder }
		*.term_write	{font:  10pt "细明体", Fixedsys, serif; color: yellow ; font-weight: normal }
		*.term_say	{font:  10pt "细明体", Fixedsys, serif; color: #FF6666; font-weight: normal }
	</style>
	
</head>
<body style="margin:0; padding:0">
<center>


<!-- 这里是关于页首按钮处的按钮程式 -->
<div style="text-align:center">
<span style="font-weight:bolder; color:#3333FF"><span class="text_head0">鸟哥的<span class="text_head_en"> 
	Linux </span>私房菜</span></span><br />
<span style="color:#000080">为取得较佳浏览结果,请爱用 <a href="http://moztw.org" target="_blank">firefox</a>
	浏览本网页</span><br />
<a href="http://linux.vbird.org/" target="_blank"
	onmouseover="document.head_icon1.src='../images/icon_VBird_on.jpg'"
	onfocus="document.head_icon1.src='../images/icon_VBird_on.jpg'"
	onmouseout="document.head_icon1.src='../images/icon_VBird_off.jpg'">
	<img alt="前往鸟哥的 Linux 私房菜馆首页" title="前往鸟哥的 Linux 私房菜馆首页" name="head_icon1"
		src="../images/icon_VBird_off.jpg" border="0" /></a>
<a target="_blank" href="http://linux.vbird.org/linux_basic"
	onmouseover="document.head_icon2.src='../images/icon_basic_on.jpg'"
	onfocus="document.head_icon2.src='../images/icon_basic_on.jpg'"
	onmouseout="document.head_icon2.src='../images/icon_basic_off.jpg'">
	<img src="../images/icon_basic_off.jpg" border="0" 
		alt="前往 Linux 基础文件,新手请从头学起" 
		title="前往 Linux 基础文件,新手请从头学起" name="head_icon2" /></a>
<a target="_blank" href="http://linux.vbird.org/linux_server"
	onmouseover="document.head_icon3.src='../images/icon_server_on.jpg'"
	onfocus="document.head_icon3.src='../images/icon_server_on.jpg'"
	onmouseout="document.head_icon3.src='../images/icon_server_off.jpg'">
	<img src="../images/icon_server_off.jpg" border="0"
		alt="前往 Linux 架站文件,网路基础那章节请务必参考!" 
		title="前往 Linux 架站文件,网路基础那章节请务必参考!" name="head_icon3" /></a>
<a target="_blank" href="http://linux.vbird.org/linux_security"
	onmouseover="document.head_icon4.src='../images/icon_security_on.jpg'"
	onfocus="document.head_icon4.src='../images/icon_security_on.jpg'"
	onmouseout="document.head_icon4.src='../images/icon_security_off.jpg'">
	<img src="../images/icon_security_off.jpg" border="0"
		alt="前往『网路安全』相关文件网页" title="前往『网路安全』相关文件网页" name="head_icon4" /></a>
<a href="http://phorum.vbird.org" target="_blank"
	onmouseover="document.head_icon5.src='../images/icon_forum_on.jpg'"
	onfocus="document.head_icon5.src='../images/icon_forum_on.jpg'"
	onmouseout="document.head_icon5.src='../images/icon_forum_off.jpg'">
	<img src="../images/icon_forum_off.jpg" border="0"
		alt="前往 Linux 新手讨论区,发问前务必查阅发文规则" 
		title="前往 Linux 新手讨论区,发问前务必查阅发文规则" name="head_icon5" /></a>
<a target="_blank" href="http://linux.vbird.org/adsl"
	onmouseover="document.head_icon6.src='../images/icon_adsl_on.jpg'"
	onfocus="document.head_icon6.src='../images/icon_adsl_on.jpg'"
	onmouseout="document.head_icon6.src='../images/icon_adsl_off.jpg'">
	<img src="../images/icon_adsl_off.jpg" border="0"
		alt="前往『ADSL连线分享』相关文件网页" title="前往『ADSL连线分享』相关文件网页" name="head_icon6" /></a>
<a href="http://www.study-area.org" target="_blank"
	onmouseover="document.head_icon7.src='../images/icon_study-area.jpg'"
	onfocus="document.head_icon7.src='../images/icon_study-area.jpg'"
	onmouseout="document.head_icon7.src='../images/icon_study-area.jpg'">
	<img src="../images/icon_study-area.jpg" border="0"
		alt="前往 Study Area 网站" title="前往 Study Area 网站" name="head_icon7" /></a>
<br />
</div>


<table summary="本文内容的排版" style="width:750px; 
	background-image:url('../images/VBirdLinux.jpg');
	background-attachment:fixed;" border="0" cellspacing="0" cellpadding="0">
<tr><td style="width:16px; height:16px; background-image:url('../images/border-top-left.jpg'); 
	font-size:6px">  </td>
    <td style="width:718px; height:16px; font-size:6px;
	background-image:url('../images/border-top-center.jpg')">  </td>
    <td style="width:16px; height:16px; background-image:url('../images/border-top-right.jpg');
	font-size:6px">  </td></tr>
<tr><td style="width:16px; font-size:6px;
	background-image:url('../images/border-middle-left.jpg')">  </td>
    <td width="718">

<!-- 本文的档头部分 -->
<div style="text-align:center">
    <a href="0160startlinux.php">
    <span class="text_head0">开机关机、线上求助与指令下达方式</span></a><br />
</div>
    <div style="text-align:left">
        <a href="0160startlinux.php?thisscreen=800x600"><!--切换解析度为 800x600--></a>
    </div>
    <div style="text-align:right">
        <span class="text_history">最近更新日期∶2005/08/03</span>
    </div>

<!-- 本文的档头部分 -->
<table class="head1" summary="排版∶文章档头的说明"><tr><td class="head1">
	由于 Linux 在运作的过程中,会有很多的程式常驻在记忆体中来执行,此外,
	由于 Linux 的磁碟使用效能比较高,利用了非同步的磁碟/记忆体资料传输的模式,
	因此, Linux 系统是很怕不正常开关机的!因为,不正常开关机的结果,
	将可能造成磁碟资料的损毁啊!(其实各个作业系统都很怕这个问题!)。
	所以,在这个章节,鸟哥会跟大家介绍一下 Linux 正常开关机的步骤,
	以及初次进入 Linux 的您,可以如何来操作文字介面的指令呢!要注意啊!
	学习文字介面真的是一件很不错的事喔! ^_^
</td></tr></table><br>

<!-- 本文的连结区部分 -->
<div class=block1>
<span class="text_h1">
1. <a href="#start">首次登入系统</a><br>
	<span class=text_h2>
	    1.1 <a href="#start_startx">首次登入 FC 图形介面</a><br>
	    1.2 <a href="#start_kde">KDE 的简易操作</a><br>
	    1.3 <a href="#start_x_cmd">X Window 与文字模式的切换</a><br>
	    1.4 <a href="#start_cmd">以文字模式登入 linux</a><br>
	</span>
2. <a href="#cmd">文字模式下指令的下达</a><br>
	<span class=text_h2>
	    2.1 <a href="#cmd_cmd">开始下达指令</a><br>
	    2.2 <a href="#cmd_basic">基础指令的操作</a><br>
	    2.3 <a href="#cmd_hkey">重要的几个热键[Tab], [ctrl]-c, [ctrl]-d</a><br>
	    2.3 <a href="#cmd_err">错误讯息的查看</a><br>
	</span>
3. <a href="#manual">Linux 系统上的线上求助 man page/info page</a><br>
	<span class=text_h2>
	    3.1 <a href="#manual_man">man page</a><br>
	    3.2 <a href="#manual_info">info page</a><br>
	    3.3 <a href="#manual_docs">其他有用的文件(documents)</a><br>
	</span>
4. <a href="#shutdown">正确的关机方法(shutdown, reboot, init, halt)</a><br>
5. <a href="#shoot">开机过程的问题排解</a><br>
6. <a href="#FAQ">本章习题练习</a><br>
<span class=text_h2>
7. <a href="http://phorum.vbird.org/viewtopic.php?t=23877"
    target="_blank">针对本文的建议∶http://phorum.vbird.org/viewtopic.php?t=23877</a>
</span>
</span>
</div>


<!-- 本文的正式部分 -->
<hr><a NAME="start"></a><img src="images/penguin-m.gif" alt="大标题的图示" height="34" width="25" align="middle" /><span class="text_h1">首次登入系统</span><br>
<div class=block1>
	登入系统有这么难吗?呵呵!并不难,不过,虽然说是这样说,然而很多人第一次登入
	Linux 的感觉都是『<span class=text_import2>接下来我要干啥?</span>』
	如果是以图形介面登入的话,或许还有很多好玩的事物,但是,要是以文字介面登入的话,
	面对著一片黑压压的萤幕,还真不晓得要干嘛呢!嗯!为了让大家更了解如何正确的使用
	Linux ,正确的登入与离开系统还是需要说明的!<br><br>

	<hr><a name="start_startx"></a><img src="../images/penguin-s.gif" alt="小标题的图示" height="23" width="16" align="middle" /><span class=text_h2>首次登入 FC 
	图形介面</span><br>
	<div class=block2>
		啊开机就开机呀!怎么还有所谓的登入与离开呀!?呵呵!开什么玩笑,在
		Linux 里面,正确的开关机可是很重要的!因为,
		不正常的关机可能会导致整个系统的磁区错乱,造成资料的毁损呢!这也是为什么通常我们的
		<span class=text_import2>Linux 主机都会加挂一个不断电系统</span>棉!<br><br>

		在顺利的安装完成之后,就是要快乐的进入 Linux 的世界啦,这个时候,按下电源,
		如果您预设是有启动图形介面的话,那么应该会出现如下的字样(<span class=text_vbird>这里是以 FC4 
		作为范例介绍的,各家版本多少会有点不同的登入画面,这无所谓!
		只是作为选择作业系统的一个画面而已。不过要注意的是,开机前如果想要加入任何的参数,
		就得在底下这个画面来增加喔! ^_^</span>)<br><br>

		<center><img src="0160startlinux/0160startlinux_1_01.jpg"
			title="Linux 的 grub 开机选单画面"
			alt="Linux 的 grub 开机选单画面"><br>
			图 1 、 Linux 的 grub 开机选单画面</center><br>

		看到了吗?!这就是开机的选单啊!在上图的最上一行,告诉我们,如果想要进入额外的选单的话,
		可以按任意键来进入,而这就是 grub 这个程式的功能了。另外,如果您在预设的时间内没有按下任何按键(
		在这一版的 Fedora ,预设是 3 秒钟啦!),那么 grub 开机管理程式就会以系统预设的核心来开机。
		事实上, grub 的功能还有很多,包含可以在系统发生错误的时候,以额外的参数来强制开机,
		以顺利进行系统的修复等等功能呢!关于这个,我们留待后面的『系统管理员篇』再来详细的介绍这个玩意儿~<br><br>

		此外,如果是以另一个开机管理程式( loader ),也就是 LILO 来设定你 MBR 的开机选单时,
		那么预设也是不会出现选单的!只会有出现『 boot∶ 』的画面而已,如果按下『 Enter 』
		就会以预设的开机档来开机,如果按下『Tab』按键,就会出现其他可能的开机档啦!
		不过,在预设的情况下, FC4 并不会主动的安装 Lilo 呢!但比较旧的版本还是存在的啦!
		这部份我们同样在管理员篇再介绍!<br><br>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -