Mininet path

Niles Rogoff nilesrogoff at gmail.com
Fri Feb 27 04:38:17 UTC 2015


What you need to do is this instead

PATH=$PATH:/home/amer/mininet/bin/mn
export PATH

This is assuming that /home/amer/mininet/bin/mn is a directory and not a
file. Also, do not put spaces around the = sign like you did in your email
or it will not work

2015-02-26 23:05 GMT-05:00 Amer <amer7777 at hotmail.com>:

> Thank you for your message
>
> I tried this:
> PATHMN = $PATHMN:/home/amer/mininet/bin/mn
> export PATHMN
>
> I tried this command which is the main command of mininet
>
> amer$sudo mn
>
> However, it doesn't work
>
> Best regards,
> Amer
>
> > On ٢٧‏/٠٢‏/٢٠١٥, at ٣:١٠ ص, Tom H <tomh0665 at gmail.com> wrote:
> >
> >> On Thu, Feb 26, 2015 at 4:37 PM, Amer <amer7777 at hotmail.com> wrote:
> >>
> >> I would like to add mininet to the $PATH
> >> However, I have accessed the path via gedit ./bashrc
> >> But I do not know what to add there:
> >
> > It's not "~/.bashrc", it's "~/.profile".
> >
> > Add at the bottom:
> >
> > PATH="mininet_path:$PATH" (or PATH="$PATH:mininet_path" if you prefer)
> > export PATH
> >
> > --
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20150226/0102e6e4/attachment.html>


More information about the ubuntu-users mailing list