This uses C# and Natural Language Processing to use natural language to issue a subset of shell commands.
https://github.com/Geekiac/Command-Shell-Using-NLP-and-CSharp/blob/master/IMAT5118-AIProgramming-Assignment2.pdf will give you an overview of the project.
For the Prolog equivalent please see: https://github.com/Geekiac/Command-Shell-Using-NLP-and-Prolog