ç¾å¨ã® shell(以ä¸ãcurrent shell) ã確èªããæ¹æ³ã¨ãã¦çã£å ã«æãæµ®ãã¶ã®ã¯ä»¥ä¸ã ã¨æãã¾ãã $ echo $SHELL /bin/bash ãã ãããã¯ä¸æ£è§£ã§ã$SHELL ã¯ããã¾ã§ã login shell ã§ãã®ã§ã login shell 㨠current shell ãéãå ´åã¯æ£ããå¤ãè¿ãã¦ããã¾ããã ç§ã®å ´åã§ãã¨ããã¼ã«ã«ç°å¢ã§å¸¸æå©ç¨ãã¦ããã®ã¯ zsh ã§ããã login shell 㯠bash ã§ã(zsh ã login shell ã«ããã¨éãã¨æãã¦ããã ãããã¨ãããã®ã§)ã ãã®ãããªã±ã¼ã¹ã§ãæ£ããå¤ãè¿ãæ¹æ³ã以ä¸ã§ãã $ echo $0 -zsh shell ä¸ã§ã¯ $0 ã« current shell ãæ ¼ç´ããã¦ãã¾ãã ããã§è§£æ±ºããã°è¯ãã®ã§ãããshellscript å ã§ç¢ºèªãããã¨æãã¨è©±ãã¯å¤ãã£
{{#tags}}- {{label}}
{{/tags}}