Skip to content

Instantly share code, notes, and snippets.

@Anthchirp
Created April 26, 2017 08:26
Show Gist options
  • Save Anthchirp/5dd05e5534059bad78b864da4105a859 to your computer and use it in GitHub Desktop.
Save Anthchirp/5dd05e5534059bad78b864da4105a859 to your computer and use it in GitHub Desktop.
su && screen
# 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