Skip to content

Instantly share code, notes, and snippets.

@nawawi
Last active July 29, 2022 20:18
Show Gist options
  • Save nawawi/ec01e902bbb6a2fed3c09df03f383976 to your computer and use it in GitHub Desktop.
Save nawawi/ec01e902bbb6a2fed3c09df03f383976 to your computer and use it in GitHub Desktop.
#!/bin/bash
FIFO="/path-to-ss_cmd.txt";
LIST="$(sort -u $FIFO)";
for CMD in $LIST; do
$CMD
done
rm $FIFO;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment