Skip to content
Advertisement

Tag: ubuntu

Can substring expansion be used in dash shell or bourne shell?

I’m converting an app to a new image, and the existing commands use substring expansion to set the artifact version like so: mvn clean versions:set -DnewVersion=”0.1.$VCSINFO.I${INFO:0:6}.M$OTHER_INFO”. I’m using a ubuntu image that defaults to /bin/sh, and I am unable to figure out how to either do something equivalent in bourne shell, or switch shells to run the command. I know

Retrieve secrets from AWS Secrets Manager

I have a bunch of secrets (key/value) pairs stored in AWS Secrets Manager. I tried to parse the secrets using jq as: It retrieves the value stored in .PASSWORD, but the problem is I not only want to retrieve the value stored in key but also want to retrieve the key/value in the following manner: By running the above command

How can I install php7.4 on Ubuntu 19.04?

After adding the ppa ondrej/php, I try sudo apt-get install php7.4, but the output is I have checked and there is a package that should install with that command, but I must be doing something wrong? Answer have you tried updating your rep? I didn’t pay enough attention, this package doesn’t exist yet for ubuntu 19.04:

How to shift between two same windows using keyboard keys in Ubuntu [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question

youtube-dl change output path only for converted videos (–recode-video)?

I want to download a video with bestvideo+bestaudio quality and save the converted video to a different location. for example command below produces this: but I want something like this: Can I change the location for ffmpeg output? Answer I read the documentation here. The solution was to use –exec flag youtube-dl -f bestvideo+bestaudio -k –exec ‘mv {} ./output/{}’ 1G4isv_Fylg

How to solve a RAW stream playback problem with GStreamer and VAAPi

I am currently experiencing a small problem with GStreamer, here are more details: Configuration: Intel i7-6700 Intel HD Graphics 530 Ubuntu 18.04 LTS GStreamer1.0 VAAPI plugin I receive a UDP stream from a video source, this stream is sent in RAW UYVY format. Here is my command line to decode it: gst-launch-1.0 -v udpsrc port=”1234″ caps = “application/x-rtp, media=(string)video, clock-rate=(int)90000,

Advertisement