Linuxコマンド
絶対パス
/bin/bash/a2ps
のようなルート・ディレクトリからの階層を順番にたどったパス指定方法のこと
相対パス
../../bin/bash
のようなカレント・ディレクトリに注目してパス名を指定すること
リダイレクションの種類
標準入力
< file・・・標準入力をfileに切替える。
標準出力
> file・・・標準出力ををfileに切替える。 もしfileが存在していた場合は古い内容は上書きされる。
>> file・・・標準出力ををfileに切替える。 出力データはファイルの内容に追加される。
aptコマンドについて
apt-getコマンドは、Debian系のディストリビューション(DebianやUbuntu)のパッケージ管理システムであるAPT(Advanced Package Tool) ライブラリを利用してパッケージを操作・管理するコマンド
/etc/apt/sources.list
にcontrib
を追加すると標準以外のソフトをインストールできるようになる
/etc/apt/sources.list
deb http://ftp.jp.debian.org/debian buster main contrib deb http://ftp.jp.debian.org/debian buster main contrib deb-src http://ftp.jp.debian.org/debian buster main contrib deb http://security.debian.org/debian-security buster/updates main contrib deb-src http://security.debian.org/debian-security buster/updates main contrib
参考
mackxxx@ik1-405-34928:~$ apt-cache search ^vim$ vim - Vi IMproved - enhanced vi editor vim-athena - Vi IMproved - enhanced vi editor - with Athena GUI vim-gtk - Vi IMproved - enhanced vi editor - with GTK2 GUI vim-gtk3 - Vi IMproved - enhanced vi editor - with GTK3 GUI vim-nox - Vi IMproved - enhanced vi editor - with scripting languages support