Terminal vs. Bash vs. Command line vs. Prompt #
-
什么是终端模拟器,被淘汰的全球网络,UNIX 的开发环境
-
Teleprinters 电传打字机 from the 1800s
-
ASCII 1963, 1926~1980 Telex network 电传网络, end by fax 传真机
- 以电流传输,电话以电压传输
- 明文传输的加密系统
-
Hardware Emulated Teletypes (CRT, VT100 and intel 8080 in 1978)
-
Software Emulated Teletypes(xterm, tty)
- pseudo-teletypes (PTY)
tty
# -sSilent
tty -s
who
# in docker container
id -u
-
You can access a full-screen TTY session, on Linux
Ctrl+Alt+F1
: Returns to the graphical desktopCtrl+Alt+F2
: Returns to the graphical desktop environmentCtrl+Alt+F3
: TTY 3Ctrl+Alt+F4
: TTY 4Ctrl+Alt+F5
: TTY 5Ctrl+Alt+F6
: TTY 6
-
terminal is short for terminal emulator, is a windows on screen
-
terminal emulator is running a shell like bash / zsh
-
bash is the language that runs in most terminal emulators
-
a stupid / dumb question: how do I copy and paste in bash
- copying and pasting come from terminal emulator
- it is specific to this graphical program
- bash binds ctrl C, not terminal
-
command line: python has a command line
-
Prompt: variable PS1 in shell(bash / zsh / fish)
-
现代软件堆栈是历史的凝固,软件替代硬件是历史的大趋势,硬件终端的消失,伴随这软件终端模拟器的诞生和发展,然而,历史总是会惊人的相似,至于下一个即将消失的主流硬件是什么,让我们拭目以待.