Tmux
This will speed up you testing capability.
Installing tmux
# By default it is installed.
sudo apt install tmuxConfiguring tmux for improved and efficient usage.
Save this in ~/.tmux.conf file in kali linux.
# Bindings for creating new windows and splits
bind-key c new-window -c "#{pane_current_path}"
bind-key % split-window -h -c "#{pane_current_path}"
bind-key '"' split-window -v -c "#{pane_current_path}"
# Set history limit for scrolling
set-option -g history-limit 100000
# Enable mouse support and set vi keys
set-option -g mouse on
set-option -g mode-keys vi
# Copy to clipboard on mouse selection
bind-key -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe-and-cancel "xclip -selection clipboard"
Features:
When you create a new terminal you are in the same directory from where you requested a new terminal.
You save the history of
100000lines.You can easily select text to copy it to the clipboard.
Common and useful command
You can refer to the cheatsheet for more details related to commands. I will only mention those commands that I commonly use.
Always use CTRL + l as a shortcut to clear the screen and not clear command as it will store the command history in the buffer. 😄
Check the cheat sheet for commands related to windows, panes, and copy mode. Almost everyone uses these commands frequently.
Last updated
