Copy, Cut and Paste in Vim&Vi

Copy, Cut and Paste in Vim&Vi

Vim or its precursor Vi comes preinstalled on macOS and almost all Linux distributions. Knowing the basics of Vim is helpful in a situation where your favorite editor is not available. Copy, Cut and Paste in Normal Mode When you launch the Vim editor, you’re in the normal mode. In this mode, you can run Vim commands and navigate through […]

Samba headaches, solution

Samba headaches, solution

From the beginning of time for me on Linux, samba is a headache!Now, finally, I think I found a solution: https://linuxconfig.org/how-to-configure-samba-server-share-on-ubuntu-20-04-focal-fossa-linux And this for some permision problems: https://forums.unraid.net/topic/56307-missing-filesfolders-via-samba/

How to reset Webmin password

How to reset Webmin password

Webmin is a web-based interface for system administration for Unix and Unix-like systems. For some wired reason, Google Chrome didn’t remember or forget to remember my webmin passwords and I have to change my passwords frequently. And every time when I have to do that, I have to search the net for the solution 🙂 because I’ve been forgetting, frequently, […]

Mount an remote directory using SSHFS

Mount an remote directory using SSHFS

Tested on Ubuntu 18.04 and 18.10 First install the module sshfs, if isn’t installed: Load module in kernel: Setting the permissions: If you get an error from last command: No such file or directory Now we need to create a directory for mounting the remote folder. For example onCloudDir. Now we ran the command to mount the remote folder: xxx.xxx.xxx.xxx is an address […]

My list of commands for monitoring network traffic on Linux server

Network monitoring on Linux This post mentions some Linux command line tools that can be used to monitor the network usage. These tools monitor the traffic flowing through network interfaces and measure the speed at which data is currently being transferred. Incoming and outgoing traffic is shown separately. Some of the commands, show the bandwidth used by individual processes. This […]