このコマンドは選択した lil-terminal コアの一部で、通常の拡張としてはインストールされません。
cd
カレントディレクトリを変更して内容をすぐ表示し、直前のディレクトリ、~ 基準、\ インストールルートにも移動できます。
概要
目的のディレクトリへ直接移動する
深い一覧より次の作業が重要なときは
構文
cd [path|-] [-s|-S] [-d|-D]リファレンス
cd | cd .現在のディレクトリをフラット表示する
cd <path>相対パス、絶対パス、"~" または "\" のパスへ移動する
cd ..1 つ上の階層へ移動する
cd -前のディレクトリへ戻る
cd ~@pwd で選択したディレクトリへ移動する
cd \lil コアがあるディレクトリへ移動する
-sファイルサイズを表示する
-Sファイルとディレクトリのサイズを表示する
-d更新日を表示する
-D更新日時を表示する
使い方
列
-s はファイルサイズを表示し、ディレクトリにはダッシュを表示します。-S はディレクトリ内容も再帰的に計測します。この計測には意図的な上限があり、読み取れない場合や上限内に完了しない場合は ? と表示されます。サイズと日付のフラグ順が列順になります。
注意
相対パスは lil-terminal の現在のディレクトリから始まります。"~" は
インタラクティブな sandbox プレビュー
用意された例をページ上でそのまま実行できます。結果は事前に生成されてブラウザに表示され、サーバーではターミナルコマンドを実行しません。
インストールと管理
現在の互換バージョンをインストールします。全機能は Base、縮小版は Minimum を選び、すでに導入済みのモジュール更新には upgrade を使います。
Base と Minimum は同じ現在のモジュールリリースの二つのパッケージです。
例
例はコピーできますが、サイトは実行しません。実プロジェクトではパス、権限、破壊的オプションを確認してください。
cd \sandbox | cd data | cd .. | cd -config/
data/
db/
images/
logs/
public/
scripts/
tmp/
workspace/
sample.csv
sample.txt
users.json
config/
data/
db/
images/
logs/
public/
scripts/
tmp/
workspace/
sample.csv
sample.txt
users.jsoncd \sandbox -s -d - 2026-08-04 archives
- 2026-08-09 config
127 B 2026-08-09 feed.xml
718 B 2026-08-10 README.txtcd \sandbox -d -s2026-08-04 - archives
2026-08-09 - config
2026-08-09 127 B feed.xml
2026-08-10 718 B README.txtcd \sandbox -S -D6.5 KB 2026-08-09 03:58:34 certs
1.0 KB 2026-08-09 12:22:13 config
127 B 2026-08-09 01:00:07 feed.xml
718 B 2026-08-10 15:47:59 README.txtcd sandboxconfig/
data/
images/
src/
.env.example
app.ini
app.json
feed.xmlcd "sandbox/sample project"assets/
index.html
README.mdcd ..sandbox/
website_e36e9fed/cd -sandboxcd ~sandboxcd \sandboxcd \sandbox\missingディレクトリが見つかりませんこの例で使うファイル: sandbox/README.txt
例では、保護されたドキュメント用 /sandbox/ ワークスペースのファイルまたはディレクトリを使います。
lil-terminal documentation sandbox
This directory is part of the server tree: website_e36e9fed/sandbox/.
It is never included in generated lil-terminal downloads and direct HTTP access is blocked.
The documentation renderer reads only explicitly allow-listed files from here and
uses them to show real, reproducible command examples.
The fixtures are intentionally small and contain no secrets. They cover PHP, HTML,
CSS, JavaScript, JSON, INI, SQL, Python, shell, XML/SVG, CSV, plain text, logs,
images, .lil workflows, archives and temporary work paths.
During module review, examples may be refined together with the command. Keep paths
stable whenever possible because public documentation links refer to them.