이 콘텐츠는 선택한 언어로 제공되지 않습니다.
4.25. pdksh
The Public Domain Korn SHell implements the ksh-88 programming language for both interactive and shell script use.
- pdksh — a new package in Red Hat Enterprise Linux 5.4 — does not recognize the keyword
source
in scripts. However, the/etc/profile.d/kde.sh
script uses thesource
keyword in the linesource /etc/sysconfig/prelink
. Consequently, if a user is using pdksh as their shell, and KDE is installed, the following error message will be returned in login shells:To work around this issue, change theksh: /etc/profile.d/kde.sh[7]: source: not found
ksh: /etc/profile.d/kde.sh[7]: source: not found
Copy to Clipboard Copied! Toggle word wrap Toggle overflow line in thesource /etc/sysconfig/prelink
source /etc/sysconfig/prelink
Copy to Clipboard Copied! Toggle word wrap Toggle overflow /etc/profile.d/kde.sh
script toThe keyword. /etc/sysconfig/prelink
. /etc/sysconfig/prelink
Copy to Clipboard Copied! Toggle word wrap Toggle overflow .
is an alias forsource
in all Bourne compatible shells includingbash
,AT&T ksh
, andpdksh
.This issue will be resolved in an upcoming update to Red Hat Enterprise Linux 5.4. (BZ#510374)