If you are using VSCode on Ubuntu and your shell is Zsh (Oh-my-zsh) you can meet the problem with incorrect charectars display in VSCode terminal.

How to fix it?

Continue reading...

Save few seconds a day

Some of us try to save every second a day to use it for our life.

Continue reading...

If you have no free space on your system drive, you can move docker data directory to enother drive

  1. Stop docker daemon

sudo service docker stop

  1. Move your data to enother drive

sudo mv /var/lib/docker /mnt/data/docker

  1. Setup docker daemon config:

sudo vim /etc/docker/daemon.json

# /etc/...

Continue reading...

You can always use some GUI tool, but we don't try to find simple ways. Actualy there is nothing difficult.

Install prerequisites:

sudo apt install flac lame

Checnge your folder to the one containing flac files and run simple one-liner:

for f in *.flac; do flac -cd "$f" | lame -b 320 - "${...

Continue reading...

Sometimes we need to connect sone new resource (server, workstation and etc.) to our OpenVPN network. We have preconfigured config file as .ovpn file format, but we have no GUI. What we have to do>

Continue reading...

To find all active host in your network you can use nmap command in linux.

Continue reading...

There is a regular task to start one or more processes on the remote server. And you don't want to keep ssh-client to be opent while process running. Linux have few command to handle it: screen and tmux.

Continue reading...

In this note I want to collect all operations which I need to do after install new Ubuntu Desctop or Server. Maybe build shell script to automate this actions later. If you have this problems too then wellcome!

1. Install required version of Ubuntu

To install ubuntu we need to get required versi...

Continue reading...

To set date format we will need dconf-editor tool, standart features doesn't support custom format.

Setting up:

$ sudo apt install dconf-tools

and start tool:

$ dconf-editor

Find path in tree: com -> canonical -> indicator -> datetime and change params:

custom-time-format: %Y-%m-%d %...

Continue reading...

To shortcut your recently used commands in Ubuntu command line you can use bashrc aliases.

You can place your alias in ~/.bashrc file or to separate ~/.bash_aliases file.

I prefer second one to keep ~/.bashrc in original state.

So we need to open ~/.bash_aliases file for edit and put r...

Continue reading...