how can i open a file with along name using leafpad,notepadqq....etc without copying the name and pasting it is there any trick on the keyboard or a command ? thanks on advanced


  • 1
    besides "auto complete" using "tab"? – Rinzwind Mar 11 '16 at 19:31
  • yea thats what i mean auto complete the name i tried to hit the tab key and its not working should i install any script for this? – Ziadd Hosary Mar 11 '16 at 19:36
  • Your question is unclear. Out of what situation do you want to edit what text file? – Byte Commander Mar 11 '16 at 19:39
  • 2
    @ZiaddHosary nope. It even auto adds "'s when needed. Works out of the box if you use a shell that supports it. What operating system are you using? We are talking command line I hope? What shell are you using? (add those answers into the question please) – Rinzwind Mar 11 '16 at 19:41
  • @Rinzwind I'm using Ubuntu 15.10 ,yeah on the command line (Terminal) ,shell that I'm using idk. I'm just a beginner – Ziadd Hosary Mar 11 '16 at 19:49

In the terminal (using the default Bash shell or something similar), you can use Tab to complete commands and path-/filenames.

Just type the first few characters of a file/directory/command and hit Tab once.

If the characters you entered can only be completed to one single valid name, it will do that.
Else it will display all possible options that start with the given few characters.

  • As you're a new user, to mark your question as solved, please accept the best answer by clicking on the round grey tick symbol on the left of it. Thank you and welcome! – Byte Commander Mar 11 '16 at 20:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.