Issue
Currently working with the linphone-android integration. I have installed some packages during installation of Cygwin.
When I try some of the commands like ls
, rm
, cd
, wget
, tar
and etc.. are working fine. But few commands like shell
, clean
are not working. It gives error command not found.
So, my question is,
Is there any way to get list of working commands for Cygwin?
Is there any way to install packages for these commands rather than installing them manually?
Solution
In my opinion the most elegant solution is to use the compgen command:
compgen -c
lists all the available commands
compgen -a
lists all the available aliases
You can also try a more brute approach:
Get all the paths from cygwin using echo $PATH
and then for each folder execute ls -h <folder_name>
Answered By - Viorel Mirea
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.