2
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.

自分の機材がどのshell入れているか忘れた。
仕事場のはzshがこの間入っていた。

macos/bash
$ printenv | grep shell -i
SHELL=/bin/bash
PYENV_SHELL=bash
$ bash --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin17)
Copyright (C) 2007 Free Software Foundation, Inc.

何のShellを使っているか確認する方法
https://server-setting.info/freebsd/what-shell.html

試して見た。

macos/bash
$set | grep -ai versionreturn

何も出なかった。dockerのubuntuでも同様。

dockerのubuntuではprintenv | grep shell -iも何もでなかった。

docker/ubuntu
# set | grep -ai shell        
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor

docker/ubuntuではbashだった。ていうか、自分で起動するときにbash指定してた。

#文書履歴(document history)
ver. 0.01 初稿 20200118 午前
ver. 0.02 ubuntu追記 20200118 正午
ver. 0.03 URL追記 20230302

最後までおよみいただきありがとうございました。

いいね 💚、フォローをお願いします。

Thank you very much for reading to the last sentence.

Please press the like icon 💚 and follow me for your happy life.

2
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
2
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?