Durchsuchen nach
Kategorie: Linux

Hier kommt alles rein, was mit Linux zu tun hat, was ich so selber erlebe.

Linux: Convert a png file into a pdf file

Linux: Convert a png file into a pdf file

Important: I have only tested with png files. Other important notes: You have to install the programs tesseract and pandoc for this script. What is tesseract? A commercial quality OCR engine originally developed at HP between 1985 and 1995. In 1995, this engine was among the top 3 evaluated by UNLV. It was open-sourced by HP and UNLV in 2005. The website of tesseract. What is pandoc? This package provides a command-line executable that uses the pandoc library to convert…

Weiterlesen Weiterlesen

Linux Bash: abrt command and /var/spool/abrt

Linux Bash: abrt command and /var/spool/abrt

I have update script for my computer here. The last action in the script is to check the /var/ directory. du -sh /var/* | sort -rh | head -n 10 I saw that 4,0G    /var/lib 2,2G    /var/spool What is /var/spool /var/spool contains the printer jobs, crash reports and e-mails I check what is the content of the path /var/spool and I found the folder „abrt“ What is abrt? In the manual, page stands: abrt – Manage problems handled…

Weiterlesen Weiterlesen

To add a Python script as a shortcut in the Bash

To add a Python script as a shortcut in the Bash

Linux Bash 5.2.32(1): I have created a Python (version 3.13.7) script in order to shut down my pc. I don’t want to click on the graphic menu in the Gnome (47.9 my version). This is the script in order to shut down the pc: The script checked first the current time and second whether pip has something in the cache, when I had updated some packages. I have saved into many subfolders in my file system Linux_PC/Programmieren/Python/Python_eigene_Scripte/herunterfahren_system.py with the command…

Weiterlesen Weiterlesen

Fedora 41 Change root password

Fedora 41 Change root password

You can change your root password on several ways, if you forgot it. The short way sudo su passwd or sudo passwd root Or the long way Restart the system: Restart the system or switch it on. GRUB menu: Press a key (e or c) during the startup process to edit the GRUB startup menu (the boot loader). Edit boot parameters: Find the line that starts with linux or linuxefi. Add a new parameter at the end of this line….

Weiterlesen Weiterlesen