Quantcast
Channel: Why does terminal auto complete sometimes not suggest anything for the `services` command? - Ask Ubuntu
Browsing all 7 articles
Browse latest View live

Answer by sparks for Why does terminal auto complete sometimes not suggest...

The services command relies on "systemctl list-units --full --all", and does not list services that are unable to start (or disabled as above), to confirm if you experiencing this issue you can run...

View Article



Answer by Lluís for Why does terminal auto complete sometimes not suggest...

I've found that systemctl list-units --full --all does not list disabled services, so autocompletion doesn't # check if enabled systemctl is-enabled <service_name> # enable systemctl enable...

View Article

Answer by Mark Plotnick for Why does terminal auto complete sometimes not...

The degree to which auto-completion works is a function of how well the shell scripts in the bash-completion package work. In Ubuntu 14.04, the script that handles completions for service is in...

View Article

Answer by elf12 for Why does terminal auto complete sometimes not suggest...

You can build your own! E.g.: put complete -f -r -c su -d 'Username' -a '(cat /etc/passwd|cut -d : -f 1)' into bash than if you have su and press tab/tab it gives you all users, yeah. See here

View Article

Answer by Rinzwind for Why does terminal auto complete sometimes not suggest...

vsftpd has probably more than 1 option. tab twice to view the possibilities. Example: li with tabtab shows: libnetcfg line lintian-info lispmtopgm libreoffice linguist linux32 listres lightdm link...

View Article


Answer by Dan for Why does terminal auto complete sometimes not suggest...

When there are multiple possible suggestions, tab will not produce any suggestion. Using tab tab (double tab) will produce a list of all possible suggestions.

View Article

Why does terminal auto complete sometimes not suggest anything for the...

Sometimes, when I type a command on the terminal, the terminal's autocomplete does not work, even if my command is not wrong. For example, take look to this: sudo service vsftpd status sudo and...

View Article
Browsing all 7 articles
Browse latest View live




Latest Images