'\" .\" @(#)lmshell.1 1.2 01 Oct 1998 SMI .\" Copyright (c) 1999, Sun Microsystems, Inc. .\" All Rights Reserved .\" Copyright (c) AT&T 1997. All rights reserved. .\" @(#)lmshell.rof 1.2 3/26/96 .TH lmshell 1 "22 Sept 1998" .if n .tr \-- .SH NAME lmshell - allows you to link to other servers on the network. It also allows you to use the net use command to view and manipulate files on other servers. .SH SYNOPSIS .ft4 .nf lmshell [command][\e;command] .SH DESCRIPTION The lmshell command is for SunLink Server administrators who are UNIX system users, but are more comfortable with DOS commands and naming conventions. .sp.5 To use the lmshell command you must be at the UNIX system prompt. When you type lmshell, the prompt you receive looks like the prompt you see on a MS-DOS computer (for example, C:\eTMP); when you see this prompt, you can enter commands. .sp.5 To display the commands that you can use in lmshell, type ? and press ENTER. .sp.5 These commands operate similarly to their MS-DOS counterparts. The default drive for lmshell is C: which is the local UNIX system file system. .sp.5 You can use lmshell to test for connectivity. If you can use lmshell to access shared files, you can be sure that the server is functioning properly. .sp.5 You also can use lmshell to type out files on other servers' share areas, to copy them to or from your server, and to connect to printers. When you are executing lmshell, the "look and feel" follows the MS-DOS command line. .sp.5 The lmshell command allows you to view and manipulate files on other server computers by using the net use command to: .sp.5 .in+5 Link to shared directories in order to look at files or copy files to the local computer's hard disk. .sp.5 Link to shared printers and copy files to them for printing. .in-5 .sp.5 The lmshell command understands UNC (Universal Naming Convention) names. A UNC name is a syntax for accessing files and directories without using a net use command. For example, to type out the file foo in the share area tmp on the server ernie, type the following: .sp .5 type \e\e ernie\etmp\efoo .sp.5 You can specify commands to lmshell on the command line. To type out foo in the example above from the UNIX system prompt, you can type the following: .sp .5 lmshell 'type \e\e ernie\etmp\efoo' .sp.5 The drive letters and drive redirections exist only while you are in lmshell. They do not affect any other commands executing on the UNIX system server computer and they disappear when you exit lmshell. .sp.5 While you are in lmshell you can temporarily escape to the system shell by using the ! command. Again, drive letters and other redirections cannot be referenced outside lmshell, not even in a subshell started with the ! command. .sp.5 The lmshell command is not a UNIX system shell, nor is it the actual MS-DOS operating system. It is only able to run the commands that are displayed when you type ? at the console prompt. .SH EXAMPLE To type out the file foo in the share area tmp on the server ernie, type the following: .sp.5 .nf net use e: \e\eernie\etmp e: type foo .fi