dnf install oracle-epel-release-el9
dnf install iftop
iptraf is already in the default repositories.
Apologia, decisions, & consequences
dnf install oracle-epel-release-el9
dnf install iftop
iptraf is already in the default repositories.
A really good version of the ll alias is:
ls –lahF, although on some versions ls –lahp looks better than F.
Some useful aliases that are not always preconfigured on every Linux version:
alias ll=’ls -alF’
alias la=’ls -A’
alias l=’ls –CF’
To eliminate the DRM warning in Firefox and Librewolf without enable DRM, add this to “userChrome.css”:
notification[value="drmContentDisabled"]{ display:none !important; }
toolkit.legacyUserProfileCustomizations.stylesheets must be set to true in about config.
The following script scans PDFs via an auto-document feeder in Hp-Lip and then collates the pages to the correct order when there are reverse sides. No scans will be saved if no data is transmitted for the second set of scans. The second set of scans is the reverse of the pages.
#!/usr/bin/env bash YMD=$(date +"%Y-%m-%d") Y=$(date +"%Y") WORKDIR=/home/username/Temp/ OUTPATH=/home/username/Scans/${Y}/ # Create a folder, ~/Temp and create a folder, ~/Scans mkdir -p "/home/username/Scans/${Y}" hp-scan --adf --mode=color && PART=hpscan LATESTSCAN=`ls -t ${PART}*pdf | sed "1q"` echo "${LATESTSCAN} ready for ${FILEOUTPUT}" # Why you shouldn't parse the output of ls # http://mywiki.wooledge.org/ParsingLs # This does not use the FILEOUTPUT variable itself because the cp command # seems to have trouble copying the file correctly, even with switches. # Thanks Elektropepi at https://github.com/qpdf/qpdf/issues/259 function pdfscanmerge() { if [ $# -ne 3 ]; then echo "Usage: pdfscanmerge