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.
In order to backup PostgreSQL, you can use the:
- SQL dumps (pg_dump and pg_dumpall)
- Copying PostgreSQL files
- Continuous archiving (backing up) with pg_basebackup and WAL files.
MC (Midnight Commander) is one of the most commonly used console file managers for Linux. One drawback most Linux users face is that
mc sometimes takes a very long time to start.
In this article, we will look at how to run a bash script only on the first user login to Linux (or only on the first boot).
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.