Webscalability

Unix, Systems and Web

Menu

Skip to content
  • Contact me
  • TLS / HTTPS Troubleshooting Tools

Archive of posts tagged gnu screen

Set terminal title to hostname when using screen

Posted by james on 3 October 2018, 5:32 pm

Put this in ~/.bashrc if [[ $TERM = “screen” ]]; then   SHORTHOST=$(hostname -s)   NEW_TITLE=”\033]0;${SHORTHOST}\007″   echo -ne “\033P${NEW_TITLE}\033\\” fi With help from here Can probably do this at screen startup rather than in each bash…

Filed under Uncategorized | Tagged bash, gnome, gnu screen, hostname, putty, terminal | Comment

About me

View James Powell's profile on LinkedIn

profile for jamespo on Stack Exchange, a network of free, community-driven Q&A sites

Recent Posts

  • ReduceRightDave/forgotJS – handy Javascript reminder
  • Logging which backend jboss mod_proxy_cluster hits are going to
  • TLS Debugging Tools
  • Monitor mail queue with filter
  • Fix ARA warnings with mysql

Pages

  • Contact me
  • TLS / HTTPS Troubleshooting Tools

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
© 2019 Webscalability
Powered by WordPress | Theme F2.