use(LM) 19 June 1992 use(LM) Name net use - connect a user to a remote server and display network connections Syntax net use alias //remotemachine/netname [password] net use alias -d net use Description The net use command connects the user to another network machine and lists currently established network connections. The format of the command to connect to a remote server is: net use alias //remotemachine/netname [password] where: alias is a short name that refers to the connection with the remote computer specified in the remote_machine field. alias name must not exceed 14 characters in length. //remotemachine is the name of the remote server. netname When connecting to a UNIX LAN Manager server, netname can be either a user name listed in the /etc/passwd file on the server or a resource name established on the server with a net share command. If the user name is used, access to //alias is treated as a reference to the home directory of that user on the remote machine. If a resource name is used, access to //alias is treated as a reference to the directory or printer associated with the resource that was established with the net share command. When connecting to a XENIX-NET server, netname is a user name listed in the /etc/passwd file on the server. Access to //alias is treated as a reference to the root directory on the remote machine. When connecting to an OS/2 LAN Manager or MS-NET server, the netname is a resource name established on the server with a net share command. Access to //alias is treated as a reference to the directory or printer associated with the resource that was established with the net share command. password is the password associated with the user name or resource name specified by netname. If no password is specified on the command line, the user is prompted to enter a password. The command net use alias -d terminates the connection specified by alias. The net use command without options lists the currently established con- nections. Notes The net use command is not necessary if a client is connecting to a XENIX-NET server with trusted access.