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

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

主站蜘蛛池模板: 宝应县| 宁波市| 隆安县| 大兴区| 读书| 喜德县| 巴塘县| 九龙坡区| 镶黄旗| 疏勒县| 文化| 泸溪县| 萍乡市| 灵丘县| 靖西县| 依兰县| 朔州市| 普安县| 九龙城区| 即墨市| 康乐县| 龙岩市| 越西县| 海盐县| 蓬溪县| 贡山| 安吉县| 瑞丽市| 武清区| 朝阳市| 宁国市| 佛山市| 东莞市| 灌阳县| 永福县| 苍梧县| 湖北省| 秭归县| 阿坝县| 霍州市| 凤庆县|