All Packages Class Hierarchy This Package Previous Next Index
Class com.cometway.jerminal.commands.ls
com.cometway.jerminal.commands.JerminalCommand
|
+----com.cometway.jerminal.commands.UnixFileCommand
|
+----com.cometway.jerminal.commands.ls
- public class ls
- extends UnixFileCommand
This command lists files and directories. There are two flags which you can use: the l and the
a flags (flags are preceded by a '-' character). The l flag will cause this command to
give to a long (detailed) listing of the files and directories. The a flag will display
hidden files as well (files starting with the '.' character).
Synopsis:
- ls (flags)
- Displays the contents of your current working directory.
- ls (flags) [pathname1] (pathname2) (pathname3) ...
- Displays the contents of [pathname1], and if they exist, the contents of (pathname2) and
(pathname3). All the arguments given to the ls command will be interpreted as pathnames.
-
ls(JerminalSession)
-
-
evaluate(Vector)
- This method is called by the JerminalSession when it uses this command.
ls
public ls(JerminalSession j) throws UnauthorizedAccessException
evaluate
public Object evaluate(Vector operands)
- This method is called by the JerminalSession when it uses this command.
- Overrides:
- evaluate in class JerminalCommand
All Packages Class Hierarchy This Package Previous Next Index