<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?action=history&amp;feed=atom&amp;title=Bash_history_searching</id>
	<title>Bash history searching - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?action=history&amp;feed=atom&amp;title=Bash_history_searching"/>
	<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?title=Bash_history_searching&amp;action=history"/>
	<updated>2026-04-12T06:01:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.7</generator>
	<entry>
		<id>https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?title=Bash_history_searching&amp;diff=1331&amp;oldid=prev</id>
		<title>Adk44: Created page with &quot;I learned these commands from looking over David&#039;s shoulder and have found them very useful. ===Search bash history=== A very useful way to quickly repeat a previous command,...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wikis.ch.cam.ac.uk/ro-walesdocs/wiki/index.php?title=Bash_history_searching&amp;diff=1331&amp;oldid=prev"/>
		<updated>2019-05-13T12:36:56Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;I learned these commands from looking over David&amp;#039;s shoulder and have found them very useful. ===Search bash history=== A very useful way to quickly repeat a previous command,...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;I learned these commands from looking over David&amp;#039;s shoulder and have found them very useful.&lt;br /&gt;
===Search bash history===&lt;br /&gt;
A very useful way to quickly repeat a previous command, even if it was last used quite a while ago.&lt;br /&gt;
&lt;br /&gt;
CTRL - R&lt;br /&gt;
&lt;br /&gt;
then type what to search for.&lt;br /&gt;
&lt;br /&gt;
===Copy and past the last argument of the previous command===&lt;br /&gt;
ALT - .&lt;br /&gt;
&lt;br /&gt;
very useful in situations like&lt;br /&gt;
&lt;br /&gt;
 $ ls /sharedscrach/js850/mydir/anotherdir/myfile&lt;br /&gt;
 $ vi ALT - .&lt;/div&gt;</summary>
		<author><name>Adk44</name></author>
	</entry>
</feed>