Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get a REPL in bash?

Tags:

bash

I am learning bash and would think it would make things easier if i didnt have to keep saving a file, switching terminals and then executing that file. Is there a REPL in bash, sort of like irb for Ruby?

like image 773
Kamilski81 Avatar asked Apr 09 '26 07:04

Kamilski81


1 Answers

Make sure your login shell is bash. Open a terminal window. There, you have a bash REPL.

If your login shell is something else, open a terminal window and type bash.

like image 152
n. 1.8e9-where's-my-share m. Avatar answered Apr 11 '26 22:04

n. 1.8e9-where's-my-share m.



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!