on HPC

Documentation
Important Notes

Interactive job
Interactive jobs should be used for debugging, graphics, or applications that cannot be run as batch jobs.

Allocate an interactive session and run the program. Sample session:

$ module load ripgrep
$ echo "my\nmultiline\nfile" > test.txt
$ rg line test.txt
1:my\nmultiline\nfile