Most usefull shortcut Ctrl + r : Search and reverse. (ctrl+r pour remonter lโ€™history). Ctrl + l : Clear the screen (instead to use โ€œclearโ€ command). Ctrl + p : Repeat last command. Ctrl + x + Ctrl + e : Edit the current command on an external editor. (Need to define export EDITOR=vim ). Ctrl + shift + v : Copy / paste...

Register your session Usefull to keep a track or document and share what have been done. script : save all commandes and result in a โ€œtypescriptโ€ file. script -a : append to an existing โ€œtypescriptโ€ file (otherwise erase previous one). exit : to stop session. asciinema : save the terminal session in video. For RHEL -...

Tmux git clone https://github.com/tmux-plugins/tmux-logging.git Commandes line tmux new -s ma_session : Create new session. tmux attach : Attach to the last used session. tmux attach -t X : Attach to ymux sessions with X number. tmux ls : List active tmux sessions. tmux split-window -dh "!!" : Run command in separate...

Unicode with With echo echo $โ€™\xaeโ€™ = โ€œยฎโ€ Digraphs in VIM Vim has a special shorthand for entering characters with diacritical marks. If you need some familiar variant of a Latin alphabet character youโ€™ll be able to input it with the digraph system. Digraph input is started in insert or command mode (but not normal...

Plugins # HCL mkdir -p ~/.vim/pack/jvirtanen/start cd ~/.vim/pack/jvirtanen/start git clone https://github.com/jvirtanen/vim-hcl.git # Justfile mkdir -p ~/.vim/pack/vendor/start cd ~/.vim/pack/vendor/start git clone https://github.com/NoahTheDuke/vim-just.git Fun Facts trigger a vim tutorial vimtutor the most...

Manuals for commands man <cmd> : Open man page of command. space : go ahead page by page. b : go back page by page. q : quit. Enter : go line by line. /<word> : search a word in man. n : go to the next expression that you search. N : go back to search expression. man -k <key word> : look for in all man for your key...