Wpis z mikrobloga

Dobry, dobry. Mam problemik, bo SSH nie wykonuje komendy sub-gassian, aliasu z .bashrc ... Kompletnie nie wiem czemu. Na drugim serwerze wystarczylo wrzucić alias w .bashprofile i działało, tutaj ani z .bashprofile ani z .bashrc nie chce sie wykonac.

Tutaj plik .bashprofile

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/.local/bin:$HOME/bin

export PATH
========================
Tutaj plik .bashrc

# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi

# Uncomment the following line if you don't like systemctl's auto-paging feature:
# export SYSTEMD_PAGER=

# User specific aliases and functions
alias sub-gaussian='/icm/home/farmaceut/my_slurm.sl'
#bash #programowanie #naukaprogramowania #kiciochpyta #programista15k
  • 12
@farmaceut: jak wołasz sub-guassian? ssh serverip i potem wpisujesz w bashu czy ssh serverip -c "sub-gaussian"? Jak to pierwsze to może serwer używa czegoś innego niż bash, sprawdz za pomocą echo $0