OS: CentOS Linux release 7.3.1622 (Core)
Na software update en reboot kreeg ik dit.
Na inloggen in Gnome inlogscherm alleen een lege desktop zonder icoon of menu..
Switchen naar shell:
Na inloggen gewone gebruiker:
Last login: Sat Apr 22 16:29:01 on :0
Welkom bij CentOS 7!
bash: tty: command not found
Similar command is: 'tty'
/usr/libexec/grepconf.sh line 5: grep: command not found
bash: grep: command not found
bash: grep: command niet gevonden
marcel@centos7 ~]$
Inloggen met root geeft hetzelfde.
echo $PATH
/usr/lib64/qt-3.3/bin/:$PATH:/opt/jdk1.8.0_121/bin:/opt/jdk1.8.0.121/jre/bin:/usr/local/sbin:/home/marcel/.local/bin/:/home/marcel/bin
vi werkt niet dus:
export PATH=$PATH:/bin
vi ~/.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
vi ~/.bash_profile
# .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
Wanneer ik :/bin aan het pad toevoeg dan wordt deze genegeerd.
Bestandssysteem Grootte Gebruikt Besch Geb% Aangekoppeld op
/dev/mapper/centos-root 10G 8,0G 2,1G 80% /
devtmpfs 1,9G 0 1,9G 0% /dev
tmpfs 1,9G 84K 1,9G 1% /dev/shm
tmpfs 1,9G 34M 1,9G 2% /run
tmpfs 1,9G 0 1,9G 0% /sys/fs/cgroup
/dev/sda1 485M 384M 76M 84% /boot
/dev/mapper/centos-home 3,0G 2,7G 303M 91% /home
/dev/mapper/vgdata1-lvdata1 109G 101G 8,1G 93% /data
/dev/mapper/centos-var 5,0G 4,0G 1,1G 79% /var
tmpfs 379M 20K 379M 1% /run/user/42
tmpfs 379M 0 379M 0% /run/user/1000
total used free shared buff/cache available
Mem: 3,7G 291M 3,1G 896K 312M 3,1G
Swap: 2,0G 98M 1,9G
Na software update en reboot kreeg ik dit.
Na inloggen in Gnome inlogscherm alleen een lege desktop zonder icoon of menu..
Switchen naar shell:
Na inloggen gewone gebruiker:
Last login: Sat Apr 22 16:29:01 on :0
Welkom bij CentOS 7!
bash: tty: command not found
Similar command is: 'tty'
/usr/libexec/grepconf.sh line 5: grep: command not found
bash: grep: command not found
bash: grep: command niet gevonden
marcel@centos7 ~]$
Inloggen met root geeft hetzelfde.
echo $PATH
/usr/lib64/qt-3.3/bin/:$PATH:/opt/jdk1.8.0_121/bin:/opt/jdk1.8.0.121/jre/bin:/usr/local/sbin:/home/marcel/.local/bin/:/home/marcel/bin
vi werkt niet dus:
export PATH=$PATH:/bin
vi ~/.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
vi ~/.bash_profile
# .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
Wanneer ik :/bin aan het pad toevoeg dan wordt deze genegeerd.
Bestandssysteem Grootte Gebruikt Besch Geb% Aangekoppeld op
/dev/mapper/centos-root 10G 8,0G 2,1G 80% /
devtmpfs 1,9G 0 1,9G 0% /dev
tmpfs 1,9G 84K 1,9G 1% /dev/shm
tmpfs 1,9G 34M 1,9G 2% /run
tmpfs 1,9G 0 1,9G 0% /sys/fs/cgroup
/dev/sda1 485M 384M 76M 84% /boot
/dev/mapper/centos-home 3,0G 2,7G 303M 91% /home
/dev/mapper/vgdata1-lvdata1 109G 101G 8,1G 93% /data
/dev/mapper/centos-var 5,0G 4,0G 1,1G 79% /var
tmpfs 379M 20K 379M 1% /run/user/42
tmpfs 379M 0 379M 0% /run/user/1000
total used free shared buff/cache available
Mem: 3,7G 291M 3,1G 896K 312M 3,1G
Swap: 2,0G 98M 1,9G