How to get back to the command prompt after using a command in linux terminal program

Asked by Akua Asamoah

Today I practiced using linux terminal commands. I noticed that after typing some commands, I was not brought back to the command prompts or the ~$ sign prompt. On my terminal, it looks like this
myname@myname-desktop. I am using an ubuntu system on a virtual pc for windows.

I tried using the following command -- tail -f. It showed text I wrote on another file. When I was done using this command, I could not get the $sign prompt to return to my screen. HOw do i get back to this prompt after using a command like this without having to shut down the terminal program, which is what I've been doing, and restart it again.

Thank You.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
Adi Nugroho
Solved:
Last query:
Last reply:
Revision history for this message
Best Adi Nugroho (adi88nugroho) said :
#1

try
Ctrl+C

Revision history for this message
Akua Asamoah (aquiah23) said :
#2

Thanks Adi Nugroho, that solved my question.