bash: # : commande introuvable
Mageia 8
Système et matériels / Administration système

ylyco Membre non connecté
-
- Voir le profil du membre ylyco
- Inscrit le : 31/12/2014
- Groupes :
lorsque je lance ma console, j'obtiens le message suivant :
bash: # : commande introuvable
[regis@localhost ~]$
Pourtant mon fichier .bashrc est des plus simple :
# .bashrc
# User specific aliases and functions
alias zoom="(unset QT_PLUGIN_PATH; /usr/bin/zoom %U)"
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
Une idée sur d'où cela peut provenir ?

Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Code BASH :
which zoom
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
Arch | Machine | OS |
x86_64 | lenovo x250 | mga9 |
armv7hl | bananapro | mga9 |
aarch64 | Raspberry Pi 4B | mga9 |

ylyco Membre non connecté
-
- Voir le profil du membre ylyco
- Inscrit le : 31/12/2014
- Groupes :
bash: # : commande introuvable
[regis@localhost ~]$ which zoom
/usr/bin/zoom
[regis@localhost ~]$

Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Code BASH :
cat /etc/bashrc
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
Arch | Machine | OS |
x86_64 | lenovo x250 | mga9 |
armv7hl | bananapro | mga9 |
aarch64 | Raspberry Pi 4B | mga9 |

Jybz Membre non connecté
-
- Voir le profil du membre Jybz
- Inscrit le : 10/10/2018
- Groupes :
-
Administrateur
-
Forgeron
Code BASH :
cat ~/.bash_profile
Téléverser une image : /wiki/hebergement-de-fichiers-sur-mlo
Arch | Machine | OS |
x86_64 | lenovo x250 | mga9 |
armv7hl | bananapro | mga9 |
aarch64 | Raspberry Pi 4B | mga9 |

ylyco Membre non connecté
-
- Voir le profil du membre ylyco
- Inscrit le : 31/12/2014
- Groupes :
Jybz :
Peux tu taper :
Code BASH :
cat /etc/bashrc
bash: # : commande introuvable
[regis@localhost ~]$ cat /etc/bashrc
# /etc/bashrc
# System wide functions and aliases
# Environment stuff goes in /etc/profile
# It's NOT good idea to change this file unless you know what you
# are doing. Much better way is to create custom.sh shell script in
# /etc/profile.d/ to make custom changes to environment. This will
# prevent need for merging in future updates.
# By default, we want this to get set.
# Even for non-interactive, non-login shells.
if [ "`id -gn`" = "`id -un`" -a `id -u` -gt 99 ]; then
umask 002
else
umask 022
fi
# are we an interactive shell?
if [ "$PS1" ]; then
i='${USER}@${HOSTNAME%%.*}:$([[ "${PWD}" =~ ^"${HOME}"(/|$) ]] && echo "~${PWD#${HOME}}" || echo "${PWD}")'
case $TERM in
xterm*)
PROMPT_COMMAND='echo -ne "\033]0;'${i}'\007"'
;;
screen)
PROMPT_COMMAND='echo -ne "\033_'${i}'\033\\"'
;;
*)
;;
esac
unset i
[ "$PS1" = "\\s-\\v\\\$ " ] && PS1="[\u@\h \W]\\$ "
# You might want to have e.g. tty in prompt (e.g. more virtual machines)
# and console windows
# If you want to do so, just add e.g.
# if [ "$PS1" ]; then
# PS1="[\u@\h:\l \W]\\$ "
# fi
# to your custom modification shell script in /etc/profile.d/ directory
if [ -z "$loginsh" ]; then # We're not a login shell
# Not all scripts in profile.d are compatible with other shells
# TODO: make the scripts compatible or check the running shell by
# themselves.
if [ -n "${BASH_VERSION}${KSH_VERSION}${ZSH_VERSION}" ]; then
for i in /etc/profile.d/*.sh; do
if [ -r $i ]; then
. $i
fi
done
unset i
fi
fi
fi
unset loginsh
[regis@localhost ~]$

ylyco Membre non connecté
-
- Voir le profil du membre ylyco
- Inscrit le : 31/12/2014
- Groupes :
Jybz :
Peux tu aussi :
Code BASH :
cat ~/.bash_profile
bash: # : commande introuvable
[regis@localhost ~]$ cat ~/.bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
[regis@localhost ~]$
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie