home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
TELECOM
/
OSKBox.lzh
/
MAILBOX
/
HELP
/
what
< prev
next >
Wrap
Text File
|
1991-01-29
|
2KB
|
57 lines
The What command tells you what files are in the system and how big they
are. The simplest form of the command:
W
will list the names of files in the top of the directory tree.
One special type of file is called a "directory". Directories are files
that contain other files. (Including, possibly, other directories!) By
convention, directories have upper-case names, and text files have
lower-case names. Directories also have a '/' appended to the end of
their name when they are listed by the What command.
To see what is in a directory, for instance "TUTORIAL", type:
W TUTORIAL
To get a more detailed listing of the files, you can use the WX command.
This works the same as the W command, except you get more info. You can find out the
info for a single file, for instance "part_01" in the "TUTORIAL"
directory, by typing:
WX tutorial/part_01
This will produce a listing that looks something like this:
Owner Last modified Attributes Sector Bytecount Name
------- ------------- ---------- ------ --------- ----
0.0 90/09/23 0343 ----r-wr 28927 3582 part_01
The most important info is the file size under the Bytecount column, and
the date and time the file was last modified. Note in the above example
that you didn't have to match the case of the letters in the file and
directory names.
"Wildcard" characters can also be used in the name. A "*" will replace
any number of charcters and a "?" will replace a single characters. For
example:
W mods/ft*
Which will give you a listing that looks something like this:
ft209 ft23r ft411 ft470 ft4700
ft727r ft736r ft757 ft767
Another form of the command is the "What's new?" variation:
WN
This will list any files added or modified since the last time you connected.
If you want to search farther back, you can specify a date. For example:
WN 12/25/88
will list any files added/modified on or since Christmas, '88.