article:post-installation_rapide_distribution_debian
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédente | |||
| article:post-installation_rapide_distribution_debian [2026/05/21 13:16] – estro | article:post-installation_rapide_distribution_debian [2026/05/22 07:27] (Version actuelle) – estro | ||
|---|---|---|---|
| Ligne 11: | Ligne 11: | ||
| sudo dpkg-reconfigure tzdata | sudo dpkg-reconfigure tzdata | ||
| - | sudo apt install git unzip make tree bridge-utils net-tools whois pv rsync byobu rlwrap curl ca-certificates zsh fonts-powerline fail2ban rkhunter | + | sudo apt install git unzip make tree bridge-utils net-tools whois pv rsync byobu rlwrap curl ca-certificates zsh fonts-powerline fail2ban rkhunter |
| cd ~/ && curl ' | cd ~/ && curl ' | ||
| + | |||
| + | |||
| + | cat > ~/ | ||
| + | # | ||
| + | ## | ||
| + | alias zshconfig=" | ||
| + | ## | ||
| + | ## fontions utiles ############################################################### | ||
| + | # | ||
| + | function g() { | ||
| + | grep $@ | grep -v grep | ||
| + | } | ||
| + | |||
| + | function créerCompteBaseTitux.tar() { | ||
| + | cd ~/ | ||
| + | tar -cf compteBaseTitux.tar .zshrc | ||
| + | tar --append -f compteBaseTitux.tar .shell.tux | ||
| + | tar --append -f compteBaseTitux.tar .oh-my-zsh | ||
| + | } | ||
| + | |||
| + | function lancer_agent_ssh() { | ||
| + | memo_ssh="/ | ||
| + | [ -e $memo_ssh ] && { | ||
| + | eval $(cat $memo_ssh) >/ | ||
| + | } || { | ||
| + | mkdir -p / | ||
| + | ssh-agent > | ||
| + | eval $(cat $memo_ssh) >/ | ||
| + | ssh-add | ||
| + | } | ||
| + | } | ||
| + | memo_ssh="/ | ||
| + | [ -e $memo_ssh ] && lancer_agent_ssh | ||
| + | ## | ||
| + | ## | ||
| + | [ -e $HOME/bin ] && export PATH=$HOME/ | ||
| + | # | ||
| + | ## | ||
| + | ## alias ########################################################################### | ||
| + | # | ||
| + | alias lsc="/ | ||
| + | alias ls="/ | ||
| + | alias ll="ls -l --color" | ||
| + | alias la=" | ||
| + | alias l="ls -1" | ||
| + | |||
| + | alias rm="/ | ||
| + | alias cp="/ | ||
| + | alias mv="/ | ||
| + | |||
| + | alias f=" | ||
| + | alias h=" | ||
| + | alias pps=' | ||
| + | |||
| + | alias écran_éteindre=' | ||
| + | alias écran_allumer=' | ||
| + | alias écran_réinitialiser=' | ||
| + | ## | ||
| + | ## | ||
| + | # | ||
| + | |||
| + | |||
| + | ################################################################################################### | ||
| + | #export PATH=/ | ||
| + | |||
| + | EOF | ||
article/post-installation_rapide_distribution_debian.txt · Dernière modification : de estro
