Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I have 64 bit environment, in which I have to run a shell script. Inside the shell script, I have to open a linux32 shell and execute commands following ...
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Location
    India
    Posts
    1

    Run commands in linux32 bash from inside a shell script

    Hi,

    I have 64 bit environment, in which I have to run a shell script. Inside the shell script, I have to open a linux32 shell and execute commands following that in that 32 bit shell.

    Inside my shell, I have the command
    linux32 bash
    followed by other commands.

    The problem for me is that even after executing the "linux32 bash" command, it executes all the following commands in the 64 bit shell only.

    How to get out of this?

    Thanks in advance.

    Cheers,
    Joe

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,114
    Put all the 32bit commands in a separate script,
    and call it from the main script.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...