
bash
🚀
Bash History
<p>This simple command "history" shows a numbered list of your past commands.</p>
<blockquote>
<p> 1720 sudo chgrp -R www-data batch<br />
1721 sudo chmod -R 766 batch<br />
1722 ls -al<br />
1723 sudo chmod -R 776 batch<br />
1724 cd batch/full/<br />
1725 pwd<br />
1726 exit<br />
1727 mv build.xml.ant /var/www/test/site/sites/default/files/behat_yml/batch/full/<br />
1728 cd /var/www/test/site/sites/default/files/behat_yml/batch/full/</p>
</blockquote>
<p> </p>
<p>From there you can choose a number from the output and run</p>
<blockquote>
<p>!1725</p>
</blockquote>
<p>To quickly rerun the command</p>