I/O and alias question

Sorry if this should be in the shell scripting area, it seemed too foolish to be answered there
--------------------------------
In my .bash_profile i added:

alias "sudo su"='bash hard link with bash script at end'

It didn't work was a result, what is the quotation problem?

------

also I'm trying to take user input, and use it as input for a command.

any help would be great

I'm not sure if you can do "string1 string2" as alias.
Run "alias" only and see if it's accepted.

I'd say that it's because alias is designed for 1 word shortcuts.

as soon as your shell sees "sudo" then a space, it will pass the rest of the parameters to sudo, resulting in you getting a regular "sudo su" and will completely ignore your alias.

you should do something like:

sudo ss='your command'