System information
© Agilent Technologies 2001–2002 Administering Agilent 3070 Systems (MS Windows NT and 2000) 8-20
Chapter 8: Reference
Exit / close Korn shell window exit
Set Korn shell for vi set -o vi
Edit the command line (in Korn shell set for vi) {ESC} (use vi commands)
Recall previous command line (in Korn shell set for vi) {ESC}k (back) or j (forward)
Execute previous command line (in Korn shell set for vi) {Return} (when line is displayed)
List current process status and PIDs
ps -ef
Redirect input from a file to a command
command < infile
Connect two processes with a “pipe”
command1 | command2
Network operations
Invoke ftp and connect to remote host
ftp <remove_hostname>
Set transfer mode to ASCII
ascii
Set transfer mode to binary
bin
Copy a file using ftp from remote_hostname
get <remote)file>
Copy a file using ftp from the local current directory to current
directory on the remote_hostname.
put <local_file>
Exit ftp
bye
Table 8-9 Korn shell quick reference (continued)
To Do This . . . Enter This . . .