Is it possible to use shortcuts for a long pathname?

Category: LinuxIs it possible to use shortcuts for a long pathname?
Editor">Editor Staff asked 2 years ago

Is it possible to use shortcuts for a long pathname?

1 Answers
Editor">Editor Staff answered 2 years ago

Yes, there is. A feature known as filename expansion allows you do this using the TAB key. For example, if you have a path named /home/iceman/assignments directory, you would type as follows: /ho[tab]/ice[tab]/assi[tab] . This, however, assumes that the path is unique and that the shell you’re using supports this feature.