A Bash interpreter or command-line processor uses a command-line interface to receive commands from a user in the form of lines of text. Operating systems implement a command-line interface in a shell for interactive access to operating system functions or services.