标签: linux shell unix startupscript
我有一个用户定义的CLI shell,我为一些用户设置了它。 有没有办法在登录时为具有非bash(或非系统特定)shell的用户启动脚本。
我尝试在/etc/profile中添加一些代码。没运气。 我尝试在/etc/profile.d中添加一些脚本。没有运气。
/etc/profile
/etc/profile.d
在这两种情况下,只有bash提示符的用户才会调用它。
有人可以帮我吗?