首页 > 系统服务 > 详细

Learning_the_bash_Shell_Third_Edition 1/n

时间:2021-01-06 14:03:05      阅读:22      评论:0      收藏:0      [点我收藏+]

Log in to your system and type 

echo $SHELL

at the prompt. You will see a response containing sh, csh, ksh or b ash.

You need to find out where bash is on your system, i.e., in which directory it’s installed. You might be able to find the location by typing "whereis" bash(especially if you are using the C shell); if that doesn‘t work, try whence bash , wich bash, or this complex command:*

whereis bash || whence bash || which bash

#

grep bash /etc/passwd | awk -F: ‘{print $7}‘ | sort -u

#h, which bash, or this

complex command: *

Learning_the_bash_Shell_Third_Edition 1/n

原文:https://www.cnblogs.com/winditsway/p/14240416.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!