Tag: GREP
Questions : grep package : Ubuntu
File is changelogs.ubuntu.com/changelogs/pool/main/g/grep/grep_3.7-1build1/changelog $ docker run –rm -it -v `pwd`:/host ubuntu:latest bashroot@c45afb5dffac:/# cat /etc/os-releasePRETTY_NAME=”Ubuntu 22.04.3 LTS”NAME=”Ubuntu”VERSION_ID=”22.04″VERSION=”22.04.3 LTS (Jammy Jellyfish)”VERSION_CODENAME=jammyID=ubuntuID_LIKE=debianHOME_URL=”www.ubuntu.com/“SUPPORT_URL=”https://help.ubuntu.com/“BUG_REPORT_URL=”https://bugs.launchpad.net/ubuntu/“PRIVACY_POLICY_URL=”https://www.ubuntu.com/legal/terms-and-policies/privacy-policy“UBUNTU_CODENAME=jammyroot@c45afb5dffac:/# time (for i in {1..10000}; do grep -q -m 1 -F…
bash – RegEx for parsing package name, package version (including release) for Fedora / Red Hat packages
My goal is to parse correctly package names and package versions (including release number) for Fedora or Red Hat packages like this: python39-3.9.16-1.module+el8.8.0+18968+3d7b19f0.1.x86_64 python3.11-3.11.2-2.el9_2.2.aarch64 glibc-2.34-60.el9.aarch64 glib2-2.68.4-6.el9.aarch64 langpacks-core-font-en-3.0-16.el9.noarch p11-kit-trust-0.24.1-2.el9.aarch64 tzdata-2023c-1.el9.noarch Expected…
xorg – Using Hardware-Acceleration with VNC-Server for OBS Encoding
i have the following setup: Intel Core i5-13500 64 GB RAM No GPU I’m running Ubuntu 22.04 and connect via VNC which is set up acording to this tutorial: www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-20-04…
Unable to install Python’s Pyrfc library for SAP on Raspberry pi 4
this error message arm-linux-gnueabihf-gcc: error: unrecognized command-line option -minline-all-stringops arm-linux-gnueabihf-gcc is 32bit htis pyrfc setup.py github.com/SAP/PyRFC/blob/main/setup.py # launchpad.support.sap.com/#/notes/2573953 if sys.platform.startswith(“linux”): os.system(‘strings $SAPNWRFC_HOME/lib/libsapnwrfc.so | grep “Patch Level”‘) LIBS = [“sapnwrfc”, “sapucum”]…
Current listen queue sizes port 80
The webgui listens on port 80 so it can redirect to 443 by default. [23.01-RELEASE][admin@cedev-6.stevew.lan]/root: sockstat -l | grep nginx root nginx 65408 5 tcp4 *:443 *:* root nginx 65408…
CentOS Stream release 8 convert2rhel failed
Hi,I am trying to convert Centos to RHEL 8 by following access.redhat.com/articles/2360841 & www.redhat.com/en/blog/introduction-convert2rhel-now-officially-supported-convert-rhel-systems-rhel &and on executing this command, I am getting error: # [02/16/2023 05:57:47] TASK – [Prepare: Gather…
regular expression – multiple replacement in file using sed and regex
I have a file like this: one line echo number_format($row1[$z+1],2,”,”,”.”); echo “<b><font color=red>”.number_format($mount_01,2,”,”,”.”).”</font></b>”; echo “<b><font color=red>”.number_format($mount_02,2,”,”,”.”).”</font></b>”; other line <td bgcolor=”red”><b><font color=”white”><?echo number_format($general,2,”,”,”.”);?></font></b></td> another line <td><font size=4><b><?echo number_format($sum_total,2,”,”,”.”);?></font></b></td> with this regex:…
How to have Pulseaudio load card specified by an invariant value when starting?
I have this in my default.pa: load-module module-alsa-card device_id=4 name=”Some_card” set-card-profile alsa_card.Some_card output:iec958-stereo+input:mono-fallback load-module module-alsa-card device_id=3 name=”Another_card” set-card-profile alsa_card.Another_card input:iec958-stereo However, sometimes the device_id changes and pulseaudio doesn’t start, probably…