What’s the advantage of mere Ansible on mere shell-scripting if one doesn’t use communally-maintained Ansible-Galaxy roles?
“not sure I understand idempotent well enough to understand the answer”.
“not sure I understand idempotent well enough to understand the answer”.
After getting my 3g-modem to work in Arch Linux I wanted to eliminate some manual labour required in the process. Hence I needed to create an udev rule. After some trial and error I came up with the following rule named 11-my-rule.rules which I placed at /etc/udev/rules.d/: # start at sdb to ignore the system … Read more
I’m using CentOS 7 what my aim is to create a cron for every five seconds but as I researched we can use cron only for a minute so what I am doing now is I have created a shell file.
hit.sh
Can I write the output of the time difference command to a file?
I was trying to send a mail from the shell script using the command
I have a bunch of shell scripts which incorrectly assume /bin/sh to be equivalent to /bin/bash. E.g., they have the #!/bin/sh shebang, but use the source command instead of . (dot).
I have a script that needs to create temporary files for its work, and clean up after itself. My question is about finding the right base directory for the temporary files.
I would like to delete the last character of a string, I tried this little script :