Unless I'm horribly mistaken, I think that the 'subl' command your talking about is just a convenient way to open ST2 from the command line, not a separate in-command-line editor like nano.
Having 'subl' just makes it quicker to open files from the command line, not inside the command line.
To get the command in linux just make a symlink from your sublime_text executable to /usr/bin/subl
ln -s sublime/install/path/sublime_text /usr/bin/subl
Restart your terminal and 'subl' will be available