bonjour,
j’ai un petit souci avec la commande history :
$ sshmaison
history
1 history
bash
470 l
471 vim /root/.ssh/known_hosts
472 scp nagiosAutoDebian.sh root@ftp:/tmp
473 vim /root/.bashrc
474 history
475 history
476 vim .bashrc
477 history
478 history
479 history
480 history
je ne comprends pas pourquoi je dois tapper # bash pour récupérer l’historique de mes commandes…
une petite idée ?
voici mon .bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
#export PS1='\h:\w$ '
export TMOUT=3600
umask 022
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
alias ls='ls --color=auto'
alias ll='ls -la --color=auto'
alias lrt='ls -lart --color=auto'