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 >
Text File  |  1991-01-29  |  2KB  |  57 lines

  1. The What command tells you what files are in the system and how big they
  2. are.  The simplest form of the command:
  3.  
  4.    W
  5.  
  6. will list the names of files in the top of the directory tree.
  7.  
  8. One special type of file is called a "directory".  Directories are files
  9. that contain other files.  (Including, possibly, other directories!)  By
  10. convention, directories have upper-case names, and text files have
  11. lower-case names.  Directories also have a '/' appended to the end of
  12. their name when they are listed by the What command.
  13.  
  14. To see what is in a directory, for instance "TUTORIAL", type:
  15.  
  16.    W TUTORIAL
  17.  
  18. To get a more detailed listing of the files, you can use the WX command. 
  19. This works the same as the W command, except you get more info.  You can find out the
  20. info for a single file, for instance "part_01" in the "TUTORIAL"
  21. directory, by typing:
  22.  
  23.    WX tutorial/part_01
  24.  
  25. This will produce a listing that looks something like this:
  26.  
  27.  Owner    Last modified  Attributes Sector Bytecount Name
  28. -------   -------------  ---------- ------ --------- ----
  29.   0.0     90/09/23 0343   ----r-wr   28927      3582 part_01
  30.  
  31. The most important info is the file size under the Bytecount column, and
  32. the date and time the file was last modified.  Note in the above example
  33. that you didn't have to match the case of the letters in the file and
  34. directory names. 
  35.  
  36. "Wildcard" characters can also be used in the name.  A "*" will replace
  37. any number of charcters and a "?" will replace a single characters.  For
  38. example:
  39.  
  40.    W mods/ft*
  41.  
  42. Which will give you a listing that looks something like this:
  43.  
  44. ft209           ft23r           ft411           ft470           ft4700 
  45. ft727r          ft736r          ft757           ft767           
  46.  
  47. Another form of the command is the "What's new?" variation:
  48.  
  49.    WN
  50.  
  51. This will list any files added or modified since the last time you connected.
  52. If you want to search farther back, you can specify a date.  For example:
  53.  
  54.   WN 12/25/88
  55.  
  56. will list any files added/modified on or since Christmas, '88.
  57.