Fehlermeldung beim öffnen des Terminals

Gleich beim öffnen des Terminals bekomme ich eine Fehlermeldung und das aktualisieren der .bashrc schlägt auch fehl (Ich weis nicht ob das unterschiedliche Probleme sind)

bash: input: Kommando nicht gefunden.
[wave@endos ~]$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
[wave@endos ~]$ source ~/.bashrc
bash: input: Kommando nicht gefunden.
[wave@endos ~]$ ll .bash*
-rw------- 1 wave wave  17K  7. Jul 09:20 .bash_history
-rw-r--r-- 1 wave wave   21 27. Aug 2024  .bash_logout
-rw-r--r-- 1 wave wave   57 27. Aug 2024  .bash_profile
-rw-r--r-- 1 wave wave 1,2K  7. Jul 00:50 .bashrc
[wave@endos ~]$ cat .bash_profile 
#
# ~/.bash_profile
#

[[ -f ~/.bashrc ]] && . ~/.bashrc

Wie gehe ich auf Fehlersuche ?

Was sind die Inhalte der Datei ~/.bashrc?

[wave@endos ~]$ cat .bashrc 
#
# ~/.bashrc
#

[[ $- != *i* ]] && return
shopt -s histappend
HISTCONTROL=ignoreboth:erasedups
HISTSIZE=2000
HISTFILESIZE=2000
HISTIGNORE='c:l:ll:ls:ls *:cd:cd *:exit:clear:alias:reboot:history'
PS1='[\u@\h \W]\$ '

alias l='ls -lhF --color=auto'
alias ls='ls --color=auto'
alias ll='ls -lah --group-directories-first'
alias c='cd ..'
alias cp='cp -i'
alias df='df -h'
alias free='free -mh'
alias mall='sudo mount -a'
alias umall='sudo umount -a'
alias grep='grep --color=auto'
alias bashload='nano ~/.bashrc'
alias bashreload='source ~/.bashrc'
alias dm="echo '' && echo 'dmesg' && echo '' && sudo dmesg"
alias myip="echo ''; curl -sS https://ipecho.net/plain; echo"
alias duu="echo '' && echo 'du -hd 1 | sort -hr' && echo'' && du -hd 1 | sort -hr && echo ''"
alias hispurge='sort .bash_history | uniq > /dev/shm/hist && cat /dev/shm/hist > .bash_history'

one of the config files bash is sourcing during startup is trying to excecute the command “input” which does not exist. If this is not in ~/.bashrc* you could also check the files in /etc like

/etc/bash.bashrc
/etc/profile

or even the file /usr/share/bash-completion/bash_completion if you have bash compeltion installed.

PS
Whoops. Habe auf englisch geantwortet :wink: Nächste Antwort ist dann deutsch.

OK, meine Überforderung damit hält sich auch in Grenzen :grinning_face_with_smiling_eyes: (hab manchmal einfach Bock auf deutsch)

Hab den Fehler gefunden, es war scheinbar die Syntax in der .bashrc
Hatte vor dem posten ein Abschnitt entfernt der verhindern sollte das eine versehentliche Eingabe meines user pw in der History auftaucht. ( quasi :oob: für foobar )
Obwohl die Schreibweise meines erachtens kein Problem sein sollte ist die Fehlermeldung seit dem Löschen jetzt weg.

Irgendwelche Befehle oder Aliase mit dem Namen ‘Input’ gab es jedenfalls nie.

Thx and have a nice one! :wink: