Created
April 26, 2017 08:26
-
-
Save Anthchirp/5dd05e5534059bad78b864da4105a859 to your computer and use it in GitHub Desktop.
su && screen
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
# Getting screen to work on a user account you su'd to. | |
function screen() { | |
/usr/bin/script -q -c "/usr/bin/screen ${*}" /dev/null | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment