Changing the current working directory of the parent shell.
From: Mike Cox (mikecoxlinux_at_yahoo.com)
Date: 01/27/04
- Next message: Wayne Throop: "Re: Mike releases the "home" command, Version #2"
- Previous message: Grant Edwards: "Re: Mike releases the "home" command, Version #2"
- Next in thread: Frostbite: "Re: Changing the current working directory of the parent shell."
- Reply: Frostbite: "Re: Changing the current working directory of the parent shell."
- Reply: Andy Baxter: "Re: Changing the current working directory of the parent shell."
- Reply: David Schwartz: "Re: Changing the current working directory of the parent shell."
- Reply: Cesar A. K. Grossmann: "Re: Changing the current working directory of the parent shell."
- Reply: joe_at_invalid.address: "Re: Changing the current working directory of the parent shell."
- Reply: Josef Möllers: "Re: Changing the current working directory of the parent shell."
- Reply: Paul Colquhoun: "Re: Changing the current working directory of the parent shell."
- Reply: The Ghost In The Machine: "Re: Changing the current working directory of the parent shell."
- Reply: John: "Re: Changing the current working directory of the parent shell."
- Reply: Lew Pitcher: "Re: Changing the current working directory of the parent shell."
- Reply: james: "Re: Changing the current working directory of the parent shell."
- Reply: chrisv: "Re: Changing the current working directory of the parent shell."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 26 Jan 2004 19:40:57 -0800
If it cannot be done, than Linux blows because windows does it NO
problem. I say it can be done, how else does "cd" work? I've had 2
people on linux.misc and COLA say it is not possible. If they are right
than that is TOTALLY retarded.
I suspect the key is something like this:
pid_t parent;
parent = getppid():
But I'm not sure because I'm not a linux programmer. If anyone who is
actually knowledgeable in Linux programming can comment, please do so
otherwise my great "hm" command will be a pipe dream for Linux and exist
only on .NET and Windows.
- Next message: Wayne Throop: "Re: Mike releases the "home" command, Version #2"
- Previous message: Grant Edwards: "Re: Mike releases the "home" command, Version #2"
- Next in thread: Frostbite: "Re: Changing the current working directory of the parent shell."
- Reply: Frostbite: "Re: Changing the current working directory of the parent shell."
- Reply: Andy Baxter: "Re: Changing the current working directory of the parent shell."
- Reply: David Schwartz: "Re: Changing the current working directory of the parent shell."
- Reply: Cesar A. K. Grossmann: "Re: Changing the current working directory of the parent shell."
- Reply: joe_at_invalid.address: "Re: Changing the current working directory of the parent shell."
- Reply: Josef Möllers: "Re: Changing the current working directory of the parent shell."
- Reply: Paul Colquhoun: "Re: Changing the current working directory of the parent shell."
- Reply: The Ghost In The Machine: "Re: Changing the current working directory of the parent shell."
- Reply: John: "Re: Changing the current working directory of the parent shell."
- Reply: Lew Pitcher: "Re: Changing the current working directory of the parent shell."
- Reply: james: "Re: Changing the current working directory of the parent shell."
- Reply: chrisv: "Re: Changing the current working directory of the parent shell."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|