When I try to Tab the way like
/etc/freeradius/3.0/sites-available
Tab doesn't show me variants of files that are inside the directory and also doesn't allow me to autocomplete this way. How can I fix this? The problem goes away when I do this from the root user, but it is very risky. I am using Ubuntu Server 20.04 LTS with its default terminal.
I cannot cd
to this folder without sudo privileges. But I also don't want to stay under root, because it can be dangerous (remember those nice Perl scripts, that suddenly perform rm -rf
). Is there a way to see the content of folders without sudo privileges? I can make sudo
and then command, but I don't want to change to root whenever I want to see the content.
sudo
command or opening a root’s prompt usingsudo
?