Sections

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 -...

Troubleshooting sudo realm list authselect current sssctl domain-list sssctl config-check getent -s files passwd getent -s sss passwd user getent passwd dig -t SRV _ldap._tcp.example.com sssctl user-checks toto -s sshd -a auth SSSD process config to link to AD Prerequisites : Need port 369 and 3268 for RHEL8 : dnf -y...

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...