This is a read-only mirror of pymolwiki.org

Difference between revisions of "Ls"

From PyMOL Wiki
Jump to navigation Jump to search
m (typo corrected)
 
m (1 revision)
 
(No difference)

Latest revision as of 02:16, 28 March 2014

ls lists contents of the current working directory. PyMOL comes with a few commands that allows the user to traverse a directory structure and list files. This is a powerful tool if you have many directories full of files --- you don't have to quit PyMOL, you can just cd to the directory and ls to find the contents.

USAGE

ls [pattern]
dir [pattern]

EXAMPLES

# list all files in the current directory
ls

# list all files ending in, pml, in the current directory. 
ls *.pml

SEE ALSO

Cd, Pwd, System