© Agilent Technologies 2001–2003 Agilent 3070 System Installation Manual (MS Windows Version) 2-19
Chapter 2: MS Windows System Installation Reference: Korn Shell Quick Reference
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 PID's
ps -ef
Redirect input from a file to a command
command < infile
Connect two processes with a "pipe"
command1 | command2
Network Operations
To Do This... Enter This...
Invoke FTP and connect to remote host ftp <remote_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 2-9 Korn shell quick reference (continued)