Previous Topic: IBM Reference ManualNext Topic: Starting Your Product


Common USS Commands

This section includes basic definitions for common UNIX System Services (USS) commands:

cd

Changes directory.

chgrp

Changes ownership of one or more files to a new group ID.

chmod

Changes file permissions.

chown

Changes the file owner. This command changes the owning UID, GID, or both.

diff

Compares file or directory contents. diff -gr dir1/ dir2/ lists files that are different in dir1 and dir2.

find

Finds files with specified attributes.

grep

Finds text strings in files. For example, grep -i string * scans all files in the current directory for the specified string. The -i means that the search is not case-sensitive.

iconv

Converts from one character set to another.

lp

Directs output to line printer.

ls

Lists the file in a directory.

man

Displays the UNIX help for a command. For example, man chmod displays the UNIX help for the chmod command.

mkdir

Creates a directory.

mv

Moves or renames one or more files or directories.

nm

Displays the symbol table from an executable file.

rm

Deletes a file or directory.

od

Produces an octal dump of a file. Also does hexadecimal dumps.

ps

Displays information about active processes.

strings

Lists text strings in an executable file.

wall

Sends a message to all logged in users.

whence

Identifies the location of an executable file.

who

Displays the logged on users and information about them.