TotalNET Advanced Server 5.2 Quick Reference

TotalNET Command Line Utilities

acprint

Purpose -- Sends a remote AppleTalk print job.

Location --

TNHOME/usr/bin

Usage --

acprint [-b] [-d] [-o] [-t] printer [file...]
acprint -s printer

acslist

Purpose -- Lists active AppleTalk realm services.

Location --

TNHOME/usr/bin

Usage --

acslist [-m] [-s] [-q queries] [-w wait-secs] [pattern]

aczonelist

Purpose -- Lists zones in the AppleTalk network.

Location --

TNHOME/usr/bin

Usage --

aczonelist [-l]

atattr

Purpose -- Lists or modifies Macintosh file attributes.

Location --

TNHOME/usr/bin

Usage --

atattr [-C] [-V] [-v] [-u] [{+|-}bcdimrsw] file...

atconvert

Purpose -- Converts Macintosh files to the new TAS format.

Location --

TNHOME/usr/bin

Usage --

atconvert [-b] [-c] [-C charset] [-d] [-H] [-k] dir... 

atdidck

Purpose -- Checks for problems in the ATdidd database.

Location --

TNHOME/usr/sbin

Usage --

atdidck [-d|-a] [-p path]

atkprobe

Purpose -- Probes for AppleTalk zone information.

Location --

TNHOME/usr/bin

Usage --

atkprobe device:ppa-number

ddpinfo

Purpose -- Gives AppleTalk packet information.

Location --

TNHOME/usr/bin

Usage --

ddpinfo [-i[x]] [-u[x]] [-r]

desk

Purpose -- Lists a volume's Desktop database information.

Location --

TNHOME/usr/bin

Usage --

desk [-C] [-u] [-V] [-{a|h|i}] volume

ipxprobe

Purpose -- Probes for IPX transport interface information.

Location --

TNHOME/usr/bin

Usage --

ipxprobe device:ppa-number

m2u

Purpose -- Converts Macintosh files to UNIX files.

Location --

TNHOME/usr/bin

Usage --

m2u [-C] [-u] [-V] [-v] file...

maccp

Purpose -- Copies Macintosh files and directories.

Location --

TNHOME/usr/bin

Usage --

maccp [-C] [-i] [-p] [-V] [-u] sourcefile targetfile
maccp [-C] [-i] [-p] [-V] [-u] sourcedir targetdir
maccp [-C] [-i] [-p] [-V] [-u] sourcefile targetdir

macfsck

Purpose -- Checks the Macintosh file system.

Location --

TNHOME/usr/bin

Usage --

macfsck [-C] [-f] [-r] [-s] [-u] [-V] [-v] [-y]  dir...

macmd

Purpose -- Creates a Macintosh directory.

Location --

TNHOME/usr/bin

Usage --

macmd [-C] [-u] [-V] dir...

macmv

Purpose -- Moves Macintosh files and directories.

Location --

TNHOME/usr/bin

Usage --

macmv [-C] [-f] [-i] [-u] [-V] file1 file2
macmv [-C] [-f] [-i] [-u] [-V] dir1 dir2
macmv [-C] [-f] [-i] [-u] [-V] file dir

macrd

Purpose -- Removes Macintosh directories.

Location --

TNHOME/usr/bin

Usage --

macrd [-C] [-u] [-V] dir...

macrm

Purpose -- Removes Macintosh files and directories.

Location --

TNHOME/usr/bin

Usage --

macrm [-C] [-f] [-i] [-r] [-V] [-u] {file|dir}...

nbmessage

Purpose -- Sends message to NetBIOS clients.

Location --

TNHOME/usr/bin

Usage --

nbmessage [-u user] [-c client] [-s service] [-n NBclient...] message

nbq

Purpose -- Displays NetBIOS print queues.

Location --

TNHOME/usr/bin

Usage --

nbq [queue...]

ncget

Purpose -- Copies files from a remote NetWare server.

Location --

TNHOME/usr/bin

Usage --

ncget -s server -u user {-p password|-P} \
 		[-C charset] [-v] volume:/fullpath localfile

ncprint

Purpose -- Prints local files to a remote NetWare printer.

Location --

TNHOME/usr/bin

Usage --

ncprint [-c] [-nf] -s server -q queue [-N copies] \
 -u user {-p password|-P} file

ncput

Purpose -- Copies files to a remote NetWare server.

Location --

TNHOME/usr/bin

Usage --

ncput -s server -u user {-p password|-P} \ 
[-C charset] localfile [-v] volume:/path

ncslist

Purpose -- Lists active NetWare services.

Location --

TNHOME/usr/bin

Usage --

ncslist [-s server] [-t type]

nctime

Purpose -- Displays the time of a remote NetWare server.

Location --

TNHOME/usr/bin

Usage --

nctime -s server

nwmessage

Purpose -- Sends a message to NetWare clients.

Location --

TNHOME/usr/bin

Usage --

nwmessage [-u user] [-c client] [-s service] message

nwq

Purpose -- Displays NetWare print queues.

Location --

TNHOME/usr/bin

Usage --

nwq [queue...]

pfinfo

Purpose -- Gets finder information for Macintosh files.

Location --

TNHOME/usr/bin

Usage --

pfinfo [-C] [-V] [-u] [-m atmap] file...

ruattr

Purpose -- Lists or modifies DOS attributes of remote files.

Location --

TNHOME/usr/bin

Usage --

ruattr [-u user] [{-p password|-P] [-C charset] \
		[+{a|s|h|r}] [-{a|s|h|r}] 		//server/object/path

rucopy

Purpose -- Copies files between UNIX and a remote NetBIOS server.

Location --

TNHOME/usr/bin

Usage --

rucopy [-u user] [{-p password|-P}] [-v] [-c] \
 		[-C charset] [-f] localfile \
 		 //server/object/path
rucopy [-u user] [{-p password|-P}] [-v] [-c]\
 		[-s] [-C charset] [-a{s|h}] \
 		 //server/object/path/localpath

rudel

Purpose -- Deletes files on remote servers.

Location --

TNHOME/usr/bin

Usage --

rudel [-u user] [{-p password|-P}] [-C charset] \
 		[-a{s|h}] //server/object/path

rudir

Purpose -- Lists remote directories.

Location --

TNHOME/usr/bin

Usage --

rudir [-u user] [{-p password|-P}] [-C charset] \
 		[-a{s|h}] //server/object/path

rumd

Purpose -- Creates a directory on a remote server.

Location --

TNHOME/usr/bin

Usage --

rumd [-u user] [{-p password|-P}] [-C charset] \
 		//server/object/path

rumessage

Purpose -- Sends a message to a remote NetBIOS client.

Location --

TNHOME/usr/bin

Usage --

rumessage [-C charset] //server text

ruprint

Purpose -- Sends a remote print job.

Location --

TNHOME/usr/bin

Usage --

ruprint [-u user] [{-p password|-P}] [-N copies] \
 		[-v]  [-c] [filespec] //server/object

rurd

Purpose -- Removes directories from a remote server.

Location --

TNHOME/usr/bin

Usage --

rurd [-u user] [{-p password|-P}] [-C charset] \
 		//server/object/path

ruren

Purpose -- Renames remote files.

Location --

TNHOME/usr/bin

Usage --

ruren [-u user] [{-p password|-P}] [-C charset] \
 		[-a{s|h}] //server/object/path1 path2

rush

Purpose -- Starts a remote utility shell session.

Location --

TNHOME/usr/bin

Usage --

rush [-u user] [{-p password|-P}] [-C charset] \
 		[+{a|s|h|r}] [-{a|s|h|r}] 		//server/object/path

ruslist

Purpose -- Displays the browse list of a system, workgroup, or domain.

Location --

TNHOME/usr/bin

Usage --

ruslist [-v] [-w workgroup]
ruslist [-v] -w workgroup -n transport \
 		-i interface [-p ipaddr] [-l] //server

rutime

Purpose -- Displays the remote system time.

Location --

TNHOME/usr/bin

Usage --

rutime [-u user] [{-p password|-P}] [-s] \
 		 //server/object

tnaccept

Purpose -- Accepts client connection requests.

Location --

TNHOME/usr/sbin

Usage --

tnaccept [-r realm] [-t type] [-s service]

tnadvert

Purpose -- Configures the transport advertisement.

Location --

TNHOME/usr/sbin

Usage --

tnadvert -L [-n transport]
tnadvert [-R [-n transport [-d advertisement \
 		[{-a attribute=value}]]]]
tnadvert [(-A|-M) -n transport -d advertisement \
 		{-a attribute=value}]
tnadvert [-D -n transport -d advertisement]

Attribute

fixed-socket number

tnatalk

Purpose -- Configures AppleTalk maps.

Location --

TNHOME/usr/sbin

Usage --

tnatalk [-L] 
tnatalk [-R [-m atmap [{-a attribute}]]]
tnatalk [(-A|-M) -m atmap {-a attribute=value}]
tnatalk [-D -m atmap]

Attribute

template-only on|off

tnattach

Purpose -- Configures attach points.

Location --

TNHOME/usr/sbin

Usage --

tnattach [-L [-r realm [-s service]]]
tnattach [-R [-r realm [-s service \
 		[-j attach-point [-a attribute}]]]]]
tnattach [(-A|-M) -r realm -s service \
 		-j attach-point {-a attribute=value}]
tnattach [-D -r realm -s service -j attach-point]

Attributes

path pathname
volume volumename

tncct

Purpose -- Configures client contexts.

Location --

TNHOME/usr/bin

Usage --

tncct -r realm -s service \
 		[-c client-context -u user]

tnchgrp

Purpose -- Changes the group ID of files and directories.

Location --

TNHOME/usr/bin

Usage --

tnchgrp [-f] [-i] [-R] group {file...| dir...}

tnchmod

Purpose -- Changes the mode of files or directories.

Location --

TNHOME/usr/bin

Usage --

tnchmod [-f] [-i] [-R] absolute-mode \
 		{file...| dir...}
tnchmod [-f] [-i] [-R] symbolic-mode-list \
 		{file...|dir...}

tnchown

Purpose -- Sets the user ID of files or directories.

Location --

TNHOME/usr/bin

Usage --

tnchown [-f] [-i] [-R] owner {file...|dir...}

tnck

Purpose -- Checks lock information and the runtime database.

Location --

TNHOME/usr/sbin

Usage --

tnck [-n] [-r realm] [-t type] [-s service]

tncmnames

Purpose -- Displays TAS character set map names.

Location --

TNHOME/usr/bin

Usage --

tncmnames

tncp

Purpose -- Copies files and directories.

Location --

TNHOME/usr/bin

Usage --

tncp [-f] [-i] [-p] file1 file2
tncp [-f] [-i] [-p] file... dir1
tncp [-f] [-i] [-p] -R dir1 dir2

tncustom

Purpose -- Configures the tnpasswd utility environment.

Location --

TNHOME/usr/sbin

Usage --

tncustom [-L]
tncustom [-R [-u utility [{-a attribute}]]]
tncustom (-A|-M) -u utility {-a attribute=value}
tncustom -D -u utility

Attributes

command commandtitle
new-prompt string
old-prompt string
user-prompt string

tndirck

Purpose -- Checks and synchronizes shadow files.

Location --

TNHOME/usr/bin

Usage --

tndirck [-f] [-i] [-p] [-R] dir...

tngettext

Purpose -- Gets a translated text string from tnmsgfmtó.

Location --

TNHOME/usr/bin

Usage --

tngettext [domain] "msgid"

tniface

Purpose -- Configures transport interfaces.

Location --

TNHOME/usr/sbin

Usage --

tniface [-L [-n transport]]
tniface [-R [-n transport [-i interface \
		[{-a attribute}]]]
tniface [(-A|-M) -n transport -i interface \
 		{-a attribute=value}]
tniface [-D -n transport -i interface]

Attributes

address IP-address
broadcast IP-address
checksum on|off
default-zone zonename
device devicename
frame-type frametype
mtusize size
netmask IP-address
net-number network-number
net-range network-range
zonelist list

tninfo

Purpose -- Displays connected client information.

Location --

TNHOME/usr/bin

Usage --

tninfo [-r realm] [-t type] [-s service] [-f] \
 		[-u user|-c client]

tnistat

Purpose -- Checks the status of tnipx network connections.

Location --

TNHOME/usr/bin

Usage --

tnistat [-a] [-h] [-i] [-v] [-x] [c|p|r|u]

tnkill

Purpose -- Disconnects TAS clients.

Location --

TNHOME/usr/sbin

Usage --

tnkill [-C][-f] {-u user|-c client} [-r realm] \
 		[-t type] [-s service]...{minutes [reason]}

tnld

Purpose -- Displays file service lockfile information.

Location --

TNHOME/usr/bin

Usage --

tnld [-h] [-l] [-s] [-w] [-c client] [-f file] \
 		[-i inode-number] [-u user]

tnlicense

Purpose -- Displays TAS license information.

Location --

TNHOME/usr/sbin

Usage --

tnlicense [-h] [-l] [-d product] [-p product] \
 		[-k key] [-a key][-m key]

tnmsgfmt

Purpose -- Creates message object files from portable object files.

Location --

TNHOME/usr/bin

Usage --

tnmsgfmt [-v] filename.xmsg

tnmv

Purpose -- Moves files and directories.

Location --

TNHOME/usr/bin

Usage --

tnmv [-f] [-i] file1 file2
tnmv [-f] [-i] file... dir
tnmv [-f] [-i] dir1 dir2

tnnetmgr

Purpose -- Configures network managers.

Location --

TNHOME/usr/sbin

Usage --

tnnetmgr [-L [-r realm]]
tnnetmgr [-R [-r realm [-g net-manager \
 		[{-a attribute}]]]]
tnnetmgr [(-A|-M) -r realm -g net-manager \
 		{-a attribute=value}]
tnnetmgr [-D -r realm -g net-manager]

Attributes

address IP-address
community name

tnpasswd

Purpose -- Administers TAS user passwords.

Location --

TNHOME/usr/bin

Usage --

tnpasswd [-u user] [-r realm...] [-s script...]
tnpasswd -d user [-r realm...]

tnpref

Purpose -- Configures printer references.

Location --

TNHOME/usr/sbin

Usage --

tnpref [-L [-r realm [-s service]]]
tnpref [(-A|-D) [-r realm [-s service \
 		[-p printer]]]]

tnprinter

Purpose -- Manages printers as system objects.

Location --

TNHOME/usr/sbin

Usage --

tnprinter [-L]
tnprinter [-R [-p printer [{-a attribute=value}]]]
tnprinter [(-A|-M) -p printer {-a attribute=value}]
tnprinter [-D -p printer]

Attributes

atalk-device-name string
description string
queue queuename
share-access on|off
share-passwd password-string
spooler-options option-strings
template-only on|off

tnrealm

Purpose -- Configures TAS realms.

Location --

TNHOME/usr/sbin

Usage --

tnrealm [-L]
tnrealm [-R [-r realm [{-a attribute}]]]
tnrealm [(-A|-M) -r realm {-a attribute=value}]
tnrealm [-D -r realm]

Attributes

anninterval seconds
bindery-load username|ALL
lm-domain domain-name
transport tcpip|tnnbu|tnipx|tnatk
wins-servers value
win95-logon-script-dflt value

tnreject

Purpose -- Rejects client connection requests.

Location --

TNHOME/usr/sbin

Usage --

tnreject [-r realm] [-t type] [-s service]

tnrm

Purpose -- Removes files and directories.

Location --

TNHOME/usr/bin

Usage --

tnrm [-f] [-i] file
tnrm [-f] [-i] -R dir

tnroute

Purpose -- Configures static routes.

Location --

TNHOME/usr/sbin

Usage --

tnroute [-L -n transport]
tnroute [-R [-n transport [-o route \
 		[{-a attribute}]]]]
tnroute [(-A|-M) -n transport -o route \
		{-a attribute=value}]
tnroute [-D -n transport -o route]

Attribute

gateway address

tnservice

Purpose -- Configures TAS services.

Location --

TNHOME/usr/sbin

Usage --

tnservice [-L [-r realm]]
tnservice [-R [-r realm [-s service \
 		[{-a attribute}]]]]
tnservice [(-A|-M) -r realm -s service \
		{-a attribute=value}]
tnservice [-D -r realm -s service]

Attributes (all services)

aliases value
command UNIX-command
description string
home path
persistent on|off
plex unique|group
template-only on|off
transport tcpip|tnnbu|tnipx|tnatk
umask octal-number
user username

Attributes (file services)

activity on|off
attdefault volumename|attachname
authent-proxy servicename:service-type
browse-election-bias 0-255
browse-election-version 0-65535
browse-master on|off|domain
browse-user on|off
cachesize size
chpass on|off
client-charset name
client-encryption on|off
clienttime on|off
commmandpath path
db-update-interval seconds
dce-authentication on|off
dfreport all|root
guest username
keepalive number
lm-announce on|off
login-control allow|deny username...
machine string
max-conns number
netiosize number
nice number
no-login username...
null-group groupID
null-passwd-login on|off
openfiles number
packet-burst on|off
passwdage on|off
prdefault printername
prelip-rpktsize size
preserve-whitespace on|off
restrictdcm on|off
savepass on|off
searchcount number
share-mode on|off
share-user username
smb-protocol-level core|lanman 1.0|lanman 2.0|lanman 2.1
spooldir path
trace option-string
user-map name
windows95-logon on|off

tnshut

Purpose -- Stops TAS services.

Location --

TNHOME/usr/sbin

Usage --

tnshut [-f] [-r realm] [-t type] [-s service]
tnshut -C [-r realm] [-t type] [-s service]
tnshut [minutes... [reason...]]

tnsname

Purpose -- Configures static NetBIOS names.

Location --

TNHOME/usr/sbin

Usage --

tnsname [-L -n transport]
tnsname [-R [-n transport [-s static_name \
 		[{-a attribute}]]]]
tnsname [(-A|-M) -n transport -s static_name \
 		[{-a attribute=value}]]
tnsname [-D -n transport -s static_name]

Attribute

address IP-address

tnstart

Purpose -- Starts TAS services.

Location --

TNHOME/usr/sbin

Usage --

tnstart [-r realm] [-t type] [-s service]
tnstart -B [-r realm]
tnstart -F

tnstat

Purpose -- Displays TAS status.

Location --

TNHOME/usr/bin

Usage --

tnstat [-r realm] [-t type] [-s service]

tnstype

Purpose -- Configures service types.

Location --

TNHOME/usr/sbin

Usage --

tnstype [-L [-r realm]]
tnstype [-R [-r realm [-t type [{-a attribute}]]]]
tnstype [(-A|-M) -r realm -t type \
 		{-a attribute=value}]
tnstype [-D -r realm -t type]

Attributes

description string
fixed-socket number
protocol protocol
type physical-type-code

tnsuffix

Purpose -- Configures suffixes for AppleTalk maps.

Location --

TNHOME/usr/sbin

Usage --

tnsuffix [-L [-m atmap]]
tnsuffix [-R [-m atmap [-x suffix \
 		[{-a attribute}]]]]
tnsuffix [(-A|-M) -m atmap -x suffix \
		{-a attribute=value}]
tnsuffix [-D -m atmap -x suffix]

Attributes

comment string
conversion ascii|binary
creator Macintosh-creator-code
type Macintosh-type-code

tnsystem

Purpose -- Configures the TAS system.

Location --

TNHOME/usr/sbin

Usage --

tnsystem [-R [{-a attribute}]]
tnsystem [-M {-a attribute=value}]

Attributes

admin-user username
dfinterval interval
host-charset name
host-packaging default|single|euc|shift-jis
spooler spoolername
start-at-boot on|off
system-name name

tntransport

Purpose -- Configures TAS transports.

Location --

TNHOME/usr/sbin

Usage --

tntransport [-L]
tntransport [-R [-n transport [{-a attribute}]]]
tntransport [(-A|-M) -n transport \
 		{-a attribute=value}]
tntransport [-D -n transport]

Attribute (all transports)

template-only on|off

Attributes (tcpip transport)

bcast-style IP-address
NB-dgram-port port-number
NB-ensclient on|off
NB-ens-port UDP-port-number
NB-name-port port-number
NB-nd-addr IP-address
NB-nd-enable on|off
NB-nd-port port-number
NB-nokeep on|off
NB-scope scope-string
NB-session-port port-number
recvbuf bufsize
sendbuf bufsize

Attributes (tnipx transport)

rip-age-multiple number
rip-age-timeout seconds
rip-bcast-interval seconds
rip-ipg milliseconds
rip-max-entries number
rip-poll-base seconds
rip-xck-fract number
rip-xck-multiple number
rip-xck-prob number
router on|off
sap-age-interval seconds
sap-age-timeout seconds
sap-answer-nearest on|off
sap-bcast-interval seconds
sap-ipg milliseconds
sap-max-entries number
spxmaxpacket size

Attributes (tnatk transport)

local-zone zonename
router auto|on|off

tnumap

Purpose -- Configures username maps.

Location --

TNHOME/usr/sbin

Usage --

tnumap [-L]
tnumap [-R [-m user-map [{-a attribute}]]]
tnumap [(-A|-M) -m user-map [{-a attribute=value}]]
tnumap [-D -m user-map]

tnumapuser

Purpose -- Configures user maps.

Location --

TNHOME/usr/sbin

Usage --

tnumapuser [-L [-m user-map]]
tnumapuser [-R [-m user-map [-u internal-user \
 		[{-a attribute}]]]]
tnumapuser [(-A|-M) -m user-map -u internal-user \
 		{-a attribute=value}]
tnumapuser [-D -m user-map -u internal-user]

Attribute

external-users names

tnvolck

Purpose -- Checks and synchronizes shadow files.

Location --

TNHOME/usr/bin

Usage --

tnvolck [-a] [-[y|n]] [-p] [volume[:file]]

tnvolume

Purpose -- Manages volumes.

Location --

TNHOME/usr/sbin

Usage --

tnvolume -L
tnvolume -R [-v volume [-a attribute]]
tnvolume (-A|-M) -v volume {-a attribute=value}
tnvolume -D -v volume

Attributes

atalk-map map-name
atalk-password password
atalk-per-session-dids on|off
atalk-text-conv on|off
description string
filename-case lower|preserve|default
meter on|off
path pathname
protect limit
share-access on|off
share-passwd password-string
template-only on|off
umask number

tnvref

Purpose -- Configures volume references.

Location --

TNHOME/usr/sbin

Usage --

tnvref [-L [-r realm [-s service]] -v volume]
tnvref [(-A|-D) -r realm -s service -v volume]

tnwho

Purpose -- Lists connected TAS clients.

Location --

TNHOME/usr/bin

Usage --

tnwho [-r realm] [-t type] [-s service]

u2m

Purpose -- Converts UNIX files to Macintosh files.

Location --

TNHOME/usr/bin

Usage --

u2m [-C] [-u] [-V] [-v] file...

How to Reach Us

If You Need Help

Before contacting Syntax, please have the following information ready:

Copyright Information

Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227 7013. Notice - Notwithstanding any other lease or license agreement that may pertain to, or accompany the delivery of, this restricted computer software, the rights of the Government regarding its use, reproduction and disclosure are as set forth in subparagraph (c)(2) of the Commercial Computer Software Restricted Rights clause at FAR 52.227 19. © Copyright 1997 Syntax, Inc. All rights reserved. No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated into any language, in any form or by any means, electronic, mechanical, xerographic, optical, magnetic, or otherwise, without prior written permission from Syntax. The information in this document is subject to change without notice and should not be construed as a commitment by Syntax, Inc. Syntax, Inc. assumes no liability for any errors that may appear in this document, nor for any infringements of patents or other rights of third parties resulting from its use. The software described in this document is furnished under a license and may be used or copied only in accordance with the terms of such license. TotalNET Advanced Server, TAS, TotalNET, TotalNET Administration Suite, TNAS, and TotalAdmin are trademarks of Syntax, Inc. All other trademarks of companies whose products are referenced in this document are hereby recognized.