Is it possible to write a bash script that opens a remote node (i.e. through ssh and/or slurm) and starts an interactive session there after running some comman
I'm trying to learn to bash scripting and I tried to use variables and arguments, etc. to specify a complex output file name to a ffmpeg command as follows : fo
wsl -h shows the following: --exec, -e <CommandLine> Execute the specified command without using the default Linux shell. -- Pass the remainin
Is there an easy way to align multiple rows of text about a single character, similar to this question, but in bash. Also open to zsh solutions. What I have: aa
I have to use bash to iterate over a CSV file and replace the values of a column that meets a condition. Finally, the results have to be stored in an output fil
I setup Firebase app distribution feature in Fastlane Fastfile to distribute beta version of my iOS app. It was working fine but It suddenly started showing err
Using a bash script, I want to choose a random number from such a list: [0, X, 2X, 3X, 4X, ..., Y] where Y=k*X and k is an integer. X and Y are just some input
I wish to calculate the standard deviation from a range of files titled "res_NUMBER.cs" which are formatted as a CSV. Example data includes 1,M,CA,54.9130 1,M
I'm new to scripting and have decided to learn with this homework that I gave myself. The goal of this script is simply: display available colors in color pick
I have a really huge file (>500 million lines) that I want to split in several smaller files according to the first 3 characters of one of its columns. It l
i want to change multiline string within particular marks that is indented in file, example looks like this: non_important_array: [ text ], impo
I want to convert JSON string into an array in bash. The JSON string is passed to the bash script as an argument (it doesn't exist in a file). Is there a way o
I want to convert JSON string into an array in bash. The JSON string is passed to the bash script as an argument (it doesn't exist in a file). Is there a way o
I have a script such as following DIR=$1 ls $1 |sort -R |tail -$5 |while read file; do soxi -d $1$file done and it gives me an output like 00:40:35.18 00:4
I am comfortable with writing single queries. I am new to writing bash scripts trying to automate the daily stuff. I need help on creating a PowerShell or bash
I am having a problem running Fenics using their docker container: Background to this is: One main VM communicates with the user via a REST API and gets one or
I want to count the number of directories in each folder it traverses. If a number of folders are equal to one, continue traversing, else select the current fol
I am trying to create if statement which will check if repository with name X exists, if it doesn't => create it. Made following code. It works, but when rep
I'm not a pythonist, just need to fix some script. So I'm want to run some Bash shell script that placed not in the same folder as the Python script but in one
I'm not a pythonist, just need to fix some script. So I'm want to run some Bash shell script that placed not in the same folder as the Python script but in one