<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://library.morph.zone/index.php?action=history&amp;feed=atom&amp;title=Shell_Commands%2FList</id>
		<title>Shell Commands/List - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://library.morph.zone/index.php?action=history&amp;feed=atom&amp;title=Shell_Commands%2FList"/>
		<link rel="alternate" type="text/html" href="https://library.morph.zone/index.php?title=Shell_Commands/List&amp;action=history"/>
		<updated>2026-04-24T11:29:07Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://library.morph.zone/index.php?title=Shell_Commands/List&amp;diff=1953&amp;oldid=prev</id>
		<title>JPV: Created page with &quot;'''List''' - Lists the contents of the specified directory  DIR/M, P=PAT/K, KEYS/S, DATES/S, NODATES/S, TO/K, SUB/K,  SINCE/K, UPTO/K, QUICK/S, BLOCK/S, NOHEAD/S, FILES/S,DIRS...&quot;</title>
		<link rel="alternate" type="text/html" href="https://library.morph.zone/index.php?title=Shell_Commands/List&amp;diff=1953&amp;oldid=prev"/>
				<updated>2015-03-03T11:02:16Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;List&amp;#039;&amp;#039;&amp;#039; - Lists the contents of the specified directory  DIR/M, P=PAT/K, KEYS/S, DATES/S, NODATES/S, TO/K, SUB/K,  SINCE/K, UPTO/K, QUICK/S, BLOCK/S, NOHEAD/S, FILES/S,DIRS...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''List''' - Lists the contents of the specified directory&lt;br /&gt;
&lt;br /&gt;
DIR/M, P=PAT/K, KEYS/S, DATES/S, NODATES/S, TO/K, SUB/K, &lt;br /&gt;
SINCE/K, UPTO/K, QUICK/S, BLOCK/S, NOHEAD/S, FILES/S,DIRS/S,&lt;br /&gt;
LFORMAT/K, SORT/K, USERS/S, GROUPS/S, ALL/S&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
DIR     - directory, filename or pattern to match                              &lt;br /&gt;
PAT     - if specified, only files/dirs matching this pattern will be listed&lt;br /&gt;
KEYS    - displays the block number of each file header or directory&lt;br /&gt;
DATES   - displays the dates&lt;br /&gt;
NODATES - do not display the dates&lt;br /&gt;
TO      - specifies an output file or device for List;&lt;br /&gt;
          by default, List outputs to the current window&lt;br /&gt;
SUB     - lists only files containing the substring SUB&lt;br /&gt;
SINCE   - lists only files timestamped on or after the specified date&lt;br /&gt;
UPTO    - lists only files timestamped on or before the specified date&lt;br /&gt;
QUICK   - lists only the names of files and directories&lt;br /&gt;
BLOCK   - displays file sizes in 512-byte blocks, rather than bytes&lt;br /&gt;
NOHEAD  - suppresses printing of the header and summary information&lt;br /&gt;
FILES   - lists files only (no directories)&lt;br /&gt;
DIRS    - lists directories only (no files)&lt;br /&gt;
LFORMAT - defines a string to specially format List output&lt;br /&gt;
SORT    - see below&lt;br /&gt;
USERS   - shows user owner of the files&lt;br /&gt;
GROUPS  - shows groups which the files belong to&lt;br /&gt;
ALL     - lists the contents of all directories and subdirectories&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
the 'SORT' keyword requires any of N=NAME, D=DATE, S=SIZE, RN=REVERSENAME, RD=REVERSEDATE,RS=REVERSESIZE&lt;br /&gt;
&lt;br /&gt;
The LFORMAT option modifies the output of List and can be used as&lt;br /&gt;
a quick method of generating script files. When using LFORMAT,&lt;br /&gt;
specify an output format string; this string is output for each file&lt;br /&gt;
or directory normally listed. It can contain any text you specify,&lt;br /&gt;
plus the usual List output information. When LFORMAT is specified,&lt;br /&gt;
the QUICK and NOHEAD options are automatically selected.&lt;br /&gt;
To save the output, you must redirect it to a file by using&lt;br /&gt;
the &amp;gt; operator or specifying a TO file.&lt;br /&gt;
&lt;br /&gt;
The available substitution operators are:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
%A  Prints file attributes (protection bits).&lt;br /&gt;
%B  Prints size of file in blocks.&lt;br /&gt;
%C  Prints any comments attached to the file.&lt;br /&gt;
%D  Prints the date associated with the file.&lt;br /&gt;
%E  Prints just the file extension.&lt;br /&gt;
%K  Prints the file key block number.&lt;br /&gt;
%L  Prints the length of the file in bytes.&lt;br /&gt;
%M  Prints the file name only, omitting any extension.&lt;br /&gt;
%N  Prints the name of the file.&lt;br /&gt;
%P  Prints the file parent path.&lt;br /&gt;
%S  Superseded by %N and %P; still functional.&lt;br /&gt;
%T  Prints the time associated with the file.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
You can put a length specifier and/or a justification specifier&lt;br /&gt;
between the percent sign (%) and the field specifier.&lt;br /&gt;
To specify left justification, place a minus sign (-)&lt;br /&gt;
before the length specifier. Otherwise, the information&lt;br /&gt;
displayed is right justified.&lt;br /&gt;
&lt;br /&gt;
NOTE: The default output of the LIST command uses the following specification: %-24 %7L %A %D %T&lt;/div&gt;</summary>
		<author><name>JPV</name></author>	</entry>

	</feed>