How would I execute python dictionary key/values as commands in a linux kernel? For example:
keys = {
"echo" : "hello",
"touch" : "nothing"
}
and I wanted to run the first key/value pair to run in the shell "echo hello".
I've tried using the json
module, but don't know where to go from there.