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

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!

主站蜘蛛池模板: 张北县| 广丰县| 西林县| 湘潭县| 木里| 文登市| 汉阴县| 昆山市| 宜都市| 和硕县| 阿拉善左旗| 自贡市| 双柏县| 鹿泉市| 鄄城县| 吴川市| 南漳县| 长垣县| 荆州市| 许昌县| 武汉市| 新密市| 沛县| 彭山县| 古丈县| 龙门县| 崇明县| 温州市| 保定市| 南投市| 新源县| 张家港市| 永吉县| 乌海市| 托克托县| 毕节市| 东海县| 达孜县| 高碑店市| 晋州市| 乐昌市|