# Command line 基礎指令 - List `ls` :列出列表 `ls -al` :列出詳細列表(包含隱藏檔案) - Change Directory `cd` :切換到指定位置 `cd ..`:回到上一層資料夾 `cd ~`:切換到根目錄 - Copy `cp`:複製檔案 :::info EX: `cp .env .env_example` 複製一個.env 且命名叫.env_example的檔案 ::: --- Docker `$ docker-compose down`:將整個container卸載(環境出問題建議用此) `$ docker-compose up -d`:重啟container --- PHP Laravel `$ phpd artisan migrate`:建立資料表 `$ phpd artisan db:seed`:建立seeder的資料 `$ phpd artisan migrate:refresh --seed`:原資料庫的資料重新洗掉,並建立新的資料庫
×
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