⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 waitfor.out

📁 通讯程序源码
💻 OUT
字号:
waitfor(L)		 LOCAL COMMANDS		       waitfor(L)NAME     waitfor - wait for	a string to appear on the stdinSYNOPSIS     waitfor [ -n ] stringDESCRIPTION     Waitfor reads the standard	input and  returns  a  0  if  the     string argument is	found, returns a 1 if the strings did not     appear within the allotted	time, or returns a -1  on  error.     If	the string is found, waitfor returns immediately.     Waitfor is	designed to be	used  by  Pcomm	 inside	 a  shell     script  for  automating  keyboard input to	log a user onto	a     remote system.     The -n option is used to  specify	the  length  of	 time  in     seconds to	wait.  The default is 10 seconds.EXAMPLE	  # wait 5 seconds for the login prompt	  waitfor -5 login:	  # test the exit code of the waitfor command	  if [ $? -eq 0	]	  then	       # send my user ID	       echo egray	  fiSEE ALSO     pcomm(1), pcomm_cmd(1), matches(1), Pcomm Reference ManualDell Computer Corp.	  Last change:				1

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -