Tag Archives: bionic-beaver

Flush the DNS cache on Ubuntu 18.04

sudo systemd-resolve –flush-caches Source: https://askubuntu.com/questions/906476/how-can-i-flush-the-dns-on-ubuntu-17-04

Posted in Linux | Tagged , , , , | Leave a comment

Create SSH profiles for your frequent connections on Ubuntu 18.04 using ssh_config

This is very useful if you connect to tons of servers via ssh and you need to keep record of them as profiles. Edit/Create a file .ssh/config Add entries in this manner: Host blabla User blablabla # or domain\blablabla if … Continue reading

Posted in Linux | Tagged , , , , , | Leave a comment

Add a custom resolution to your display using xrandr on Ubuntu 18.04

Just in case your monitor’s supported resolution is not properly detected or if you want a custom resolution to be used: In this example, we will try to add 1368×768, with a refresh rate of 60 Run cvt to get … Continue reading

Posted in Linux | Tagged , , , , | Leave a comment

How to change default terminal emulator in Ubuntu 18.04

Ctrl+Alt+t is the keyboard shortcut to open a terminal in Ubuntu. By default, it opens an ‘x-terminal-emulator’ terminal. I wanted to change that to use my favorite terminal emulator, which is ‘terminator’ To do that: gsettings set org.gnome.desktop.default-applications.terminal exec ‘terminator’ … Continue reading

Posted in Linux | Tagged , , , , , | Leave a comment

azure-cli installation on Ubuntu Bionic (18.04)

No deb packages have been released yet for Ubuntu 18.04, so you have to use the script MS provided here. However, you will face the following error immediately: ¬†fatal error: Python.h: No such file or directory To resolve this, simply … Continue reading

Posted in Linux | Tagged , , , , , | Leave a comment

How to to prevent the screen from turning off when locked with gnome-shell on Ubuntu 18.04

This annoys me a lot, as whenever I lock the screen, my big screen turns off and it is an old slow screen that takes a few seconds to turn on again. To disable this behavior, do the following: Download … Continue reading

Posted in Linux | Tagged , , , , , , | 2 Comments