Inject thru shell? Is this you way of causing chaos?
#!/bin/bash
#This is a comment
#defining a variable
echo "What is the name of the directory you want to create?"
#reading input
read NAME
#defining a variable
echo "Creating $NAME …"
mkcd ()
{
mkdir "$NAME"
cd "$NAME"
}
mkcd
echo "You are now in $NAME"
-
There's always a hint left of fragrance of mischief. Find it or it's done on purpose.