This is how you can send a message from the commandline using the mailx (mailutils) package.
So, I've been facing some DNS issues with my Ubuntu box and needed to do some debugging. While I was certain that my router was assigning the Google DNS servers (220.127.116.11 and 18.104.22.168) via DHCP to my machine, I needed to make sure that they were actually being used. Usually, I would be able to tell by looking at the output of
/etc/resolv.conf oslt. However what I found in resolv.conf was
sudo apt install screen x11vnc net-tools openssh-server htop iotop mtr-tiny
So I have a Xubuntu box, an old PC that was running Windows previously. All is peachy with the Linux install bar one thing: every time I shutdown the system, it shuts down fine, but immediately restarts again. This wasn't happening with Windows and appeared to be an issue particular to Linux or Ubuntu.
Here are the steps I used to get X11VNC working on an Ubuntu (19.10) box. Hope this helps somebody else out there too.
Freeplane, a fork of the mind-mapping program, Freemind, works really well. Except for the fact that in my (K)Ubuntu installation, it sometimes hangs in the middle of editing a node. Once it becomes non-responsive, the only fix is to kill the process and restart the program. The version of Freeplane in Ubuntu 18.04 is 1.6.13. However, the current version (March 2019) of Freeplane is 1.7.7. So, it's highly possible that upgrading Freeplane to the latest version will fix this issue.
So I've had a graphics issue with my Kubuntu box which relies on an Intel motherboard. While I was hoping to put off the fix until the next version of Kubuntu (out in April), the display bug was getting to be really annoying. I therefore decided to upgrade to the latest kernel immediately.
I ran into the following error while running a script that was performing backups of files via rsync over ssh.
Setting the timezone of an Ubuntu (14.04, Trusty) or Debian (7, Wheezy) server from the command-line is simple. Just run
dpkg-reconfigure tzdata and follow the on-screen prompts. However, if you are running an unattended installation, you might want to avoid interactive prompts and just gets the job done. To do this, simply run
$ sudo ln -sf /usr/share/zoneinfo/America/Anchorage /etc/localtime
/usr/share/zoneinfo/ to locate your timezone.
So, here I was writing a script that would automate the installation of a package in Ubuntu 14.04 and all was going swimmingly. Until I ran it. You know how some apt-get installs sometimes involve a technicolor pop-up that asks you for stuff? Well, those pop-ups interrupted my script which didn't proceed further. After much digging, I found that there are a couple of solutions for this: