Archive for November, 2019

Connect smb share HNAS in Ubuntu 18.04 shell

November 23rd, 2019 No comments
$ sudo mkdir /mnt/myfiles
$ sudo mount -t cifs //$ /mnt/myfiles -o username=USER\akkaid,vers=2.0
Categories: Bash, Linux, Ubuntu Tags:

Turn off screen on a Linux server

November 4th, 2019 No comments

If you have a Ubuntu Linux server and uses a laptop, you might want to close the lid and also turn off the backlight to preserve energy and lower heat. There is a command you can use to achive this. Use another computer and SSH to the server, then issue the following commands to turn off the TFT:

sudo apt install vbetool
sudo vbetool dpms off

If you want to turn the display back on, use:

sudo vbetool dpms on



Categories: Bash, Linux, Ubuntu Tags: