Command-line shortcuts

You can create a shortcut that runs a command that produces text output. To do this, use the syntax shown in the Target box of the Property page. You can also type the following from the cmd.exe command prompt:

ksh -l /bin/command [argument...]

The command argument can be man(1), ps(1), ls(1), or any other command that produces text-based output.

For example, assume that you want to create a desktop shortcut that opens the man page for the ls command. First, right-click the desktop, point to New, and click Shortcut. Browse for ksh.bat located in the \SFU\common folder on your Windows Services for UNIX installation drive. When asked for the name of the shortcut, type Man page for ls (or any other appropriate name). When you see the shortcut on the desktop, right-click the shortcut and click Properties. In the Target text box, you should see C:\SFU\common\ksh.bat. Add to the end of this line, the following text:

-l /bin/man ls

The completed line in the Target text box should be C:\SFU\common\ksh.bat -l /bin/man ls. Your drive letter might be something other than C.