![]() Below is an example which has several alias to quickly opening commonly used folders. Now you can create aliases in ~/.bash_aliases. To do that, append below content in ~/.bashrc (probably the content has been contained in this file). To add permanent aliases, you can add them in your ~/.bashrc file, but a better way is adding them in a separate file generally called. To create a temporary alias is simple, just run alias jwp='cd /opt/john/apps/wordpress/, then typing jwp will take you to /opt/john/apps/wordpress/ folder. Temporary aliases apply to only the current session, they will be lost when a terminal is closed.įor manual solutions, maybe the first idea comes into your head is using symbolic links. There are two types of aliases – temporary and permanent. If you have some commonly accessed directories, a simple way to navigate them quickly is creating a lot of alias (nickname for a command) commands for opening them. ![]() Fast terminal navigation Manual method: use a lot of alias commands (This also works for Git bash on Windows) Is there a way to open directories (or files) instantly with just a few keystrokes in a terminal or in a GUI system? Here we will introduce several ways to do that, including creating alias commands(Linux/Windows), using AutoJump(an advanced cd command for Linux/Windows/MacOS) or Listary(an amazing tool for finding/opening files/folders instantly on Windows). No matter you are working on a terminal or a GUI system, navigating to the desired folder takes pretty time especially when you are drilling through the deep folder hierarchies.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |