Rebooting a Linux device can happen for several reasons. This could be a normal restart of the operating system by the user, an automatic installation of updates, kernel panics, physical hardware failures, software errors, or a power failure.
Systemd provides the systemd-networkd service that can be used to configure network settings on a Linux machine. In this article, we will look at how to use systemd-networkd to configure a network on Debian/Ubuntu distro as an example.
By default, regardless of the time zone settings on the host machine, Docker containers use UTC as the time zone.
To find out the type of partition table on a disk in Linux, run the command
$ sudo parted /dev/sdb print
Many temporary and unused files are left on the Ubuntu drive after installing/uninstalling packages and dependencies. In addition, log files and old versions of the kernel can take up a fair amount of disk space. This article shows you how to clean up your Ubuntu Server hard drive by deleting temporary and unused files.
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.
On Linux, you can run a bash script as a service via systemd (instead of using the cron scheduler). This allows you to ensure that the script is always running, run the bash script on startup, check its health, and take advantage of other systemd benefits.
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
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.
The error ‘
Could not connect to bus: No such file or directory‘ is quite common on Linux operating systems. This error can occur when managing the service through systemctl or when the computer is switched off.