2016年4月15日 星期五

4.15 Linux桌面系統 上課心得

期中複習

  1. Ctrl+Alt+F1(~F7)
    Ctrl+Alt+F1~F6
    是切換成伪终端
    終端(terminal),就是能夠提供命令列介面的設備,也就是能提供輸入輸出的裝置,如鍵盤,螢幕
    如果不夠用,卻又不想增加設備的話,就需要使用虛擬終端
    偽終端(Pseudo Terminal)是成对的逻辑终端设备又或稱虛擬終端(Virtual Terminal)
    可以想像成電腦本身只有一個對外出口,透過虛擬終端,可以同時執行多件對外事項
    而使用Ctrl+Alt+F7則是我們習慣的圖形介面
    使用Alt+F7可從任何一個虛擬終端回到圖形介面(GUI)
    能夠顯示系統消息的是控制台,在Linux中,所有虛擬終端都可視為一個控制台

    命令列<->虛擬終端<->圖像顯示
    shell<->Xterm<->X window(X11)
  2. su (switch user)
    sudo (superuser do)
    一般使用者可使用su 切換成超級使用者,單需要超級使用者密碼
    使用sudo則不需要
    但能使用sudo的前提是
    有規範到 /etc/sudoers 內的用戶才能夠執行 sudo 這個指令
  3. 終端機關機指令
    sudo poweroff
    sudo shutdown (+time)
                           例:+1=1分鐘後關機
                                   now=現在關機
    sudo halt
  4. 如果不用Linux可以使用什麼作業系統:FreeBSD、BSD
  5. Linux Foundation 的目標、做了哪些活動?
  6. Linux 的核心是由誰於哪一年所寫出?
    Linus Torvalds ,1991年
殼層-wiki
伪终端
伪终端设备之我见
chinaunix

2016年4月8日 星期五

4.8 開放資料 上課心得

創用CCCreative Commons)是一個非營利組織,該組織提供同名的一系列著作權授權方式。創用CC組織的主要宗旨是使得著作物能更廣為流通與改作,作為其他人據以創作及共享,並以所提供的授權方式確保上述理念。

創用CC有以下四種基本的授權:


目前有以下6種方式\:




Announcing (and explaining) our new 2.0 licenses
的第二段中提到
Attribution comes standard
Our web stats indicate that 97-98% of you choose Attribution, so we decided to drop Attribution as a choice from our license menu — it’s now standard. This reduces the number of licenses from eleven possible to six and makes the license selection user interface that much simpler. Important to remember: Attribution can always be disavowed upon licensor request, and pseudonymous and anonymous authorship are always options for a licensor, as before. If we see a huge uprising against the attribution-as-stock-feature, we’ll certainly consider bringing it back as an option.


4.8 Linux桌面系統 上課心得


Command line


man  指令名稱
info   指令名稱


指令查詢:

  • 指令名稱  --help 
  • 指令名稱 -h

介面切換:
Ctrl+Alt+F1(~F7)


/          根目錄
pwd     列出現在的工作目錄
ls         列出目前目錄的檔案資訊
find     找尋檔案、目錄
cd ~     回自家目錄
cd ..     回上一層目錄  (或cd/)
rm        刪除「檔名」
rm -r    刪除「資料夾名」
mkdir.. 建立新目錄
rmdir..  刪除目錄

更新指令:

  • apt-get update
  • apt-get upgrade

相關學習:
L i n u x 指 令 集