<style> .importMark{ color: #fff; padding: 3px; background-color: red; font-size: 10px; font-weight: 700; } </style> ###### tags: `Linux` # Linux 筆記 (一) :::info 由於本身是個 windows 重度使用者 :rolling_on_the_floor_laughing: 所以突然要轉成指令式開發及操作,還真難啊~~ :sob: 因此這邊就會慢慢地將用到的指令,相關知識,快捷鍵的使用...等整理起來。 ::: ## 指令 * 建立資料夾 ``` mkdir 資料夾名稱 ``` * 建立檔案 ``` touch 檔案名稱 ``` * 清除畫面(騰出一個乾淨的畫面空間) ``` clear ``` ## 相關知識 * 權限規則 ["自己","群組","其他"] 可使用字母或是數字(二進制)來表示。 r (可讀),w (可寫),x (可執行。如exe) <span class="importMark">每個用戶都可設定3種權限,如果不開放權限則以 - 表示</span> <span class="importMark">r,w,x 順序是固定的</span> 舉例: 自己的權限可讀寫可執行,群組權限可讀寫,其他人的權限只能讀。 字母表示為 rwxrw-r- - (為了方便看出有兩個 "-",所以多打一個空格) 數字表示為 761 ## 快捷鍵使用 * ctrl(左) + L : 清除畫面(騰出一個乾淨的畫面空間),跟指令clear 樣效果。 * ctrl(左) + shift + F : 貼上(如果要將本機複製的貼到虛擬機裡面或將虛擬機複製的貼到本機,先打開 VM virtualBox 裝置 > 共用剪貼簿 > 雙向) * ctrl(左) + U : 清除當前打上去的指令 * ctrl(左) + D : 從container裡面退出 * ctrl(左) + shift + T : 開啟另一個終端機 (分頁的概念)
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up