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

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!

主站蜘蛛池模板: 禄丰县| 桃江县| 兴义市| 新营市| 哈巴河县| 乐亭县| 铜川市| 武夷山市| 房产| 康定县| 南召县| 游戏| 阆中市| 大厂| 绍兴县| 焉耆| 池州市| 汉阴县| 瓦房店市| 汨罗市| 太保市| 大同市| 池州市| 岑溪市| 巴楚县| 河间市| 兴安盟| 将乐县| 哈密市| 霍州市| 扬中市| 谷城县| 桓台县| 景德镇市| 霍山县| 屯留县| 喀什市| 新宁县| 大田县| 津南区| 福贡县|