DIR/LS User Commands
dir - File Directory List Utility
dir [OPTIONS] [FILESPEC]
Lists files stored in the File System. FILESPEC may define a specific
file of contain '*' and '?' wildcards.
Long or Verbose mode lists file details such as permissions, size
and last modification date.
Lists ALL files including Hidden files. Hidden files and folders have
names beginning with a period '.' .
Lists only Files. Folders or Directorys are not listed.
Lists only Directories or Folders. Files are not listed.
Recurses sub-directories or sub-folders listing content in each.
Lists files in columnar format. Not valid with verbose listings are
Includes the '.' file entry (current folder) when used with a
recursive (-S or -R) verbose (-V) listing.
The long format (option -L) is interpreted by other systems and protocols
such as File Transfer Protocol (FTP). It is therefore somewhat cryptic
and may look foreign to some. A header is not provided as it might be
misinterpreted in processing. The output appears as follows:
-rw-r--r-- 1 root root 387 May 27 08:45 jniorsys.log
The initial column displays the Permissions for the file or directory.
It comprises of 10 characters in the format 'drwxrwxrwx'.
The digit '1' is always listed. JANOS does not support multiple
Next the file Owner is listed using the account username or 'root' if
the file or directory was created by the system. The USERS command
lists the current users.
The Group to which the file has been assigned. The GROUPS command lists
the currently defined Groups. The 'root' group includes all users and
is always available.
The file size in bytes. If the listing is a directory (first char in the
permissions is a 'd') then this is the count of entries in the folder.
May 27 08:45
The date of the last file or directory modification. The format may
change to include the year when the entry is sufficiently old.
Finally the file or directory name is listed.
HELP Topics: PERMISSIONS