Skip to content

Instantly share code, notes, and snippets.

@maxchehab
Last active July 27, 2019 01:42
Show Gist options
  • Save maxchehab/11ac5e67ebbdee30d4d25320d35a0c8f to your computer and use it in GitHub Desktop.
Save maxchehab/11ac5e67ebbdee30d4d25320d35a0c8f to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "hello world" > /dev/ttys001
echo "this goes to file"
# $ fancy.bash > log
# $ hello world
# $ cat log
# $ this goes to file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment