linux(1)


linux -- change to Linux mode

Synopsis

linux

Description

If the Linux Kernel Personality (LKP) is installed, the linux command can be used to change from native UNIX mode to Linux modes, launching a shell that is appropriate for Linux. The linux command sets up the user's PATH and other environment variables properly. The root filesystem for the Linux shell that is launched is /linux.

If you are the root user, the linux command switches you into Linux mode, but it does not change directory into the /linux directory tree. You must cd to the directory you want to be in.

To exit Linux mode and return to the UNIX shell, type <Ctrl>-D or exit.

When in Linux mode, all relative pathnames that you use are assumed to reside under /linux. For example, if you enter:

   cd /tmp
while in Linux mode, your current directory becomes /linux/tmp. The UnixWare system, however, continues to use /unixware/tmp as the system temporary directory. It is important to recognize that /linux/tmp and /unixware/tmp are two different directories.

You can access UnixWare resources reliably while in Linux mode by adding /unixware to the beginning of all absolute paths you use in commands. Similarly, by adding /linux to an absolute pathname, you can be sure to access a Linux resource.

If the LKP is disabled because of auditing, the linux command will fail with the following message:

   The system administrator has disabled Linux Kernel Personality support
   for the purpose of auditing system activity.

Files

/unixware/usr/bin/linux

References

LKP Documentation.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004