<?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%2FPrompt</id>
		<title>Shell Commands/Prompt - 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%2FPrompt"/>
		<link rel="alternate" type="text/html" href="https://library.morph.zone/index.php?title=Shell_Commands/Prompt&amp;action=history"/>
		<updated>2026-04-09T18:47:21Z</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/Prompt&amp;diff=1970&amp;oldid=prev</id>
		<title>JPV: Created page with &quot;'''Prompt''' - Changes the prompt for the current CLI/Shell  PROMPT  &lt;nowiki&gt; PROMPT - New prompt string&lt;/nowiki&gt; The default prompt string is: &quot;%N.%S&gt;&quot; which displays the She...&quot;</title>
		<link rel="alternate" type="text/html" href="https://library.morph.zone/index.php?title=Shell_Commands/Prompt&amp;diff=1970&amp;oldid=prev"/>
				<updated>2015-03-03T11:42:56Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Prompt&amp;#039;&amp;#039;&amp;#039; - Changes the prompt for the current CLI/Shell  PROMPT  &amp;lt;nowiki&amp;gt; PROMPT - New prompt string&amp;lt;/nowiki&amp;gt; The default prompt string is: &amp;quot;%N.%S&amp;gt;&amp;quot; which displays the She...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Prompt''' - Changes the prompt for the current CLI/Shell&lt;br /&gt;
&lt;br /&gt;
PROMPT&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
PROMPT - New prompt string&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
The default prompt string is: &amp;quot;%N.%S&amp;gt;&amp;quot;&lt;br /&gt;
which displays the Shell number, a period, the current directory,&lt;br /&gt;
a right angle-bracket, and a space. Entering Prompt without&lt;br /&gt;
a string argument resets the prompt to this default.&lt;br /&gt;
&lt;br /&gt;
The substitutions available for the &amp;lt;PROMPT&amp;gt; string are:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
%N - Displays the process number for the Shell&lt;br /&gt;
%S - Displays the current directory&lt;br /&gt;
%R - Displays the return code for the last operation&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
NOTE:  a space is not automatically added to the end of the string. If you want a space between the prompt and typed-in text, place it in the string, and enclose the string in double quotation marks.&lt;br /&gt;
&lt;br /&gt;
NOTE2: You can embed commands in the prompt string by enclosing the command in back apostrophes (`).&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
  1&amp;gt; PROMPT &amp;quot;%N.%S.%R&amp;gt;&amp;quot;&lt;br /&gt;
  1.MorphOS:Apps.0&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
* the Shell number,&lt;br /&gt;
* current directory,&lt;br /&gt;
* return code of the previous command&lt;/div&gt;</summary>
		<author><name>JPV</name></author>	</entry>

	</feed>