Regularly switching between Linux directories in the terminal? Try using pushd to stack and switch between them quickly

Most Linux admins eventually wind up using the terminal window. Within that tool, you'll navigate through the directory hierarchy using the cd command. But on those days when you're constantly moving in and out of directories, having to type out those long paths can be a real efficiency killer.

What if there was a way to make this easier?

There is, thanks to the pushd command. With pushd you can populate a directory stack and easily move between them.

See How to use the pushd command for more efficient directory navigation on Linux

#linux #opensource

Image/photo

Learn how to populate a directory stack so you can more efficiently navigate around the Linux directories you use most.



source https://gadgeteer.co.za/regularly-switching-between-linux-directories-terminal-try-using-pushd-stack-and-switch-between

Comments