<div dir="ltr">What you need to do is this instead<div><br></div><div>PATH=$PATH:/home/amer/mininet/bin/mn</div><div>export PATH</div><div><br></div><div>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</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-26 23:05 GMT-05:00 Amer <span dir="ltr"><<a href="mailto:amer7777@hotmail.com" target="_blank">amer7777@hotmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you for your message<br>
<br>
I tried this:<br>
PATHMN = $PATHMN:/home/amer/mininet/bin/mn<br>
export PATHMN<br>
<br>
I tried this command which is the main command of mininet<br>
<br>
amer$sudo mn<br>
<br>
However, it doesn't work<br>
<br>
Best regards,<br>
Amer<br>
<br>
> On ٢٧‏/٠٢‏/٢٠١٥, at ٣:١٠ ص, Tom H <<a href="mailto:tomh0665@gmail.com">tomh0665@gmail.com</a>> wrote:<br>
><br>
>> On Thu, Feb 26, 2015 at 4:37 PM, Amer <<a href="mailto:amer7777@hotmail.com">amer7777@hotmail.com</a>> wrote:<br>
>><br>
>> I would like to add mininet to the $PATH<br>
>> However, I have accessed the path via gedit ./bashrc<br>
>> But I do not know what to add there:<br>
><br>
> It's not "~/.bashrc", it's "~/.profile".<br>
><br>
> Add at the bottom:<br>
><br>
> PATH="mininet_path:$PATH" (or PATH="$PATH:mininet_path" if you prefer)<br>
> export PATH<br>
<span class="HOEnZb"><font color="#888888">><br>
> --<br>
> ubuntu-users mailing list<br>
> <a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
> Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
><br>
<br>
--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</font></span></blockquote></div><br></div>