El shell y el prompt
The prompt
- When the terminal is ready, it shows a prompt and waits:
student@linux:~$
- That tells you who you are (
student), the computer (linux), and the folder you are in (~, your home). - You type a command after the
$, press Enter, and the computer runs it.

Where am I?
- The command
pwdprints your current folder — your "you are here" on the map:
pwd
- Press the ▶ on that example to try it. (
~is short for your home folder,/home/student.)
Make the computer talk
echosimply prints back what you type. It is the classic first command:
echo Hello from the shell
- Run it, then try the two tasks below.
Common mistakes
- Commands are case-sensitive:
LSis notls. - Press Enter to submit a command; you can also put multiple commands on one line, separated by
;.
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
El indicador de comando está esperando una orden. Escribe pwd (print working directory) para ver en qué carpeta te encuentras, luego haz clic en Run.
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
echo muestra de vuelta lo que le proporciones. Úsalo para imprimir la palabra hello.
Dificultad 1/5 · 100 monedas + un pequeño bono en el primer intento de hoy
El shell divide una línea sin comillas en palabras, por lo que echo recibe my y gap y los une con un espacio. Pon el texto entre comillas dobles para mantenerlo como una sola palabra: imprime my gap con los tres espacios, usando echo "my gap".