Skip to main content

TMUX-Terminal multiplexer for Linux

TMUX

Tmux is a terminal multiplexer, it creates multiple terminals on the same tab enable you to see multiple running objects on the same tab

when tmux is started it creates a new session with the single window and displays it on the terminal screen. A session is a collection of terminals on single screen

You can install tmux:

Method 1

$ sudo apt-get install tmux 

Method 2

$ wget https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz
$ tar xzvf libevent-2.1.8-stable.tar.gz
$ cd libevent-2.1.8-stable
$ sudo ./configure --prefix=/usr/local && make
$ wget https://github.com/tmux/tmux/releases/download/2.3/tmux-2.3.tar.gz
$ tar xzvf tmux-2.3.tar.gz
$ cd tmux-2.3
$ LDFLAGS="-L/usr/local/lib -Wl, -rpath=/usr/local/lib" && ./configure --prefix=/usr/local
$ sudo make && sudo make install
$ export PATH=$PATH:/usr/local/bin

After the installation is finished, then type tmux on terminal.

TMUX CHEAT SHEET

1) To create a new Session

$ tmux new-session -s working

2) Create a session that shares with existing session

$ tmux new-session -s workingpython -t working

3) Attach a Session

$ tmux attach -t workingpython

4) Keyboard to just detach the session so hit C-a d

5) Keyboard shortcuts to switch between the sessions

a) Previous Session  C-a (

b) Next Session C-a )

c) List Session C-a s

6) Create a window C-a c

7) Switch between window C-a 1   Switch between window 1,2,3,4,5,6,7,8,9,0

8) Switch next window C-a n

9) Switch previous window C-a p

10) Create a pane in existing window by splitting vertically C-a "

11) Create a pane in existing window by splitting horizontally C-a %

12) Switch between pane in existing window C-a left  (left, right, up, down)






Comments

Popular posts from this blog

Install Conky Manager in Ubuntu 14.04 and 14.10

Install Conky Manager in Ubuntu: Conky Manager is available in the developer’s PPA for Ubuntu 14.10, Ubuntu 14.04, Ubuntu 13.10 and Ubuntu 12.04. Press  Ctrl+Alt+T  to open terminal. When it opens, run the following commands one by one: sudo add-apt-repository ppa:teejee2008/ppa sudo apt-get update sudo apt-get install conky-manager You can also see from here http://www.webupd8.org/2014/06/conky-manager-gets-revamped-ui-new.html

Play Song From Terminal

1) sudo apt-get install sox For formating to mp3 and other extension we need decoder of Sox 2 ) sudo apt - get install libsox - fmt - mp3 Now go to the directory of your Music and give command as play *.mp3 it will play music and if you want to go to another song then press `ctrl + c`  To terminate press `ctrl+c+c` Thanks For seeing and i hope you like this  ENJOY ------------------------------------- Please if you like this Post so do not Forget to Comment and like 

Wallch 4.0 Added Clock Wallpaper in Ubuntu 14.04

Wallch  is free wallpaper utility for Linux, it offers user friendly graphical user interface. Developer introduced new feature live clock wallpaper in latest Wallch 4.0 version, which is also offered in  slidewall  wallpaper application. Wallch is open-source application, which allows anyone to download and modify code as per needs. It supports all major Linux desktops such as Unity, Gnome, LXDE, XFCE, and Mate. It doesn't simply change your desktop background with the wallpapers that you have in your hard disk, though. While it does that well by monitoring the folder that you have selected for new or deleted pictures, it has lots of features, like Picture of the day, Live Earth, Wallpaper Clocks and Live Website! Get Wallpaper from    VladStudio.com . >>> Wallch 4.0 only available for Ubuntu 14.04 Trusty Tahr/Linux Mint 17 To install Wallch 4.0 in Ubuntu 14.04 Trusty/Linux Mint 17 open Terminal (Press  Ctrl+Alt+T ) and copy the following commands in the Termi