---
title: "Discussion on \"Command Line 指令\" | Hashnode"
description: "Discussion on \"Command Line 指令\". Command Line 指令\n1. cd (change directory）\n\n用來切換目錄的指令。\n\n變化型\n\n\n回到 home 目錄：cd ~ # 屬於使用者底下的資料夾\n回到根目錄：cd / # 電腦最底層\n回到上一層資料夾：cd ..\n\n\n小訣竅\n\n\n當輸入 cd 空格 時，按 tab 會幫你自動列出底下的資料夾列表。 會出現像是輸入 ls 的效果，方便查詢 。\n輸入前幾個字母，再按一次 tab 會幫你自動補完資料夾名稱。（大推!）\n回到桌面： ~/desktop\n\n\n\n2. pwd..."
url: "https://hashnode.com/posts/command-line/6335a0bae594fa4ba3b8c4da"
---

[Feed](https://hashnode.com/feed) /

Discussion

[Michael Luo](https://hashnode.com/@Michael0520)

Dec 8, 2020

# [Command Line 指令](https://michael0520-blog.hashnode.dev/command-line?utm_source=hashnode&utm_medium=feed)

Command Line 指令 1. cd (change directory） 用來切換目錄的指令。 變化型 回到 home 目錄：cd ~ # 屬於使用者底下的資料夾 回到根目錄：cd / # 電腦最底層 回到上一層資料夾：cd .. 小訣竅 當輸入 cd 空格 時，按 tab 會幫你自動列出底下的資料夾列表。 會出現像是輸入 ls 的效果，方便查詢 。 輸入前幾個字母，再按一次 tab 會幫你自動補完資料夾名稱。（大推!） 回到桌面： ~/desktop 2. pwd...

michael0520-blog.hashnode.dev 2 min read

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
