Is it possible to use shortcuts for a long pathname?

DWQA QuestionsCategory: LinuxIs it possible to use shortcuts for a long pathname?
Editor Staff asked 9 months ago

Is it possible to use shortcuts for a long pathname?

1 Answers
Editor Staff answered 9 months 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.