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”
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”
You can run different versions of PHP on a Linux host at the same time. In this article, we’ll show you how to install multiple versions of PHP using Ubuntu/Debian as an example.
Continue reading “Installing Multiple PHP Versions on Linux”
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”
You can use systemd timers to replace cron jobs on modern Linux distros. This article shows you how to use, create, and configure systemd timer on Linux.
Continue reading “Using Systemd Timers Instead of Cron Jobs on Linux”
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?”
IPv6 protocol is enabled by default in all modern Linux distros. You can disable IPv6 on Linux if you only use IPv4 addressing on your network. This article shows how to disable IPv6 in Ubuntu and Debian Linux.
Continue reading “Disable IPv6 in Ubuntu/Debian”
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”
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”
If you are deploying a Linux virtual machine on a Hyper-V host, you must install Linux Integration Services (LIS) in the guest operating system. Hyper-V Linux Integration Services allow the guest OS to interact with the host: send its state to the hypervisor, perform backups via VSS, correctly reboot and shutdown the Linux guest. In this tutorial, we’ll take a look at how to install Hyper-V Linux Integration Services on popular Linux distros – CentOS, Debian, and Ubuntu.
Continue reading “Install Linux Integration Services (LIS) on Hyper-V VM”