Linux cli command runscript

➡ A Linux man page (short for manual page) is a form of software documentation found on Linux and Unix-like operating systems. This man-page explains the command runscript and provides detailed information about the command runscript, system calls, library functions, and other aspects of the system, including usage, options, and examples of _. You can access this man page by typing man followed by the runscript.

NAME 🖥️ runscript 🖥️

script interpreter for minicom

SYNOPSIS

runscript scriptname [logfile [homedir]]

DESCRIPTION

runscript is a simple script interpreter that can be called from within the minicom communications program to automate tasks like logging in to a Unix system or your favorite BBS.

INVOCATION

The program expects a script name and optionally a filename and the user’s home directory as arguments, and it expects that it’s input and output are connected to the  “remote end “, the system you are connecting to. All messages from runscript meant for the local screen are directed to the stderr output. All this is automatically taken care of if you run it from minicom. The logfile and home directory parameters are only used to tell the log command the name of the logfile and where to write it. If the homedir is omitted, runscript uses the directory found in the $HOME environment variable. If also the logfile name is omitted, the log commands are ignored.

KEYWORDS

Runscript recognizes the following commands:

expect   send     goto     gosub    return    !<    !
exit     print    set      inc      dec      if   timeout
verbose  sleep    break    call     log

OVERVIEW OF KEYWORDS

send <string>
<string> is sent to the modem. It is followed by a ’ ‘. <string> can be: - regular text, e.g. ‘send hello’ - text enclosed in quotes, e.g. ‘send  “hello world “’

Within <string> the following sequences are recognized:

  • newline - carriage return  - bell  - backspace