Normally, when using ffmpeg, you define a name for the "pass" information to be stored in a file when enconding videos with 2 (or more) passes, e.g.: ffmpeg -i
I'm trying to find patterns from one file in another file. The pattern in file one looks something like this: ENSG00000203875.13 ENSG00000262691.1 ENSG000002549
Im trying to write a regex function in bash where the first and third thing in the list are the same and the second and fourth thing in the list are the same. g
I wrote the below script to check expiry age of users on psql #!/bin/bash echo "" echo "Performing User Expiry Check" echo "" CONTAINER_ID=$(docker p
I am attempting to curl multiple urls in a bash command. Eventually I will be curling a large number of Urls so I am using xargs to use multiple processes to sp
I am currently working on RNA-Seq data, and I have a directory containing the forward and the reverse sequences of a number of samples. I want to run tools such
I have a bash script from which I want to access /dev/tty, but only when it's available. When it's not available (in my case: when running my script in GitHub A
i want to generate 10 random number between 1 and 100 and store them in an array #!/bin/bash for ((i=0; i<10; i++)) do done
I have a file with three columns. I would like to extract rows with top two values in column 3 for each unique value in column 2. cat file.list run1/xx2/x2c1.tx
I'm trying to use pm2 deploy production update to serve my NextJs app on remote server. I've have already installed yarn locally and also on remote server. It s
I am using a raspberry pi4 with 32bit Raspbian to display some webpages. I have a script to open 2 webpages, one on each monitor. The end of the script selects
I have the following two files in a directory: Dockerfile FROM debian WORKDIR /app COPY start.sh /app/ CMD ["/app/start.sh"] start.sh (with permissions 755 u
I have data.json which looks like this { "type": "AdaptiveCard", "body": [ { "type": "TextBlock", "text": "Monitoring", "wrap": true,
In .gitlab-ci.yml stages: - test-jq test-jq: stage: test-jq image: ruby:2.5 script: - apt-get update - apt-get install
I'd like to traverse some directories containing git repositories with my Bash script and add them to SourceTree's list if they don't exist already. I'd prefera
I want to write a script that loops through 15 strings (array possibly?) Is that possible? Something like: for databaseName in listOfNames then # Do somethi
I have these variables: file_path="/home/dir/file.xml" string="<host mac='0A:00:DD:D2:00:02' name='vfp-20vr' ip='10.10.1.122'/>" This is the content of f
I have a data file, let's call it fileA. It has two columns and I want to take difference of 2nd column and multiply the output with 13.6 and write it down in 3
Lets say that I have the following DeletedFiles.txt file: test1.zip - date-removed='6-16-2021' test2.zip - date-removed='6-17-2021' test3.zip - date-remov
I have a fasta file with several sequences, but the first line of all the sequences start with the same string (ABI) and I want to change and replace it with th