2016年4月14日 星期四

2016/04/15

http://lins.pbworks.com/w/page/97069299/Linux
http://lins.pbworks.com/w/file/fetch/106056036/LFS101x.2.pdf

考完試一週聽演講
http://web.lins.fju.edu.tw/chi/node/1918

考試範圍1~6

>介面????
7個預設 session(程序)處理 分時作業(不是同時作業)
介面有另一個英文 interface
一安裝好就有七個session(程序)七部電腦在運作 六個是文字介面 一個是圖形介面
可以分別做不同的事情 一個下載 一個發郵件 之類的...但是電腦跑得動
命令列介面=文字介面,但終端機是圖形介面,只是在終端機的應用程式內是命令列

工作區?
一個session(圖形介面)內有四個工作區

>關機?
方法

>基金會目標?
Linux Foundation Events Linux 基金會活動 Forum, IRC, Worksgroups, 拉攏使用者、系統管理者、核心發展者, 鼓勵合作, 建立和諧氣氛

>kernel的緣起
核心 電腦作業系統內核
核心以前是一個人寫 後來是很多人寫一人統合
光有核心沒有用 還有其他應用程式 cd main list vi
搭配方法最常用是gnu
圖形介面也是一種應用程式 讓使用介面能使用滑鼠

(debian是把xxx放在一起的方法)

核心不使用linux?可以

>操作指令?

>sudo指令 概念
http://note.drx.tw/2008/01/linuxsudo.html

>安裝Linux時需要注意的問題
除了這幾個其實還有其他問題
  • What is the main function of the system? (server or desktop)要哪種系統
  • What types of packages are important to the organization? For example, web server, word processing, etc.哪些套件是一定會用到的
  • How much hard disk space is available? For example, when installing Linux on an embedded device, there will be space limitations.硬碟容量(模仿成硬碟來作)
  • How often are packages updated?多久要更新
  • How long is the support cycle for each release? For example, LTS releases have long term support.多久一次release
  • Do you need kernel customization from the vendor?kemel要不要客製化
  • What hardware are you running the Linux distribution on? For example, X86, ARM, PPC, etc.
  • Do you need long-term stability or short-term experimental software?要長期支援還是短期

2016年4月7日 星期四

2016/04/08

其中考到第6章

http://lins.pbworks.com/w/page/97069299/Linux

Chapter 06

Learning Objectives
By the end of this chapter, you should be able to:
  • Use different sources of documentation.使用文檔的不同資源
  • Use the man pages.(short for manual pages)使用手冊頁
  • Access the GNU info system.使用GNU資訊系統
  • Use the help command and --help option.
  • Use other documentation sources.

 =

Introduction to Linux Documentation Sources
把文件塞在四個地方


  • The man pages (short for manual pages)
  • GNU Info
  • The help command and --help option
  • Other Documentation Sources, e.g. https://www.gentoo.org/doc/en/


Which of the following are sources of Linux documentation?
The man pages
https://www.gentoo.org/doc/en/  

 =

 The man pages
像是一本書
電子書是跨平台,pdf沒辦法跨平台
The man pages structure were first introduced in the early UNIX versions of the early 1970s. 1970s出來的
 The man pages are often converted to:
  • Web pages (html)
  • Published books
  • Graphical help  (圖形)
  • Other formats

 man
 cd 指的是變換目錄 資料夾
~這個帳號的目錄
..到上一層
/根目錄
 ......像是  cd ~

man –f generates the same result as typing whatis.
man –k generates the same result as typing apropos.

 Manual Chapters
有 nine numbered chapters
如果選的是a
$ man 3 printf
$ man -a printf
$ man -a printf>>press h for help(q 跳出來)

 What is displayed when running man with no options other than the topic as an argument?
The manual page for the given topic.

What does the man –k command display?
A list of the man pages discussing the subject.

What does the man –a command display?
All man pages in sequence with the given name in all chapters.


關機指令
 http://blogger.gtwang.org/2013/10/how-to-shutdown-linux.html
halt 其實跟 shutdown 沒多大分別,只不過 shutdown 在關機時會把系統的服務都關閉之後,才關閉電腦,而 halt 指令則允許不管系統的狀態為何,直接停止電腦的運作

sudo poweroff -h
                     -r

shutdown --help

shutdown --help | more(更多)

sudo

網頁瀏覽器
qupzilla



GNU Info System

Command Line Info Browser
info <topic name>
info
Some useful keys are: q to quit, h for help, and Enter to select a menu item.
cal月曆

知道指令的用法or看文獻有三種方法
info poweroff
main poweroff
poweroff --help

su ~

info Page Structure
The topic which you view in the info page is called a node.
Key  Function
  n Go to the next node
p Go to the previous node
u Move one node up in the index

What does info <topic> show?
Shows the info page for the specified topic.

What does the info command (with no arguments) show?
Shows the index of topics. 索引

What are the topics in info pages called?
Nodes