YOUR FIRST LINUX TERMINAL
Open a Linux console in your browser and try a few commands.
Reviewed September 6, 2026.
//OPEN_A_TERMINAL
Fabrice Bellard’s JSLinux runs a small Linux system in your browser. This exercise uses its Alpine Linux console and does not require creating an account or installing Linux.
- ▸Open JSLinux and choose an Alpine Linux row whose interface is “Console”.
- ▸Wait for it to boot, then click inside the terminal. Loading time depends on your device and connection.
- ▸Type
echo "Welcome to the terminal!"and press Enter. - ▸Try
pwdto show your current directory,lsto list its files, anduname -ato display system information.
The Alpine console uses a Unix shell; it is not a promise that Bash or every familiar Linux package is installed.
//KEEP_EXPERIMENTING
Treat the browser session as a scratchpad. Keep notes and export any files you want to save before closing it. The JSLinux FAQ explains file export and terminal controls.
Next, practise moving between directories and reading a text file. A little repetition helps the commands become familiar.
//ターミナルを開く
Fabrice Bellard氏のJSLinuxでは、ブラウザ上で小さなLinux環境を動かせます。ここではAlpine Linuxのコンソールを使います。アカウント作成やLinuxのインストールは必要ありません。
- ▸上のJSLinuxリンクを開き、Alpine Linuxの行でインターフェースが「Console」のものを選びます。
- ▸起動を待って、ターミナル内をクリックします。読み込み時間は端末や回線によって変わります。
- ▸
echo "Welcome to the terminal!"と入力し、Enterを押します。 - ▸
pwdで現在のディレクトリ、lsでファイル一覧、uname -aでシステム情報を表示してみましょう。
この環境はUnixシェルを使います。Bashや、普段使うすべてのLinuxパッケージが入っているとは限りません。
//実験を続ける
ブラウザのセッションは練習用と考え、残したいメモやファイルは閉じる前に保存しましょう。上のJSLinux FAQには、ファイルの書き出し方法や操作説明があります。次はディレクトリの移動やテキストファイルの読み取りを試してみてください。
