The syntax is right and i don't know why it didn't work,anyone can help?
What OS are you using, if its kali2.0, msfcli has been removed
Yes,i'm using kali2.0
In kali2.0, OffSec decided to remove Metasploit Community/Pro, thus removing msfcli. So now you can view metasploit commands with msf then TAB twice to see the working commands.
Perhaps for interest check this for more info
Thank you.I will download it.