官术网_书友最值得收藏!

Getting Bash

If you are running a GNU/Linux system, you almost certainly already have access to Bash. It is installed by default on almost every GNU/Linux computer system.

On such systems, it is very often the default login shell for users. This means that when a new user logs in for the first time, it's the first interactive program that runs, and it starts up to wait for command input from the user.

On some systems, such as Debian GNU/Linux, Bash will be the default login shell for non-system users, usually human beings rather than system processes, but a different shell, such as the POSIX shell or Bourne shell, will be used for system accounts.

Bash can be installed on other Unix-like systems as well, such as on FreeBSD, NetBSD, OpenBSD, or proprietary versions of Unix. Even though Bash has such a strong history with GNU/Linux systems, administrators of these other systems often end up installing it, because it is so popular and many users will expect to be able to use it as their shell. It usually has to be installed as a separate package, and is not part of the default installation.

You can also build Bash from source on most Unix-like systems with access to a C compiler. Doing this is outside the scope of this book, and you should use your system's packages or ports system if you can. The Bash source code is available at https://www.gnu.org/software/bash/.

主站蜘蛛池模板: 柘荣县| 容城县| 根河市| 什邡市| 德保县| 贵溪市| 英吉沙县| 松桃| 沈阳市| 马关县| 安新县| 沁阳市| 棋牌| 林州市| 桑植县| 哈巴河县| 汾西县| 卫辉市| 甘德县| 鸡东县| 茌平县| 旬阳县| 广南县| 稻城县| 合山市| 宾川县| 广南县| 广元市| 资阳市| 廊坊市| 鄂托克旗| 崇阳县| 嘉善县| 杭州市| 晋江市| 淮安市| 根河市| 永昌县| 莱西市| 林甸县| 洛扎县|