Looks like a bad sdcard or unstable overclock. What 'single commands' mean - running a game or actually starting a program ?
Please add more details about your setup, as asked in https://retropie.org.uk/forum/topic/3/read-this-first.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.