Skip to content

Instantly share code, notes, and snippets.

View santoshe1's full-sized avatar
💭
I may be slow to respond.

Santosh santoshe1

💭
I may be slow to respond.
View GitHub Profile

Screen Quick Reference

Basic

Description Command
Start a new session with session name screen -S <session_name>
List running sessions / screens screen -ls
Attach to a running session screen -x
Attach to a running session with name screen -r <session_name>
@santoshe1
santoshe1 / Dockerfile
Created April 28, 2020 15:05 — forked from renzok/Dockerfile
docker: mapping host uid and gid to user inisde container
FROM debian:jessie
ENV USER=boatswain USER_ID=1000 USER_GID=1000
# now creating user
RUN groupadd --gid "${USER_GID}" "${USER}" && \
useradd \
--uid ${USER_ID} \
--gid ${USER_GID} \
--create-home \