LoginSignup
14
5

More than 1 year has passed since last update.

Google Colaboratory での Terminal 操作 (メモ)

Last updated at Posted at 2019-03-11

Google Colaboratory で コマンド実行

Google Colaboratory で Linux コマンドを対話型 Terminal で実行したい.

2022/8/1 更新

colab-xterm を使う

これでいけるらしい、簡単。

!pip install colab-xterm
%load_ext colabxterm
%xterm

お試し程度にして、pro版をちゃんと使ったほう良いです。

過去の方法

Python製 Shell を入れる.

インストール
!pip install xonsh==0.9.2

それを実行する.

実行
!xonsh

これで Linux コマンドを打ち込める.

14
5
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
5