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

What Bash is and is not

On reading the preceding definition, you may have noticed a few things you might have expected are missing. There is a lot of confusion out there about what Bash is and is not. Here are some common misconceptions:

  • Bash is not (necessarily) part of Linux. They are separate pieces of software. GNU Bash existed for several years before the Linux kernel was created, and runs on other operating systems too.
  • Bash is not the same thing as SSH. SSH is a service and network protocol for running commands on remote computers. bash can be one such command.
  • Bash is also not your terminal or TTY. Your terminal is a device for sending information to, and receiving information from, a computer. Terminals used to be hardware devices with a monitor and keyboard. Nowadays, for most users, they are terminal emulators, or software devices. Bash is a program that runs using your terminal for its input and output.
  • Similarly, Bash is not the same thing as PuTTY, iTerm, or xterm. These are terminal emulators, not shells. Your terminal emulator is a program that understands and interprets text-based programs. Bash is one such program.
  • Bash is not the command line, in the strictest sense. Bash has an interactive mode, which is an example of a command line, but many other tools have command lines, and not just system shells. The bc calculator tool is an example of another tool with a command line.

Now that you know this, if someone ever asks you for a PuTTY account on your server, make sure to set them straight!

主站蜘蛛池模板: 水富县| 宜州市| 鸡西市| 鄂州市| 新安县| 东阿县| 安达市| 湟中县| 墨江| 临澧县| 汝南县| 临江市| 那坡县| 综艺| 关岭| 嵊州市| 浦江县| 蓝山县| 疏附县| 阳江市| 滕州市| 平安县| 志丹县| 本溪市| 黄石市| 铁岭县| 绥化市| 东阿县| 红河县| 赤峰市| 海南省| 衢州市| 伊春市| 霍山县| 双牌县| 白城市| 多伦县| 沙湾县| 儋州市| 土默特左旗| 义马市|