Install Microsoft Fonts (including Times New Roman) on Linux

By default, Linux distributions do not include popular proprietary fonts from Microsoft. Linux users often search for how to install Times New Roman font from Microsoft. If you need to use this font in LibreOffice, Gimp or any other graphical Linux application, you can install it.

Continue reading “Install Microsoft Fonts (including Times New Roman) on Linux”

Fix ‘Bash Sudo: Command Not Found’ on Linux

The sudo command in Linux allows you to run commands as another user (it is most commonly used to run a command with elevated privileges as root). In some cases, when you try to run a command with sudo, an error message is displayed:

-bash: sudo: command not found

Continue reading “Fix ‘Bash Sudo: Command Not Found’ on Linux”

How to Mount Windows SMB Share on Linux with CIFS

In this article, we’ll look at how to mount a shared network folder hosted on a Windows computer in Linux. Windows uses the SMB (Server Message Block) protocol, formerly known as CIFS (Common Internet File System) to share and access shared folders over the network. On Linux, you can use the cifs-utils or Samba client to access Windows network shares via SMB protocol.

Continue reading “How to Mount Windows SMB Share on Linux with CIFS”

Adding a New Disk Drive to a Linux Machine

In this article, we will look at how to attach an additional hard disk to an existing Linux machine: create a partition table, format, and mount the partition with fstab. An Ubuntu virtual machine running on a VMware ESXi host is used in this example.

Continue reading “Adding a New Disk Drive to a Linux Machine”

How to Use Netcat (nc) Command with Examples?

Netcat (or nc) is a classic Unix networking tool that allows you to make TCP and UDP connections, receive and send data, check open ports on a remote computer, test firewall rules, etc. In this article, we will look at some typical examples of using the netcat CLI tool.

Continue reading “How to Use Netcat (nc) Command with Examples?”

Make Command Not Found on Linux

The make tool in Linux is used to build and compile programs from source files. The utility takes instructions for compilation from the makefile. In some Linux distributions, the make command is not installed by default (for example, in Linux CentOS 8), so when you run the build command, you will see an error:

Continue reading “Make Command Not Found on Linux”

Set Proxy for APT on Ubuntu/Debian

Proxy servers (such as the Squid proxy) are often used in corporate networks to provide access to the Internet for internal devices. In order for your internal Ubuntu/Debian hosts to be able to install and update deb packages from external repositories, you need to configure the proxy settings for the APT (Advanced Packaging Tool) package manager. This article describes how to configure proxy connection settings for APT.

Continue reading “Set Proxy for APT on Ubuntu/Debian”