I am not able to find the equivalent header file for conio.h in Linux.
Is there any option for getch() & getche() function in Linux?
getch()
getche()
You can use the curses.h library in linux as mentioned in the other answer.
curses.h
You can install it in Ubuntu by:
sudo apt-get update sudo apt-get install ncurses-dev
sudo apt-get update
sudo apt-get install ncurses-dev
I took the installation part from here.