UBUNTU 101

Yeng Tsan
2 min readMar 5, 2017

--

YOUR TITLE JUST MEANS…

What you do in your working time, not the definition of what you can do.

無論是前端、後端工程師,掌握整個web技術的「基礎」是我認為自稱「web developer」的最低底線,定義如下:

  1. Linux => 管理一台linux機器,架起網頁伺服器、資料庫、應用程式
  2. Database => 最基礎的RBS,可以用SQL操作基礎ERP會需要做的操作
  3. 網頁伺服器 => 懂nginx或apache
  4. 後端框架=> 讓機器有應用程式可以跑起來
  5. 前端框架=> 可以用純API的方式與後端溝通,進而做到前後端分離

至今寫網頁約一年,主要都是在後端框架的部分打轉,約半年前開始精進jQuery、三個月前開始學習前端框架,以用vue js 實作一個不複雜的SPA

而這篇,就是在紀錄 Udemy 課程 Ubuntu Linux Server Basics的筆記

Day1:

  1. do not authenticate any root account, use ‘sudo’ to accomplish what you want to do
  2. in the file list, the white one is a file, purple is a directory
  3. rmdir can delete the empty director
  4. rm -R, R means [recursive]
  5. && can concatenate and run two or more scripts simultaneously
  6. do not use [space] in the name of directory like : [New project]
  7. use pager in cat cat file_name | [less]
  8. move file mv file_place new_file_place
  9. [rsync] is just like [cp] but much powerful, especially the progressing interface
  10. [shutdown] -h ‘optional message’, -r means reboot. The different between reboot and shutdown -r is shutdown -r can leave the optional message that other people can understand why you do shutdown.
  11. user [man]

Dya2:

  1. use [date] to modify the time in the machine.
  2. use [sudo adduser user_name] to add a user.
  3. use [sudo addgroup group_name] to add a group, the reason we need to use group is managing the privilege by group instead of individual.
  4. see all of the group in the ubuntu [cat /etc/group]
  5. see all of the user in the ubuntu [cat /etc/passwd]
  6. bash is one of the shell script

--

--

Yeng Tsan

Software developer, Career consultant, Product manager.開啟你的海外職涯,從日本開始 https://engineer.taiwan-career.com/