I am trying to build this app https://github.com/dwgebler/node-express-example. I want to use it as a template for making a Mongodb http express serve ...
I am trying to build this app https://github.com/dwgebler/node-express-example. I want to use it as a template for making a Mongodb http express serve ...
I am writing an sh script and need to replace the . and - with a _ Current: Wanted: I have used a few mv commands, but I am having trouble. ...
Input csv - new_param.csv value like - master.csv has value like - Require Output Updated new_param.csv - true or false in 2nd column tried ...
Good evening I am trying to insert data from one table to another in my script and it comes up with database not found - have I done something wrong? ...
Shell Script - get field/column of csv that contains value pass by array sample data of inputdata1.txt file has value like - sample data of test.c ...
Could someone explain the below code please? The below code is producing the expected results with username. I didn't understand the purpose of do ...
From the below extract of data I am trying to view out only the items in bold, is there a way to do this? The specific section of the file of this is ...
I'm looking to automatically change an sql dump (without needing to know the original db name) - so if the SQL Dump says for example... I want it t ...
The certs in kubernetes are base64 encoded and on the disk are plain certificate. We might have certs embedded in a yaml file. I was wondering if we c ...
I have thousands of gsutil commands in a shell script with the syntax “gsutil cp gs://name of bucket/from-path to-path” When I execute this script in ...
Edit: This question has been edited for context. 1.sh and 2.sh scripts in the original question are replaced by their real-world implementations: moni ...
I am using Linux. I have a directory of many files, I want to use grep, tail and wildcard expansion * in tandem to print the last occurrence of <pa ...
I have below content in yml file: Below snippet needs to be added to the existing under category: Expected Output: Tried below: But none ...
In my catalina.out I have this error /opt/tomcat/bin/catalina.sh: 1: eval: Syntax error: Unterminated quoted string I think this means that a s ...
I want to delete last 162 lines from a series of files with bash scripting. This gives me error bash: tac: command not found. I also want to ...
I'm working on a shell script, which from the user's OS, will run a series of commands to open docker, if the user has it already installed, if the us ...
There is a bash command, I am trying to convert the logic into python. But I don't know what to do, I need some help with that. bash command is this ...
I am using some commands as runcmd as user data: I would like to add sendmail: ALL to etc/hosts.allow and send the email with the subject line. Ho ...
I want to pipe the output of a command to another command, but I want to be able to type things into stdin like I can without a pipe when the pipe is ...
Does anyone know why the executing a shell script as such ./hello.sh would not work but bash hello.sh does? When I run the script as such: bash /tm ...