Durchsuchen nach
Schlagwort: Linux

Some important DNF-commands

Some important DNF-commands

Today about This is a valid blog article for the Red-Family users and other distributions that uses the DNF tool for the package management. DNF stands for Dandified Yum, and it is the newer packager manager for the „old“ yum command. It was born on 11.05.2015. The current version is 5.2.17.0 that appeared on 02.09.2025. On my current Fedora (41), I use the version 5.2.16.0. dnf info Search for information about a package, what you have installed. Here is an…

Weiterlesen Weiterlesen

Converting PNG files to PDF

Converting PNG files to PDF

Why You Need to Convert PNG Files to PDF There are several reasons why converting PNG files (or other image formats) to PDF is necessary. For instance, some web platforms, such as the social-media platform LinkedIn, only accept a single image per post. If you have created two images for a post, you cannot simply add both. In this scenario, you need to combine those pictures into a single PDF file. Another common reason is job applications. If your certificates…

Weiterlesen Weiterlesen

How to use variables in the Bash?

How to use variables in the Bash?

🐧️ Linux Bash: ❓️ How to use variables in the Bash? ❓️ I use here the following Bash internal variables into a script. ➡️ $LOGNAME = the name from /etc/passwd ➡️ $XDG_SESSION_TYPE = What kind of session I use: X11 or Wayland From Facebook: OpenSource Traveler

Bash Scripting on Linux: How to query your Login Name?

Bash Scripting on Linux: How to query your Login Name?

In Bash, you have two variables, $USER and $LOGNAME. $LOGNAME $LOGNAME provides the primary login name of the user. This name is typically stored in the /etc/passwd file and is read by the login program during the initial session setup. It is an environment variable. $USER $USER provides the name of the current user. It is often set by the shell itself or the login manager. It is an environment variable. What is an environment variable? An environment variable is…

Weiterlesen Weiterlesen