Access the shell with the Terminal app

Each window in Terminal represents another instance of a shell process. Terminal presents a prompt when it’s ready to accept a command. The prompt you see depends on your Terminal and shell preferences, but it often includes the name of the host you’re logged in to, your current working folder, your user name, and a prompt symbol. For example, if a user named mariah is using the default bash shell, the prompt appears as:

server1:~ mariah$

This indicates that the user named mariah is logged in to a computer named server1, and her current folder is her home folder, indicated by the tilde (~).