Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

gnu-screen

How do I display the current “session” name or “sockname” of a screen session in the status bar?

September 26, 2023 by Tarik

The easiest way to display the sessionname is C-a : sessionname (without specifying a name after sessionname) See the “CUSTOMIZATION” section in man screen

Categories gnu-screen Tags gnu-screen Leave a comment

How to create a screen executing given command?

July 29, 2023 by Tarik

You create a screen with a name and in detached mode: screen -S “mylittlescreen” -d -m Then you send the command to be executed on your screen: screen -r “mylittlescreen” -X stuff $’ls\n’ The stuff command is to send keystrokes inside the screen. The $ before the string command is to make the shell parse … Read more

Categories gnu-screen Tags gnu-screen Leave a comment

What must I know to use GNU Screen properly? [closed]

December 30, 2022 by Tarik

I’ve been using Screen for over 10 years and probably use less than half the features. So it’s definitely not necessary to learn all its features right away (and I wouldn’t recommend trying). My day-to-day commands are: ^A ^W – window list, where am I ^A ^C – create new window ^A space – next … Read more

Categories gnu-screen Tags gnu-screen Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa