1 / 17

第一次用工作站就上手

第一次用工作站就上手. Originated from Maya, revised by Yun-Nung Chen. Reference . http://linux.vbird.org/ 鳥哥的 Linux 私房菜 http://www.csie.ntu.edu.tw/~piaip/pietty/ pietty 作者網頁 http://cygwin.com/ cygwin 首頁. How to Start. First, you should have an login account (of course!)

Download Presentation

第一次用工作站就上手

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 第一次用工作站就上手 Originated from Maya, revised by Yun-Nung Chen

  2. Reference • http://linux.vbird.org/ • 鳥哥的Linux 私房菜 • http://www.csie.ntu.edu.tw/~piaip/pietty/ • pietty 作者網頁 • http://cygwin.com/ • cygwin 首頁

  3. How to Start • First, you should have an login account (of course!) • For those in EE, ccws2.ee.ntu.edu.twIf you don’t know your password, please ask 系計中https://cc.ee.ntu.edu.tw/ • For those in CSIE, linux4.csie.ntu.edu.tw If you don’t know your password, please ask 217http://wslab.csie.ntu.edu.tw/

  4. Pietty / Putty

  5. File Transfer

  6. VBird

  7. linux tips • Tab is your good friend • 自動完成 • cd brings you home • 回到登入目錄處 • ./means current directory.//means up directory • 表示現在的目錄和上層的目錄

  8. Basic Commands • Online menus: man info --help • File management • cp複製 • mkdir建新資料夾 • mv搬移(剪下) 或是 更名 • rm刪除檔案(-r 可刪除目錄) • rmdir刪除目錄 • ls列出目前資料夾下所有檔案

  9. Running Jobs • Process management: • ps顯示process 狀態 • top類似ps 但提供動態的資訊更新 • kill 刪掉正在執行的 process • Ctrl+ c中斷目前的命令 • 背景執行: ctrl + z , bg , & • 按下Ctrl+ z會暫停目前的命令 • bg [jobspec] 會將暫停的命令放到背景執行 • 輸入命令時在最後端補 &符號,會直接在背景執行 • fg把背景執行的命令拉回前景

  10. Vi/ Vim • Vi 是linux 下常用的編輯器 • 剛開檔時是一般模式 • 在任何模式下狂按esc可回到一般模式 • 按v 可選取範圍,選完後按y 是複製,c 是剪下,p 是貼上 • u 是復原 • 按:可輸入命令 • :q 不存檔離開 • :q!強制不存檔離開 • :wq 存檔離開 • :w 存檔 • 按i 進入插字模式 • 如果按到ctrl-s ,按ctrl-q 它就死而復生

  11. Make • http://tetralet.luna.com.tw/index.php?op=ViewArticle&articleId=185http://zh.wikipedia.org/w/index.php?title=Make&variant=zh-tw

  12. Shell Script • Save your command in a filesh XXXX.xx

  13. Screen • See http://speech.ee.ntu.edu.tw/courses/DSP2009spring/hw1/screen.txt

  14. Encoding • big5 or utf8 http://zh.wikipedia.org/w/index.php?title=%E5%A4%A7%E4%BA%94%E7%A2%BC&variant=zh-twhttp://zh.wikipedia.org/w/index.php?title=UTF-8&variant=zh-tw • iconv

  15. Cygwin • http://cygwin.com/安裝cygwin • 下載setup.exe • Default settings are fine • ftp 站台請選擇ftp.ntu.edu.tw

  16. Cygwin • 選擇你要的套件:

  17. Cygwin 這次選的套件 已安裝的套件 • 要安裝新套件時請重新執行setup.exe

More Related