tmux

Summary Tmux is a terminal multiplexer an alternative to GNU Screen . In other words, it means that you can start a Tmux session and then open multiple windows inside that session. Each window occupies the entire screen and can be split into rectangular panes. difference between pane,window and session image Cheat sheet prefix command default: ctrl+b custom: ctrl+w all the commands below are with prefix detach session: d...

May 23, 2022 · 1 min · Jaaved Khan

Containers

Summary Image vs Container Containers are runtime environment for the Image. dive tool can be used to analyze image content. Building containers Buildpacks Jib Docker Dockerfile

May 17, 2022 · 1 min · Jaaved Khan

window system

Summary In computing, a windowing system (or window system) is software that manages separately different parts of display screens.[1] It is a type of graphical user interface (GUI) which implements the WIMP (windows, icons, menus, pointer) paradigm for a user interface. Protocol to interact with Display ServerWindow Manager Window System is the protocol that the Display Server talks, Window Manager talk using the Window System protocol o arrange and style the windows on the screen....

May 7, 2022 · 1 min · Jaaved Khan

tmux

Summary Tmux is a terminal multiplexer an alternative to GNU Screen . In other words, it means that you can start a Tmux session and then open multiple windows inside that session. Each window occupies the entire screen and can be split into rectangular panes. Cheat sheet prefix command default: ctrl+b custom: ctrl+w all the commands below are with prefix detach session: d attach: tmux attach -t(-d) name switch between sessions: () list sessions: ls close pane: x new session: :new -s name copy mode: <prefix> [ then use vim mode command move around and copy(y) and paste(p)

May 1, 2022 · 1 min · Jaaved Khan

Linux CS

Commands Logging journalctl -f [f]ollow new messages (like `tail -f` for traditional syslog): journalctl -u kibana -f journalctl –since now|today|yesterday|tomorrow –until YYYY-MM-DD HH:MM:SS Filter messages within a time range (either timestamp or placeholders like “yesterday”): journalctl _PID=pid Show all messages by a specific process: Process Files Users Kernel lsmod Shows the status of linux kernel modules. modprobe Add or remove modules from the Linux kernel....

April 4, 2022 · 1 min · Jaaved Khan

Interacting with processes in Linux(Debian)

Summary Process Commands to show running processes ps: snap short of current processes top: Display and update sorted information about Linux processes. atop: Advanced System & Process Monitor for Linux. htop: Interactive process viewer in Linux. pgrep: Look up or signal processes based on name and other pstree: Display a tree of processes. ps ps -aux | grep buildbot ref

April 4, 2022 · 1 min · Jaaved Khan