Detach process from parent on Linux

Detach process from parent on Linux

Every program you run from your working shell is, to the Linux system, regarded as a process. Each process, except init, has its parent identified by PPID (parent process ID). When you start a process using your current shell, the shell itself becomes a parent for your newly started process. The trouble with this approach is that this may not always be desirable, since when the parent process is terminated, its child dies with it.

Read more

How to set a root password on Ubuntu 22.04 Jammy Jellyfish Linux

How to set a root password on Ubuntu 22.04 Jammy Jellyfish Linux

Although it is conventional to log into the root account on some Linux systems, by default Ubuntu 22.04 does not allow us to log into root and instead expects us to achieve root permissions through use of sudo. However, it is still possible to set a root password and subsequently log directly into root. In this tutorial, you will see how to set a password for the root account on Ubuntu 22.04 Jammy Jellyfish.

Read more

Restarting NGINX web server on Linux

How to restart NGINX on Linux

NGINX is popular web hosting and reverse proxy software for Linux systems. Like many other applications and services, it occasionally needs restarted. Restarting is especially common when making updates to configuration files. You’ll always need to restart or reload NGINX for the changes to take effect.

In this article, we’ll go over a couple different command line options for restarting and reloading an NGINX server. In addition, you’ll learn how to check the NGINX configuration file for mistakes before restarting NGINX. After all, you wouldn’t want to load up a configuration that contains errors.

In this tutorial you will learn:

  • How to reload NGINX (no effect on client connections)
  • How to completely restart NGINX

Read more

Reset GNOME Desktop Settings to Factory Default on Ubuntu 22.04 Jammy Jellyfish

Reset GNOME Desktop Settings to Factory Default on Ubuntu 22.04 Jammy Jellyfish

Have you made customizations to your GNOME desktop environment that you later regretted? Good news, you can easily reset GNOME to the defaults and restore all the original settings. In this tutorial, you will learn how to reset your GNOME Desktop Settings to Factory Default on Ubuntu 22.04 Jammy Jellyfish. The reset will put your desktop appearance and all settings, shortcuts, wallpapers and etc. to the factory default.

Read more

Cinnamon Desktop on Ubuntu 22.04 Jammy Jellyfish

Ubuntu 22.04 Cinnamon Desktop installation

By default, Ubuntu 22.04 Jammy Jellyfish sports the GNOME desktop environment, or no GUI at all in the server edition. If you would like to change things up and install Cinnamon instead, the GUI can be downloaded and installed directly from Ubuntu’s package repositories. In this tutorial, you will see how to install Cinnamon Desktop as an alternative desktop environment on Ubuntu 22.04 Jammy Jellyfish Desktop/Server Linux.

Read more