I found that in the readline , it's possible to execute system commands using ! .
!
For example: ! whoami
Is it possible to implement similar functionality in the console?