[IPython-user] Arbitrary shell command execution

Fernando Perez fperez.net@gmail....
Wed Jul 16 01:22:42 CDT 2008


On Tue, Jul 15, 2008 at 4:16 PM, Gosu Carpenter <gosucarpenter@gmail.com> wrote:
> I know ipython has several versions of basic shell commands - ls, cd, cp,
> mkdir, etc, but is there a way to run *any* command that is valid in your
> shell, including programs?

You can also type %rehashx which does:

Definition:     %rehashx(self, parameter_s='')
Docstring:
    Update the alias table with all executable files in $PATH.

Type %rehashx? for full details.

Cheers,

f


More information about the IPython-user mailing list