Manual for apt

Oliver Grawert ogra at ubuntu.com
Sat Sep 3 12:23:50 UTC 2016


hi,
On Sa, 2016-09-03 at 12:57 +0200, Ralf Mardorf wrote:
> 
> 
> as a side note, for both, apt and apt-get I noticed that
> auto-completion does work after "sudo -i", but not after "su".
> 
you might find that for more tools, simply because su (on purpose)
drops all environment while sudo carries parts or even all of it over
(depending on how you invoke it). 

which also results in one processing the users ~/.bashrc and the other
not ...
if you check your ~/.bashrc you will find the lines that source the
bash_completion db.

ciao
	oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20160903/217b3d2a/attachment.sig>


More information about the ubuntu-users mailing list