# Fichier .bash\_profile

**URL:** <https://www.debian-fr.org/t/fichier-bash-profile/85487>\
**Category:** Support Debian\
**Created:** [Octobre 9, 2021, 3:42 UTC](https://www.debian-fr.org/t/fichier-bash-profile/85487 "2021-10-09T15:42:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pat66](https://www.debian-fr.org/user_avatar/www.debian-fr.org/pat66/32/11445_2.png) [@Pat66](https://www.debian-fr.org/u/Pat66)\
**Post date:** [Octobre 9, 2021, 3:42 UTC](https://www.debian-fr.org/t/fichier-bash-profile/85487/1 "2021-10-09T15:42:28Z")

</div>

Bonjour  
Apres creation du fichier .bash\_profile puis ajout de :  
if [-f ~/.bashrc];then  
source ~/.bashrc  
fi  
j obtiens le message suivant quand je suis dans le bash " -bash: [ -f : commande introuvable"

Pourrais je avoir des elements de reponse a l apparition de ce message?

---

<div class="post-metadata">

**Author:** ![limax](https://www.debian-fr.org/user_avatar/www.debian-fr.org/limax/32/3886_2.png) [@limax](https://www.debian-fr.org/u/limax)\
**Post date:** [Octobre 9, 2021, 8:20 UTC](https://www.debian-fr.org/t/fichier-bash-profile/85487/2 "2021-10-09T20:20:17Z")

</div>

Bonjour  
Peut-être manque-t-il un espace après le caractère [et avant le caractère]
