Durchsuchen nach
Kategorie: Linux

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

Linux Bash: Little start script for my pc here

Linux Bash: Little start script for my pc here

I wrote a little script for moving and deleting files in the download folder The RSS files are for the RSS. Sometimes you click on the RSS feed icon and on some website the file extension will download, and it will not open the .xml website where you copy the URL into your RSS feed program. In my settings, I’m aware of doing it, that the PDF files will be downloaded onto my pc. I don’t want to see it…

Weiterlesen Weiterlesen

Linux: pdftotext – tool to read PDF files in the Bash (here Fedora)

Linux: pdftotext – tool to read PDF files in the Bash (here Fedora)

If you want to read in the Bash, on the command line on Linux a PDF file, you don’t need a graphical program. You need the command pdftotext. But you have to install the collection of poppler-utils. What are the poppler-utils? Poppler-utils are collections of helpful PDF commands for the bash. Where to find the poppler-utils: poppler-utils are in the repository updates in Fedora: dnf info poppler-utils Name : poppler-utilsEpoch : 0Version : 24.08.0Release : 2.fc41Architektur : x86_64Installationsgröße : 796.7…

Weiterlesen Weiterlesen

Linux Bash: create a playlist with a small script

Linux Bash: create a playlist with a small script

You want to add mp3 files to a playlist with the extension .m3u and wants to sort it. A lot of music player software uses the .m3u file format. It is an old file format. History of the file format .m3u It was created in 1996 by the Fraunhofer Institute (in German: Fraunhofer-Institut für Integrierte Schaltungen IIS) in Munich, Germany. Onliner in Bash If you don’t want to create a script, then you can it with a one-liner in the…

Weiterlesen Weiterlesen

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