Re: alias in .profile do not work on ksh for solaris 9 ??

From: Bill Marcum (bmarcum_at_iglou.com.urgent)
Date: 06/29/04


Date: Tue, 29 Jun 2004 05:14:53 -0400

On 29 Jun 2004 00:45:41 -0700, Guerroui
  <guerroui@ifrance.com> wrote:
> Hi !
>
> I've a problem with the alias command which do not work on the startup
> ksh file (.profile) on Solaris 9 operating system.
>
...
>
> when trying :
>
> #. ~/.profile
>
> The ll and cs alias work properly.
>
> Any idea about that ?
>
>
Are you logging in via a GUI or text mode? In a GUI, the .profile is
not always executed; it is executed in terminals that are launched with
the command "xterm -ls" or the resource "loginShell: true". You might
need to put ". .profile" in your .xinitrc or .xsession or other startup
script depending on the GUI.

-- 
The truth you speak has no past and no future.  It is, and that's all it
needs to be.


Relevant Pages

  • Re: asrock, problem with nic after windows-boot - Exact Opposite issue the OP is having
    ... concerning Reading the Startup "Buffer" of the Bootup ... Oh-oh - that suggests a GUI login tool. ... Time to read those startup scripts, ... are identified as STANDARD, INFORMATIONAL and HISTORIC, etc.? ...
    (comp.os.linux.networking)
  • Re: Updates caused problems...
    ... >> - system hangs ... nothing to do with corrupting the startup gui, so it appears to be a seperate issue. ... with my less-experienced fedora users. ...
    (Fedora)
  • Updates caused problems...
    ... No Gui startup after udev ... If booting previous kernel 2.6.25.14-108.f9.i686: ... Startup gui fails to come up just after udev, but login ...
    (Fedora)
  • Re: Windows Server 2008
    ... become totally unresponsive on start-up, except when you use CTRL + ALT + DEL, which is interesting because I know this thing has a built-in Powershell but I don't know if it still sees the Task Manager as just another task. ... I'm testing win8k and yes it's slow on startup. ... I think it's related to the GUI which overloading the server at startup ...
    (microsoft.public.windows.server.general)
  • Re: Windows Server 2008
    ... I think it's excellent, except I've found that the keyboard and mouse can become totally unresponsive on start-up, except when you use CTRL + ALT + DEL, which is interesting because I know this thing has a built-in Powershell but I don't know if it still sees the Task Manager as just another task. ... I'm testing win8k and yes it's slow on startup. ... I think it's related to the GUI which overloading the server at startup ...
    (microsoft.public.windows.server.general)