PTC MKS Toolkit Product Documentation

All on-line PTC MKS Toolkit, PTC X/Server, MKS AlertCentre, and PTC Lex & YACC documentation refers to the currently shipping version of the product and is © 1986-2022 PTC.


PTC MKS Toolkit Utilities Reference

Introduction — introduction to reference pages

Commands

. — execute KornShell script in current environment
: — expand arguments and do nothing, successfully
[ — test for condition
[[ — test for condition
64decode — encode or decode a file using base64
64encode — encode or decode a file using base64
a2p — awk to perl translator
addftinfo — add information to troff font files for use with groff
afmtodit — create font files for use with groff -Tps
alias — display or create command aliases
appc — arbitrary precision programmable calculator
ar — create and maintain library archives
asa — interpret ASA/FORTRAN carriage control
assoc — set file extension association
at — execute commands at a later time
autoload — display or modify KornShell functions
autorun — specify programs to run on bootup or login under Win32
awk — data transformation, report generation language
awkc — compile AWK programs into executables
banner — display text in large font
basename — display file name component of path name
bash — POSIX-compliant (Korn/Bourne-Again) shell and command interpreter
batch — execute commands at a later time
bc — arbitrary-precision arithmetic calculation language
bdiff — compare two text files and show differences
bindres — encode resources and insert them into a specified text file
break — exit from loop in a KornShell script
bsdftp — Internet file transfer program
bsdtelnet — user interface to the TELNET protocol
bsduuidgen — generate universally unique identifiers
builtin — execute a simple command
bunzip2 — compress or decompress files using block-sorting
bz2cat — compress or decompress files using block-sorting
bzcmp — compare bzip2 compressed files
bzdiff — compare bzip2 compressed files
bzegrep — search possibly bzip2 compressed files for a regular expression
bzfgrep — search possibly bzip2 compressed files for a regular expression
bzgrep — search possibly bzip2 compressed files for a regular expression
bzip2 — compress or decompress files using block-sorting
bzip2recover — compress or decompress files using block-sorting
bzless — display bzip2 compressed files on a page-by-page basis
bzmore — display bzip2 compressed files on a page-by-page basis
c — produce multi-column output
cal — display a calendar for a month or year
calendar — appointment reminder system
CA.pl — friendlier interface for OpenSSL certificate programs
cat — concatenate and display text files
cc — interfaces to Microsoft C and C++ compilers
cd — change working directory
cdate — converts dates to seconds since January 1, 1970
chacl — change the access control list on 8.1/2012R2/10/2016/2019/11/2022 objects
chgrp — change the group ownership of files and/or directories
chmod — change access permissions of a file
chown — change the ownership of files and/or directories
cksum — compute checksum and byte count for file
clean64 — fix 64-bit UNIX source for the Win64 environment
clear — clear screen
cmp — compare two files
col — remove reverse line-feeds
color — set default foreground and background colors for console window
comm — compare sorted files and show differences
command — execute a simple command
compress — Lempel-Ziv compression of a file
continue — skip to next iteration of loop in KornShell script
cp — copy files
cpio — archiver to copy and back up files
cpp — C preprocessor
cppstdin — run a C preprocessor on the standard input stream
crontab — schedule regular background jobs
crypt — encryption/decryption filter
csh — C Shell, a shell (command interpreter) with C-like syntax
csplit — split a text file according to criteria
ctags — produce tags file for ex, more and vi
ctime — formats and displays dates
cut — selectively display fields or characters from input lines
cxx — interfaces to Microsoft C and C++ compilers
date — set and display date and time
db — send SQL queries to a database via ODBC
dc — arbitrary precision desk calculator
dd — copy and convert input blocks
dde — perform DDE client operations
declare — assign attributes and values to KornShell variables
deroff — remove nroff/troff formatter commands, prepare word list
desktop — simple command line desktop manipulation
dev — display device driver information
df — display amount of free space remaining on disk
dgstsum — create and check message digests
diff — compare two text files and show differences
diff3 — compare three text files
diffb — compare binary files and show differences
diffh — compare two text files and show differences
dircmp — compare directories
dirname — display directory components of path name
dirs — display all elements in the directory stack
dlg — load and manage Windows dialog boxes
dmidecode — Render System Management BIOS data in human readable form
domain — display 8.1/2012R2/10/2016/2019/11/2022 domain information
dosname — display the short name (8.3) or long name equivalent of file names
du — summarize file space usage
echo — display arguments
ed — line-oriented text editor
egrep — match patterns in a file
env — display environment, set environment for process
eqn — format equations for troff
etherwake — etherwake - send a Wake-On-LAN Magic Packet
eval — evaluate arguments in the KornShell
eventlog — read, write, backup, enumerate, count, clear, and display an event log
ex — display-oriented interactive text editor
exec — execute a command in place of the current shell
exit — exit from the KornShell
expand — expand tabs to spaces
Expect — programmed dialogue with interactive programs, Version 5
export — mark names for export
expr — evaluate expression
false — fail, quietly
fc — display, fix, edit and re-enter previous KornShell commands
fgrep — match patterns in a file
file — determine file type
filebox — display an open or save dialog box
filever — display file version information
find — find files within file tree
flip — convert text files between UNIX style and PC style
fmt — simple text formatter
fold — break lines into shorter lines
fping — send ICMP ECHO_REQUEST packets to network hosts
ftype — set file type association
functions — display or modify KornShell functions
funzip — filter for extracting from a ZIP archive in a pipe
gawk — pattern scanning and processing language
gcc — C and C++ compiler
gcore — Use dbghelp to write a Windows minidump (core) file
gdf — graphically display the amount of free space remaining on a disk
gdir — graphically display and manage the current directory stack
gencat — generate formatted message catalog
getconf — display POSIX configuration information
getopt — external command to parse shell file options
getopts — parse options from shell script command line
ghist — display and manage command history from a scrollable dialog box
gmake — GNU make utility to maintain groups of programs
gman — display both standard and groff reference pages
gpending — display file operations due to occur at reboot
gps — display and manage process statuses in a scrollable dialog box
grconfig — graphically configures the rshd and rexecd services
grep — match patterns in a file
gres — substitute for a pattern in a file
grodvi — convert groff output to TeX dvi format
groff — front end for the groff document formatting system
grog — guess options for groff command
grohtml — HTML driver for groff
grolj4 — groff driver for HP Laserjet 4 family
grops — PostScript driver for groff
grotty — groff driver for typewriter-like devices
groupinfo — manipulate 8.1/2012R2/10/2016/2019/11/2022 group information
gset — graphically define KornShell settings
gunzip — compress or expand files
gvar — graphically view or define KornShell variables, parameters, functions, and aliases
gzcat — compress or expand files
gzip — compress or expand files
halt — shut down the system
hash — create a tracked alias
hd — formatted file dump
head — display first part of file
help — display brief command explanations
hist — display, fix, edit and re-enter previous KornShell commands
history — display KornShell command history
hostinfo — display name, IP address, and aliases of host
hpftodit — create font description files for use with groff -Tlj4
htdiff — compare two HTML files and display differences
htsplit — split an HTML file into tokens
htstrip — strip tags from HTML file
iconv — convert characters from one code set to another
id — display user and group names
igawk — gawk with include files
imake — C preprocessor interface to make utility
imapmail — manipulate mail messages on IMAP and POP3 mail servers
indxbib — make inverted index for bibliographic databases
infocmp — compare or print out terminfo descriptions
install — copy files and set attributes
integer — declare an integer variable
ipcrm — remove message queue, semaphore, or shared memory identifiers
ipcs — display information about active IPC facilities
jobs — display the status of jobs in the current session
join — join two sorted, textual relational databases
kill — terminate process
ksh — POSIX-compliant (Korn/Bourne-Again) shell and command interpreter
kterm — multi-lingual terminal emulator for X
lc — list file system elements in categories
ld — interface to system linker
ldapadd — LDAP modify entry and LDAP add entry tools
ldapcompare — LDAP compare tool
ldapdelete — LDAP delete entry tool
ldapexop — LDAP who am i? tool
ldapmodify — LDAP modify entry and LDAP add entry tools
ldapmodrdn — LDAP rename entry tool
ldapsearch — LDAP search tool
ldapurl — LDAP delete entry tool
ldapwhoami — LDAP who am i? tool
less — display files on a page-by-page basis
let — evaluate arithmetic expressions
lex — generate programs for simple lexical tasks
lex — lexical analyzer generator
line — copy one line of standard input
lkbib — search bibliographic databases
ln — create a link to a file or directory
local — assign attributes and values to KornShell variables
logname — display user name
look — find lines in a sorted file which begin with string
lookbib — search bibliographic databases
ls — list file and directory names and attributes
lsacl — list access control lists for object
lsshare — displays information about a share
m4 — macro processing language
mailx — read electronic mail
make — maintain program-generated and interdependent files
man — display online reference pages
manstrip — strip the unprintable sequences out of online reference pages
mapimail — send mail on a Win32 system using the MSMapi32 ActiveX COM object
md2sum — create and check message digests
md4sum — create and check message digests
md5sum — create and check message digests
mdc2sum — create and check message digests
member — manipulate 8.1/2012R2/10/2016/2019/11/2022 group membership
mkcatdefs — preprocess a message file
mkdir — create a new directory
mkfifo — create FIFO special files
mksauth — password authentication service
mkscgi — run scripts on HTTP server through Common Gateway Interface
mksdiag — check PTC MKS Toolkit configuration
mks_env — create and manage named shell environments
mkshare — shares a directory
mksinfo — display product serial number and other MKS information
mksrv — run program or script as service
mkszip — compress a file
mktemp — create unique temporary file
mkurl — create or modify a URL based on its component parts
more — display files on a page-by-page basis
mount — mounts file systems
msgbox — display a message box and get response from user
mt — magnetic tape control
mv — rename and move files and directories
nc — netcat - arbitrary TCP and UDP connections and listens
ncenv — configure NuTCRACKER Platform development environment
ncenv64a — configure NuTCRACKER Platform development environment
ncenv64x — configure NuTCRACKER Platform development environment
ncf77 — interface to Absoft Fortran 77 compiler
ncf90 — interface to Absoft Fortran 90 compiler
netcat — netcat - arbitrary TCP and UDP connections and listens
netnews — receives and sends network news articles
nl — number lines
nm — display symbol table of object, library, or executable file
nroff — emulate nroff command with groff
od — formatted file dump
openssl — OpenSSL command line tool
openssl asn1parse — ASN.1 parsing tool
openssl ca — sample minimal CA application
openssl ciphers — SSL cipher display and cipher list tool
openssl cms — cms - CMS utility
openssl crl — CRL utility
openssl crl2pkcs7 — Create a PKCS#7 structure from a CRL and certificates.
openssl dgst — message digests
openssl dhparam — DH parameter manipulation and generation
openssl dsa — DSA key processing
openssl dsaparam — DSA parameter manipulation and generation
openssl dss1 — message digests
openssl ec — ec - EC key processing
openssl ecparam — ecparam - EC parameter manipulation and generation
openssl enc — symmetric cipher routines
openssl engine — load and query engines
openssl errstr — errstr - lookup error codes
openssl gendsa — generate a DSA private key from a set of parameters
openssl genpkey — genpkey - generate a private key
openssl genrsa — generate an RSA private key
openssl list — list algorithms and features
openssl md2 — message digests
openssl md4 — message digests
openssl md5 — message digests
openssl mdc2 — message digests
openssl nseq — create or examine a Netscape certificate sequence
openssl ocsp — Online Certificate Status Protocol utility
openssl passwd — compute password hashes
openssl pkcs12 — PKCS#12 file utility
openssl pkcs7 — PKCS#7 utility
openssl pkcs8 — PKCS#8 format private key conversion tool
openssl pkey — pkey - public or private key processing tool
openssl pkeyparam — pkeyparam - public key algorithm parameter processing tool
openssl pkeyutl — pkeyutl - public key algorithm utility
openssl prime — compute prime numbers
openssl rand — generate pseudo-random bytes
openssl rehash — rehash - Create symbolic links to files named by the hash values
openssl req — PKCS#10 certificate request and certificate generating utility.
openssl ripemd160 — message digests
openssl rsa — RSA key processing tool
openssl rsautl — RSA utility
openssl s_client — SSL/TLS client program
openssl sess_id — SSL/TLS session handling utility
openssl sha — message digests
openssl sha1 — message digests
openssl sha224 — message digests
openssl sha256 — message digests
openssl sha384 — message digests
openssl sha512 — message digests
openssl smime — S/MIME utility
openssl speed — test library performance
openssl spkac — SPKAC printing and generating utility
openssl srp — maintain SRP password file
openssl s_server — SSL/TLS server program
openssl s_time — s_time - SSL/TLS performance timing program
openssl storeutl — STORE utility
openssl ts — ts - Time Stamping Authority tool (client/server)
openssl tsget — tsget - Time Stamping HTTP/HTTPS client
openssl verify — Utility to verify certificates.
openssl version — print OpenSSL version information
openssl whirlpool — message digests
openssl x509 — Certificate display and signing utility
pack — compress files by Huffman encoding
passwd — change user password
paste — horizontally concatenate lines
patch — change file using diff output
pathchk — check path names
pax — archiver for data interchange and file backup
pcat — display Huffman packed files on standard output
pending — display file operations due to occur at reboot
perl — practical extraction and report language
perror — print error message for NuTCRACKER Platform error code
pfbtops — translate a PostScript font in .pfb format to ASCII
pg — interactively display files
pic — compile pictures for troff or TeX
pop3mail — manipulate mail messages on IMAP and POP3 mail servers
popd — remove an element from the directory stack
portcheck — scans specific ports on a machine
pr — display and format files
print — display arguments from the KornShell
printenv — display environment variables and their values
printf — display a formatted string
priv — manipulate rights/privileges lists
process — report NuTCRACKER Platform process information
ps — display process status
psbb — extract bounding box from PostScript document
psproxy — remote ps service
pushd — push a directory onto a directory stack
pwd — display working directory
pwrmgr — list and change power schemes
r — edit and re-execute previous command
ranlib — convert archives to random libraries
rconfig — configures the rshd and rexecd services
rcp — remote file copy
read — input a line to the KornShell
readonly — mark KornShell variable as read-only
realpath — realpath - expand symbolic links and drive letters
red — line-oriented text editor
refer — preprocess bibliographic references for groff
registry — display and modify the Windows Registry Database
reset — terminal initialization
resh — POSIX-compliant (Korn/Bourne-Again) shell and command interpreter
resize — set TERMCAP and terminal settings to current xterm window size
return — return from a KornShell function or . (dot) script
rev — reverse character order of input lines
rexec — remote execution
rexecd — remote execution service
ripemd160sum — create and check message digests
rlogin — remote login
rlogind — remote execution service
rm — remove files
rmdir — remove directory
rmshare — remove a share
rsetup — set up Windows NT LSA database entries
rsh — remote shell
rshd — remote shell service
scp — secure copy (remote file copy program)
script — make typescript of terminal session
secsh — OpenSSH SSH client (remote login program)
secsh-add — adds RSA or DSA identities to the authentication agent
secsh-agent — authentication agent
secshd — OpenSSH Secure Shell service
secsh-keygen — authentication key generation, management and conversion
secsh-keyscan — gather ssh public keys
secsh-keysign — secsh helper program for host-based authentication
sed — stream editor (non-interactive)
sendevent — sends mouse or keyboard events
service — manage 8.1/2012R2/10/2016/2019/11/2022 services
set — set KornShell flags and positional parameters
sftp — secure file transfer program
sftp-server — SFTP server subsystem
sh — POSIX-compliant (Korn/Bourne-Again) shell and command interpreter
sha1sum — create and check message digests
sha224sum — create and check message digests
sha256sum — create and check message digests
sha384sum — create and check message digests
sha512sum — create and check message digests
shasum — create and check message digests
shexec — execute Windows operation on an application, document, or folder
shift — shift KornShell positional parameters
shopt — control optional shell behavior
shortcut — create an explorer shortcut file
shutdown — shut down the system with warning
sid — display user's security identifier
size — display object file sizes
sleep — suspend execution for a specified time
smtpmail — send mail using SMTP
snetnews — receives and sends network news articles
snmpbulkget — communicates with a network entity using SNMP GETBULK requests
snmpbulkwalk — communicates with a network entity using SNMP BULK requests
snmpdelta — Monitor delta differences in SNMP Counter values
snmpdf — gets a listing of disk space usage on a remote machine via SNMP
snmpget — communicates with a network entity using SNMP GET Requests
snmpgetnext — communicates with a network entity using SNMP GETNEXT Requests
snmpinform — sends an SNMP notification to a manager
snmpnetstat — display networking status and configuration information from a network entity via SNMP
snmpset — communicates with a network entity using SNMP SET Requests
snmpstatus — Retrieves important information from a network entity.
snmptable — retrieve an SNMP table and display it in tabular form
snmptest — communicates with a network entity using SNMP requests
snmptranslate — translate MIB OID names between numeric and textual forms
snmptrap — sends an SNMP notification to a manager
snmptrapd — service to receive and log SNMP trap messages
snmpusm — creates and maintains SNMPv3 users on a remote entity
snmpwalk — retrieve a subtree of management values using SNMP GETNEXT requests
soelim — interpret .so requests in groff input
sort — sort/merge utility
source — execute KornShell script in current environment
spell — detect spelling errors
split — split a file into manageable pieces
ssh — OpenSSH SSH client (remote login program)
ssh-add — adds RSA or DSA identities to the authentication agent
ssh-agent — authentication agent
ssh-keygen — authentication key generation, management and conversion
ssh-keyscan — gather ssh public keys
ssh-keysign — secsh helper program for host-based authentication
start — start a new program in another window
stat — gets file information
strerror — display a system error message
strings — display printable strings in binary files
strip — remove debug information from executable files
stty — set or display terminal options
su — substitute user
sum — compute checksum and block count for file
sync — update the disk
sysinf — display technical system information
tail — display last lines of a file
tar — USTAR-compatible tape archiver to copy and back up files
taskrun — set up standard input for command, run command, and save output
tbl — format tables for troff
TCL — TCL language
tee — clone output stream
telnetd — DARPA TELNET protocol service
test — test for condition
tfmtodit — create font files for use with groff -Tdvi
tic — the terminfo entry-description compiler
time — display CPU and elapsed times for commands
times — display user and system times used by the KornShell and its children
tkpath — perform various operations (mostly available in other commands) in a cygpath compatible way.
tksched — PTC MKS Toolkit Scheduler
touch — change file modification date
tput — initialize a terminal or query terminfo database
tr — translation filter
trap — intercept abnormal conditions and interrupts
troff — format documents
true — do nothing, successfully
truss — trace program on NuTCRACKER Platform
tset — terminal initialization
tsort — topological sort
tty — display terminal name
type — identify how KornShell interprets name
typeset — assign attributes and values to KornShell variables
ugrep — search for regular expressions from a dialog box
umask — get or set the file mode creation mask
umount — unmount file systems
unalias — remove alias definitions
uname — display system name information
uncname — return the UNC name for a specified file
uncompress — undo compression of a file
unexpand — compress spaces into tabs
uniq — display unique lines of sorted file
units — conversion program
unpack — decode Huffman packed files
unset — remove KornShell variable or function
unzip — list, test and extract compressed files in a ZIP archive
uptime — display how long system has been running
url — parse Uniform Resource Locators (URLs)
userinfo — manage 8.1/2012R2/10/2016/2019/11/2022 user information
uudecode — decode file encoded with uuencode
uuencode — encode a file in 7-bit characters
uuidgen — generate universally unique identifiers
vdiff32 — (Visual Diff) graphical version of diff utility
vhdutil — manipulate virtual disk and ISO images
vi — display-oriented interactive text editor
view — display-oriented interactive text editor
viw — Windows version of vi editor
viw_vs — using viw as the Microsoft Visual Studio editor
vpax — (Visual Pax) graphical interface to pax, cpio, and tar archives
wait — wait for process to complete
wc — count of newlines, words, bytes, and characters
wcopy — copy from a specified file or standard input to the Windows clipboard
web — transfer files to or from a Web server
whence — identify how KornShell interprets command name
whereis — display full path name for executable command
which — display full path name for executable command
whirlpoolsum — create and check message digests
who — display information about current users
whoami — display user name
winctrl — manipulate windows
windir — display names and paths of Windows directories
wpaste — write clipboard text to standard output or a specified file
ws — display the name of the current workstation or desktop
wstart — start a new program in another window
wts — execute commands at a later time
xargs — construct and execute command lines
xd — formatted file dump
xterm — terminal emulator for X
yacc — parser generator language
yacc — yet another compiler-compiler
zcat — uncompress and display data
zip — package and compress (archive) files
zipcloak — encrypt entries in a zipfile
zipgrep — search files in a ZIP archive for lines matching a pattern
zipinfo — list detailed information about a ZIP archive
zipnote — write the comments in zipfile to stdout, edit comments and rename files in zipfile
zipsplit — zipsplit - split a zipfile into smaller zipfiles

File Formats

cpio — format of cpio archives
hosts.equiv — file containing trusted remote hosts and host-user pairs
magic — format of the magic file
netrc — file supplying remote user names and passwords for rexec
pax — format of pax archives
~/.rhosts — file containing trusted remote hosts and host-user pairs
snmp.conf — configuration file for the Net-SNMP applications
snmptrapd.conf — configuration file for the Net-SNMP notification receiver
tags — format of tags file
tape — format for SCSI tape device names
tar — format of tar archives
utmp — login accounting file format
uuencode — format of uuencoded file
vi — format of vi syntax configuration and map files

Miscellaneous

ascii — table of ASCII collating sequence
cc — cc configuration files
dev — UNIX-style /dev names for MKS Toolkit
envvar — standard environment variables
EUCM — Single-rooted virtual file system for MKS Toolkit
groff_char — groff character names
groff_font — format of groff device and font description files
groff_man — groff `an' macros to support generation of man pages
groff_mdoc — quick reference guide for the -mdoc macro package
groff_mdoc.samples — tutorial sampler for writing BSD UNIX manuals with -mdoc
groff_me — troff macros for formatting papers
groff_mm — groff mm macros
groff_ms — groff ms macros
groff_msafer — groff -msafer macros
groff_out — groff intermediate output format
iconv — available code sets for conversion
ldap.conf — LDAP configuration file/environment variables
.ldaprc — LDAP configuration file/environment variables
makefile — format of MKS Make file
mks_lex — functions used with MKS lex
mks_lexplus — C++ functions used with MKS lex
mks_yacc — C interface to the parser produced by MKS yacc
mks_yaccplus — C++ functions used with MKS yacc
openssl config — OpenSSL CONF library configuration files
regexp — syntax of regular expression patterns
security — security related information
snmpcmd — describes common options for SNMP commands
snmp_config — handling of Net-SNMP configuration files
snmp_variables — Format of specifying variable names to SNMP tools.
stat — getting file system information from Win32
symbol — C functions for symbol table management
timezone — setting local time zone
unicode — MKS Toolkit Unicode support
vipc — PC-specific set options to Vi
vista — MKS Toolkit and Windows Vista/7/2008
x509v3 config — X509 V3 certificate extension configuration format