CDLS Command

HSI Version: 

All

Purpose: 

Executes the CD command, followed by the LS command, to combine the operations of changing to a new directory and listing it into a single command. 

Aliases: 

 

Command Format: 

cdl[s] [options] [path ...]

Options: 

-a : list all entries, including "hidden" files whose names begin with "."
-c : use time of last modification for sorting (deferred)
-d : if file is a dir, list its name instead of its contents
-l : long list format
-p : put a slash after each name if the file is a directory (deferred)
-r : reverse alpha or age sort order, as appropriate (deferred)
-s : display size as well as name if -1 (numeral 1) option used
-u : use time of last access for sorting instead of last modification (deferred)
-x : multicolumn output format, with entries sorted across page (deferred)
-A : print annotation info
-C : multicolumn output format, with entries sorted down the columns (deferred)
-F : puts a / after directory filenames, or * if executable (deferred)
-H : print headings on long listings
-O : print unordered "-l" or "-1" format listings
-P : print one-line with position/volume info
-R : recursively list directories
-U : print HPSS-specific information
-V : print volume for 1st tape level
-X : print extended volume info (for all levels)
-1 : (numeral 1) forces one name-per-line list

Keywords: 

DIR

Usage Notes: 

 

Example: 

  

Related Command(s): 

CD, LS, LCD, LCDLS, LLS


.