Category: Linux

How to fix .local dns resolution on Fedora 23 0

How to fix .local dns resolution on Fedora 23

Most likely in your nsswitch file you have a line like hosts:      files mdns4_minimal [NOTFOUND=return] dns myhostname mymachines The default settings instructs the pc to resolve all .local addresses with multicast dns...

How to create a python virtual environment in Linux 0

How to create a python virtual environment in Linux

Install pip sudo apt-get install python3-pip # replace apt-get with dnf or zypper or whatever your distro uses Install the python virtualenv package pip3 install virtualenv Make your main virtualenv directory mkdir ~/.virtualenvs Create...

How to enable autocompletion in screen 2

How to enable autocompletion in screen

You may have noticed that when you are using screen, auto-completion (bash-completion) stops working. This can be remedied by creating a file called .screenrc in your home directory and adding to it “defshell -bash”....