[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Quel shell pour une connexion SSH ?



Le mardi 10 mai 2011 18:36:58, Frédéric MASSOT a écrit :
> Le 10/05/2011 17:18, Bernard Schoenacker a écrit :
> [...]
> 
> > 	pourquoi ne pas esayer de trouve le shell employé au départ ?
> > 	
> > 	commande : echo $SHELL
> 
> On peut aussi utiliser la commande "env" qui sans options affiche
> l'ensemble des variables d'environnement.

Non, sur le syno on obtient $SHELL=/bin/sh et pourtant ce n'est pas sh.

En revanche 
$ ls -l /bin/sh 
lrwxrwxrwx    1 root     root             7 Feb 28 15:59 /bin/sh -> busybox
$ls -l /bin/ash
lrwxrwxrwx    1 root     root             7 Feb 28 15:59 /bin/ash -> busybox

Donc la réponse est : le shell utilisé est busybox (logique sur un système tel 
que celui-ci...


-- 
François-Régis


Reply to: