Originally Posted by arashi256
Are you logged in as root from the Windows PC in the first instance? Because the root PATH is not necessarily the same for whomever you're logged in as in the first part of your post.
the problem was solved by editing .bashrc file.
i added the following line :