Command Line 小知識
前幾天看了這篇 To understand the command line… 覺得蠻有趣的,大概是在說:
awk: 作者名字的縮寫cat: concatenatemore: 螢幕最下面會顯示 “More”less: more 的加強版,因為 “less is more” 所以叫 lessed: editorsed: stream editorgrep: 在ed裡要找有包含特定字串的行並印出,本來是要用g/regular expression/p,簡寫成g/re/p就變成grep了- hjkl 方向鍵是因為 ADM-3A
~代表 HOME 也是因為 ADM-3A.開頭的檔案是隱藏檔,本來只是要跳過.和..,結果寫出有 bug 的if (name[0] == '.') continue;
♥ Support Me