0
0

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 1 year has passed since last update.

Docker:CentOS環境でlessコマンドが使えなかった際の対応メモ

Last updated at Posted at 2023-05-09

○問題
Linux標準教科書を用いて学習を行っている際、
less /etc/hosts(ページャを使った表示)コマンドを実行すると
”bash: less: command not found” と表示されコマンドが実行できなかった。

○対応方法
yum install lessコマンドを実行するとlessコマンドが使えるようになった。
(追記)
whichコマンドも同様に
yum install whichを実行すると使えるようになった

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?