0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

ubuntu/linuxコマンド(自分用memo)

0
Posted at

主なコマンド

コマンド 内容
apt-get ~~ ~~はpackage名(sudoが必要)
mkdir ~~ ~~という名前のディレクトリ作成
rm -r ~~ ~~というファイルORディレクトリ削除
cd ~~ ~~に移動(tabキーである程度入力してあると予測判定して入力してくれる)
ls 今いる場所のファイルORディレクトリリスト
sudo -i rootユーザーになる荒技(使わない方がいいらしい)
sudo ~~ ~~にコマンドを入れるとroot権限で実行してくれる
dpkg -l apt-getでinstallしたものがリストで観れる
pwd 今いる場所のパスを表示
unzip ~~ ~~にzipファイルを入れると解凍してくれる
apt-get update 毎回打っとくおまじないコマンド(パッケージの更新)
0
1
0

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
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?