I have a bot on Marathi language wikipedia. The bot runs from Wikimedi's toolforge server. I have set up a cron job which generates two files: one .err and anot
Content of a json file "iso_checksum": "md5:32fdf4fef4ef" I have stored value of new checksum in a variable v = "4dfv45ffdf" I want to replace the value after
I've been trying to get a one liner working updated to add the user name for the processes consuming swap on the system but having a hard time getting it to wor
Disclaimer: this happens on macOS (Big Sur); more info about the context below. I have to write (almost did) a script which will replace images URLs in big text
I have a script: #!/bin/bash git log -1 | grep -w '^commit' | cut -d ' ' -f2 | git show | grep -w '^index' | cut -d ' ' -f2 > tmp_out while read -r arg do
Sorry it's hard to be specific here but I'm struggling to pin down the source of various error messages in my Linux shell with asdf. I've got Fish shell 3.4.0 r
Of course, we could create aliases, but then we loose the Debian integration. For instance, the 3 first works, as they are just aliases, but the 3 last fails: N
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
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
Today I logged onto my machine and tried to cd ~/Downloads, but my shell (Fish) just returns the error cd: '/Users/x/Downloads/' is a rotten symlink without any
Trying to figure out operating system to run a command in my package. Found this : case "$OSTYPE" in solaris*) echo "SOLARIS" ;; darwin*) echo "OSX" ;;
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 2 file. analizeddata.txt: A001->A002->A003->A004 A001->A005->A007 A022->A033 [...] and matrix.txt: A001|Scott A002|Bob A003|Mark A004|
I have the following lines in my build.gradle file of my Android project: "./prebuild.sh".execute() But during the build I get this error: java.io.IOException:
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 cloned a GitHub repository (https://github.com/tomergreenwald/tac-adx) and did some changes in the code. But if i run the application with the runServer scrip
I am tring to pick words start with "Approved by" and end with before the "=" sign. here is log file. Test worker] INFO cyyom.bghhht.gsghhj.dijjkkgital.dggcf.ap
sshpass -p Password ssh -o StrictHostKeyChecking=no a.user@IP "Command1 ; Command2" When i try to run multiple commands after ssh it only runs the 1st command
I have a shell script file. ./1.ps1 ./2.ps1 I generate a string such as env-0 in 1.ps1 and need to export it to 2.ps1.UPDATE: 1.ps1 generate many string and I
I have a shell script file. ./1.ps1 ./2.ps1 I generate a string such as env-0 in 1.ps1 and need to export it to 2.ps1.UPDATE: 1.ps1 generate many string and I