Skip to main content

Questions tagged [shell-script]

0 votes
1 answer
155 views

If I have something like this in a job on GitHub Actions as part of my workflow, run: | echo this >> that echo the other what shell does GitHub Actions use?
Evan Carroll's user avatar
  • 3,081
0 votes
2 answers
97 views

apiVersion: v1 kind: ConfigMap metadata: name: time-config data: TIME_FREQ: "6" --- apiVersion: v1 kind: Pod metadata: name: time-check spec: containers: - name: time-check ...
user27155638's user avatar
0 votes
1 answer
152 views

Hello, I have some files that I want to download from Sonatype Nexus repo and upload it to my SFTP server using a Jenkins pipeline. The repo and the server are all running internally (on the local ...
pikklefish's user avatar
0 votes
1 answer
43 views

We use separate Jenkins jobs to collect unit tests and coverage for each repository. There are 32 such repos. How do we collect cumulative report? Currently we are going into each job and collecting ...
TheDevOpsMonk's user avatar
0 votes
1 answer
313 views

There are various Ansible modules which can execute my own-written script (ansible.builtin.script, ansible.builtin.shell, ansible.builtin.command). However, I would like to determine the color of the ...
peterh's user avatar
  • 222
1 vote
1 answer
3k views

I have written this script that performs db backup #!/bin/bash #For taking backup DIR=/media/storage/backup/db_backup/ DATESTAMP=$(date +%d-%m-%y-%H-%M) DB_USER=backup DB_PORT=$2 DB_PASS='secret' ...
Chang Zhao's user avatar
0 votes
2 answers
4k views

While using the Windows machine we face soo much trouble running the command line scripts on CMD(command prompt). Few commands run successfully but some are not. Why is there any difference between ...
Rashid's user avatar
  • 101
2 votes
1 answer
107 views

Is there a good web console or tool that would help enable us to review Shell Scripts? Usually when maintaining a system, we would run scripts that are managed, or we could run scripts that run only ...
JeffJen's user avatar
  • 21
1 vote
1 answer
970 views

I have a absh script which connects and exexutes programs from my local to remote server and now this should be executed from jenkins build so for this jenkins is taking continous changes from git for ...
Sakshi Rathore's user avatar
2 votes
1 answer
43 views

I have a small node js script running in my aws ec2. It is just one file. If I hit the server with a query param, it will do some utility job (like hashing) and return the result in html. Since its a ...
Mani Bharathy's user avatar
5 votes
2 answers
8k views

Trying to optimize definition of multiple services with docker-compose.yml Here is the original, "dumb" variant of the docker-compose.yml: version: '3' services: s1: build: . ports: - "...
Alexander Shcheblikin's user avatar
2 votes
1 answer
216 views

I'm planning to automate docker activities using python. However, I couldn't find any efficient command for monitoring docker volume. So now I wish to use shell commands for that and later it can be ...
Aaditya R Krishnan's user avatar
1 vote
1 answer
1k views

I would like to Dockerize my existing vuejs app for staging , production and I used multi staged approach to create my app container and I'm using Ubuntu 18.04 and this is my, Dockerfile # build stage ...
soldier's user avatar
  • 115
1 vote
2 answers
89 views

Can I configure Docker in a such way that it will store only certain amount of tags for the given image e.g. docker images REPOSITORY TAG ...
Most Wanted's user avatar
1 vote
2 answers
16k views

I have the below shell script: du -sh /bbhome/shared/data/repositories/* |sort -h |tail -20 | while IFS= read -r line;do DIR=`echo $line | awk '{print$2}'` Rep=`cat $DIR/repository-...
arielma's user avatar
  • 339

15 30 50 per page