2026/1/5 19:29:48
网站建设
项目流程
长沙高端网站建设,社区文化建设,久久建设集团有限公司,小程序模板制作软件UNIX终端操作技巧与测试方法
1. 使用stty命令 stty命令可用于设置当前提供标准输入的终端设备的I/O选项。单独执行 stty -a 命令时,它会显示所有可用选项的当前设置:
rocket 8% stty -a
speed 9600 baud; line = 1; 0 rows; 0 columns
intr = ^C; quit = ^\; erase = ^H…UNIX终端操作技巧与测试方法1. 使用stty命令stty命令可用于设置当前提供标准输入的终端设备的I/O选项。单独执行stty -a命令时,它会显示所有可用选项的当前设置:rocket 8% stty -a speed 9600 baud; line = 1; 0 rows; 0 columns intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = ^@; old-swtch = ^@; susp = ^Z lnext = ^V; werase = ^W; rprnt = ^R; flush = ^O; stop = ^S; start = ^Q; dsusp = ^@ -parenb -parodd cs8 -cstopb hupcl cread clocal -cnew_rtscts -loblk -ignbrk brkint ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc ixon -ixany -ixoff -imaxbel isig icanon iexten -xcase echo echoe echok echoke echoctl -echoprt -echonl -noflsh -flusho -pendin -tostop opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tab3下面介绍几个常见的stty使用示例:-