tools icon indicating copy to clipboard operation
tools copied to clipboard

various scripts and tools

Results 12 tools issues
Sort by recently updated
recently updated
newest added

`tail -f /dev/null` seems like it might not be as good of an option as `sleep infinity` in terms of resources. - https://stackoverflow.com/questions/2935183/bash-infinite-sleep-infinite-blocking This will need tested to make sure...

install_bigfix.sh should check to make sure it is running under bash and not sh. https://unix.stackexchange.com/questions/71121/determine-shell-in-script-during-runtime

https://github.com/jgstew/tools/commit/ed84f79e4ab822f4a71ae5babc48e8ac86f115d0#diff-5352e955d46d92a3a800ff8aa617565c I added this to the code, but it seems to not work correctly within docker containers, or perhaps not at all. Haven't had it work yet on any system.

bug
enhancement

- https://github.com/jgstew/tools/blob/master/bash/install_bigfix.sh - https://clients.cast-control.net/knowledgebase.php?action=displayarticle&id=7 Error: `/opt/BESClient/bin/BESClient: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory` Resolved by: `yum install libstdc++.so.6 -y`

https://www.shell-tips.com/2011/07/09/download-files-from-a-bash-shell/ Apparently there is a way to download files using pure bash on some systems. not sure how to detect if `/dev/tcp` is enabled for the version of bash on...

Problem File: https://github.com/jgstew/tools/blob/master/bash/install_bigfix.sh Seems like there might be an issue in some cases where the CurrentWorkingDirectory is not `/tmp` Need to test the case where the CWD != `/tmp` as...

bug

**Source of this request:** https://forum.bigfix.com/t/rfe-client-installer-reference-relay-dat-at-installation-time/17382 #### Affected Files: - https://github.com/jgstew/tools/blob/master/bash/install_bigfix.sh - https://github.com/jgstew/tools/blob/master/CMD/install_bigfix.bat - https://github.com/jgstew/tools/blob/master/CMD/install_bigfix_universal.bat #### Request: If possible and a `relays.dat` file is located in the current working directory, then...

enhancement

I suggest a -match option that explicitly installs the agent version that matches the running server. The server version is available in the HTTP Server header. `Server: BigFixHTTPServer/9.2.7.53` #### Affected...

enhancement

Unlike its pair in install_bigfix.sh, the string conversion line doesn't actually redirect to $OUTPUTFILE. **This code here has no effect:** https://github.com/jgstew/tools/blob/master/bash/convert_clientsettings.sh#L20

enhancement

#### References: - http://www.gnu.org/software/grep/manual/grep.html - https://regex101.com/ - http://support.bigfix.com/bes/release/ - http://support.bigfix.com/bes/release/index.html - http://stackoverflow.com/questions/18072173/how-to-get-max-number-from-a-file-with-linux-bash-shell-scripts - http://www.linuxjournal.com/article/7396 - http://www.computerhope.com/unix/usort.htm - https://github.com/jgstew/tools/blob/master/bash/bigfix_newest_version.sh - http://www.tldp.org/LDP/abs/html/functions.html **RegEx:** `/(?'versions'\d+\.\d+\.\d+\.\d+)/g` **Command:** `cat index.html | grep -m 16 -i...

enhancement