Last active
December 20, 2015 04:59
-
-
Save zml2008/6075418 to your computer and use it in GitHub Desktop.
Binfmt Examples
(these are all set for my home, will need to be modified for other users)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo ":Testing:E::bft::$HOME/test.bft:" | sudo tee /proc/sys/fs/binfmt_misc/register |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/home/zlevis/test | |
echo "hi" | |
echo "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "hi" | |
echo "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment