Autoleap – A very useful tool for Linux bash users

This script adds an amazing feature to the cd command. It records (locally) the path of all directories you visit using cd. When you want to access a previously visited directory, you just need to run cd part_of_directory_name

The script is very light…


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Lawrence Lagerlof

This script adds an amazing feature to the cd command. It records (locally) the path of all directories you visit using cd. When you want to access a previously visited directory, you just need to run cd part_of_directory_name

The script is very lightweight and fast. The image below shows how simple it is to use:

Image showing how to use the tool

You can leap into any directory that exists in the history file, from anywhere.

Installation

  • Access the GitHub project page.
  • Download the script autoleap.sh anywhere.
  • source the script on your .bashrc (add the line source /path/to/script/autoleap.sh to the end of your .bashrc)
  • Reopen the terminal (or source .bashrc)
  • Be happy.


This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Lawrence Lagerlof


Print Share Comment Cite Upload Translate Updates
APA

Lawrence Lagerlof | Sciencx (2023-01-17T20:18:00+00:00) Autoleap – A very useful tool for Linux bash users. Retrieved from https://www.scien.cx/2023/01/17/autoleap-a-very-useful-tool-for-linux-bash-users/

MLA
" » Autoleap – A very useful tool for Linux bash users." Lawrence Lagerlof | Sciencx - Tuesday January 17, 2023, https://www.scien.cx/2023/01/17/autoleap-a-very-useful-tool-for-linux-bash-users/
HARVARD
Lawrence Lagerlof | Sciencx Tuesday January 17, 2023 » Autoleap – A very useful tool for Linux bash users., viewed ,<https://www.scien.cx/2023/01/17/autoleap-a-very-useful-tool-for-linux-bash-users/>
VANCOUVER
Lawrence Lagerlof | Sciencx - » Autoleap – A very useful tool for Linux bash users. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2023/01/17/autoleap-a-very-useful-tool-for-linux-bash-users/
CHICAGO
" » Autoleap – A very useful tool for Linux bash users." Lawrence Lagerlof | Sciencx - Accessed . https://www.scien.cx/2023/01/17/autoleap-a-very-useful-tool-for-linux-bash-users/
IEEE
" » Autoleap – A very useful tool for Linux bash users." Lawrence Lagerlof | Sciencx [Online]. Available: https://www.scien.cx/2023/01/17/autoleap-a-very-useful-tool-for-linux-bash-users/. [Accessed: ]
rf:citation
» Autoleap – A very useful tool for Linux bash users | Lawrence Lagerlof | Sciencx | https://www.scien.cx/2023/01/17/autoleap-a-very-useful-tool-for-linux-bash-users/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.