Friday, April 26, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 34571  / 3 Years ago, wed, july 28, 2021, 5:56:26

I know this has been discussed on other posts but my problem does not seem to be fully resolved and I do not have permission to add a comment to those posts yet :(



listed on help.ubuntu.com > UsingTheTerminal > Save on Typing:




Tab: "It autocompletes any commands or filenames".




After following the advise from apt-get autocomplete I get results after pressing tab twice but no auto completion for commands or files. Running Xubuntu 13.04.


More From » command-line

 Answers
3

it completes file name only if the initials you are providing is unique , and don’t have any other possible file name:



Suppose you have two file file1expo and file2expo in working directory-



then using gedit file<<tab>> will not work because it has two possible outcomes, where as gedit file1<<tab>> will work.



If you want to list all the files starting with initials like xaa then simply use



ls "xaa" 


it will show all the files names with starting characters xaa.


[#28225] Wednesday, July 28, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ainsbeave

Total Points: 280
Total Questions: 98
Total Answers: 105

Location: Faroe Islands
Member since Sat, Aug 20, 2022
2 Years ago
;