DEV Community

Alan George
Alan George

Posted on

Using the "tab" button with linux to autofill.

One of the great shortcuts when working in the linux terminal is using the "tab" button to autofill in the directory/file you want to navigate too.

Enter "ls" , then press the first letter of directory/file you want to go to and hit the "tab" button, this will autofill the rest.
Or press "tab" button twice to bring up the options of which directory/file are available.

Works wonders on long named directory/files! ...helps against repetitive finger strain! :)
....and also works in the mac terminal too :)

Top comments (0)