Skip to content

Instantly share code, notes, and snippets.

@ssebastianj
Last active March 30, 2019 23:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ssebastianj/47c8be711453821d6e5593260c345649 to your computer and use it in GitHub Desktop.
Save ssebastianj/47c8be711453821d6e5593260c345649 to your computer and use it in GitHub Desktop.
ls config 2>/dev/null # Answer <y> to run proposed fix | <ENTER> to skip proposed fix | <Ctrl+C> to exit
ls -la config 2>/dev/null # <Ctrl+C> if the issue was resolved | Answer <y> to try current fix | <ENTER> to skip current fix
ls -lAh config 2>/dev/null # <Ctrl+C> if the issue was resolved | Answer <y> to try current fix | <ENTER> to skip current fix
tree -L 1 config 2>/dev/null # <Ctrl+C> if the issue was resolved | Answer <y> to try current fix | <ENTER> to skip current fix
echo 'End' # No more fixes to try. If the issue was not resolved please open an issue on https://github.com/project/issues / <ENTER> to exit
#!/usr/bin/env bash
set -xeuo pipefail
xargs --arg-file=commands.txt --interactive --max-args=1 --no-run-if-empty --delimiter='\n' -- /bin/sh -iv -c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment