Keep this page open! These are all the commands you need today.¡Mantené esta página abierta! Estos son todos los comandos que necesitás hoy.
| CommandComando | What It DoesQué Hace | ExampleEjemplo |
|---|---|---|
pwd | Where am I? Shows your current folder¿Dónde estoy? Muestra tu carpeta actual | pwd |
ls | What's here? Lists files and folders (blue = folders, white = files)¿Qué hay aquí? Lista archivos y carpetas (azul = carpetas, blanco = archivos) | ls |
ls -a | Show EVERYTHING — even hidden files!Mostrar TODO — ¡incluso archivos ocultos! | ls -a |
cd foldernamecd carpeta | Go into a folderEntrar a una carpeta | cd cavecd cueva |
cd .. | Go back one folderRegresar una carpeta | cd .. |
cd ~ | Go home — back to your home folderIr a inicio — de vuelta a tu carpeta principal | cd ~ |
| CommandComando | What It DoesQué Hace | ExampleEjemplo |
|---|---|---|
cat filenamecat archivo | Read a fileLeer un archivo | cat clue1.txtcat pista1.txt |
touch filenametouch archivo | Create a new empty fileCrear un archivo vacío nuevo | touch arm.txttouch brazo.txt |
mv old newmv viejo nuevo | Rename or move a fileRenombrar o mover un archivo | mv arm.txt robot-arm.txtmv brazo.txt brazo-robot.txt |
cp file copycp archivo copia | Copy a fileCopiar un archivo | cp arm.txt backup.txtcp brazo.txt respaldo.txt |
rm filenamerm archivo | Delete a file (careful!)Eliminar un archivo (¡cuidado!) | rm junk.txt |
| CommandComando | What It DoesQué Hace | ExampleEjemplo |
|---|---|---|
mkdir namemkdir nombre | Create a new folderCrear una carpeta nueva | mkdir my-robots |
grep "word" filegrep "palabra" archivo | Search for a word in a fileBuscar una palabra en un archivo | grep "cookie" witness.txtgrep "galleta" testigo.txt |
wc -l filenamewc -l archivo | Count lines in a fileContar líneas en un archivo | wc -l parts.txt |
| CommandComando | What It DoesQué Hace | ExampleEjemplo |
|---|---|---|
nano filenamenano archivo | Open a text editorAbrir un editor de texto | nano hello.sh |
bash filenamebash archivo | Run a scriptEjecutar un script | bash hello.sh |
echo "text"echo "texto" | Print text to the screenImprimir texto en la pantalla | echo "Hello!" |
clear | Clean the screenLimpiar la pantalla | clear |
history | See all commands you typedVer todos los comandos que escribiste | history |
cd ~ if you ever get lost.
💡 Tips Pro: Presioná Tab para autocompletar nombres. Presioná ↑ flecha arriba para repetir tu último comando. Escribí cd ~ si te perdés.
You are an explorer. You've arrived at a mysterious island. Somewhere here, a treasure is hidden. Your only tool? The terminal.Sos un explorador. Llegaste a una isla misteriosa. En algún lugar hay un tesoro escondido. ¿Tu única herramienta? La terminal.
Nobody is going to tell you where the treasure is. You have to find it yourself.Nadie te va a decir dónde está el tesoro. Tenés que encontrarlo vos mismo.
Open your terminal and go to the treasure hunt:Abrí tu terminal y andá a la búsqueda del tesoro:
cd ~
cd linux-adventure/treasure-huntcd aventura-linux/busqueda-del-tesoro
Now look around. What do you see?Ahora mirá alrededor. ¿Qué ves?
ls
cd. Names in white are files you can read with cat.
💡 Tip: ¡Fijate en los colores! Los nombres en azul son carpetas donde podés entrar con cd. Los nombres en blanco son archivos que podés leer con cat.
Your adventure begins with start-here.txt. Read it:Tu aventura empieza con empieza-aqui.txt. Leelo:
cat start-here.txtcat empieza-aqui.txt
Hmm, a welcome message! But where should you go first? Look around with ls — do you see a mysterious cave? 🕳️ Let's explore it!Hmm, ¡un mensaje de bienvenida! ¿Pero a dónde ir primero? Mirá alrededor con ls — ¿ves una misteriosa cueva? 🕳️ ¡Vamos a explorarla!
cd cavecd cueva
ls
cat clue1.txtcat pista1.txt
pwd to see where you areSi te perdés, escribí pwd para ver dónde estáscd ..Para regresar, escribí cd ..| CommandComando | What It DoesQué Hace |
|---|---|
ls | See what's in the current folderVer qué hay en la carpeta actual |
ls -a | See EVERYTHING — even hidden files!Ver TODO — ¡incluso archivos ocultos! |
cd foldernamecd carpeta | Go into a folderEntrar a una carpeta |
cd .. | Go back one folderRegresar una carpeta |
cat filenamecat archivo | Read a fileLeer un archivo |
pwd | See where you are right nowVer dónde estás ahora mismo |
Welcome to the Robot Factory! Your job: build a robot from parts. You'll grab parts from the parts bin, copy them to the assembly line, join them into one robot file, and show it off in the showroom.¡Bienvenido a la Fábrica de Robots! Tu trabajo: construir un robot con piezas. Vas a agarrar piezas del depósito, copiarlas a la línea de ensamblaje, unirlas en un solo archivo robot y exhibirlo en la sala de exhibición.
Go to the Robot Factory:Andá a la Fábrica de Robots:
cd ~
cd linux-adventure/robot-factorycd aventura-linux/fabrica-de-robots
ls
Check what parts are available:Revisá qué piezas hay disponibles:
ls parts-bin/ls piezas/
Copy parts from the parts bin to the assembly line:Copiá piezas del depósito a la línea de ensamblaje:
cp parts-bin/brain.txt assembly-line/brain.txtcp piezas/cerebro.txt linea-de-ensamblaje/cerebro.txt
cp parts-bin/battery.txt assembly-line/body.txtcp piezas/bateria.txt linea-de-ensamblaje/cuerpo.txt
cp parts-bin/arm.txt assembly-line/left-arm.txtcp piezas/brazo.txt linea-de-ensamblaje/brazo-izq.txt
cp parts-bin/arm.txt assembly-line/right-arm.txtcp piezas/brazo.txt linea-de-ensamblaje/brazo-der.txt
cp parts-bin/leg.txt assembly-line/left-leg.txtcp piezas/pierna.txt linea-de-ensamblaje/pierna-izq.txt
cp parts-bin/leg.txt assembly-line/right-leg.txtcp piezas/pierna.txt linea-de-ensamblaje/pierna-der.txt
Wait — we have a brain but no head to put it in! Let's create one:¡Esperá — tenemos un cerebro pero no hay cabeza donde ponerlo! Creemos una:
echo "🤖 A shiny robot head" > assembly-line/head.txtecho "🤖 Una cabeza de robot brillante" > linea-de-ensamblaje/cabeza.txt
Check your work and count the parts:Revisá tu trabajo y contá las piezas:
ls assembly-line/ls linea-de-ensamblaje/
ls assembly-line/ | wc -lls linea-de-ensamblaje/ | wc -l
Go into the assembly line and join all the parts into one robot file:Entrá a la línea de ensamblaje y uní todas las piezas en un solo archivo robot:
cd assembly-linecd linea-de-ensamblaje
cat head.txt brain.txt body.txt left-arm.txt right-arm.txt left-leg.txt right-leg.txt > my-robot.txtcat cabeza.txt cerebro.txt cuerpo.txt brazo-izq.txt brazo-der.txt pierna-izq.txt pierna-der.txt > mi-robot.txt
See your assembled robot:Mirá tu robot ensamblado:
cat my-robot.txtcat mi-robot.txt
Give your robot a cool name and move it to the showroom:Dale a tu robot un nombre genial y movelo a la sala de exhibición:
mv my-robot.txt super-bot-3000.txtmv mi-robot.txt super-bot-3000.txt
mv super-bot-3000.txt ../showroom/mv super-bot-3000.txt ../sala-de-exhibicion/
cd ../showroomcd ../sala-de-exhibicion
cat super-bot-3000.txtcat super-bot-3000.txt
Your robot is on display! 🤖🎉¡Tu robot está en exhibición! 🤖🎉
Add eyes and build a new, even more powerful robot!¡Agregá ojos y construí un robot nuevo y más poderoso!
cp parts-bin/eye.txt assembly-line/left-eye.txtcp piezas/ojo.txt linea-de-ensamblaje/ojo-izq.txt
cp parts-bin/eye.txt assembly-line/right-eye.txtcp piezas/ojo.txt linea-de-ensamblaje/ojo-der.txt
cd assembly-linecd linea-de-ensamblaje
cat head.txt brain.txt body.txt left-arm.txt right-arm.txt left-leg.txt right-leg.txt left-eye.txt right-eye.txt > thunderbot-9000.txtcat cabeza.txt cerebro.txt cuerpo.txt brazo-izq.txt brazo-der.txt pierna-izq.txt pierna-der.txt ojo-izq.txt ojo-der.txt > thunderbot-9000.txt
cat thunderbot-9000.txtcat thunderbot-9000.txt
The terminal isn't just for work — it can be FUN!La terminal no es solo para trabajar — ¡puede ser DIVERTIDA!
cd ~
cd linux-adventure/playgroundcd aventura-linux/area-de-juego
cowsay "I love Linux!"
cowsay "Hello World"
Want a different animal?¿Querés un animal diferente?
cowsay -f dragon "I breathe fire"
cowsay -f tux "I am the Linux penguin"
Use the pipe | to send your words to the cow:Usá el pipe | para mandarle tus palabras a la vaca:
echo "I love Linux" | cowsay
echo "Penguins rule the world" | cowsay -f tux
Make your name appear in huge letters:Hacé que tu nombre aparezca en letras enormes:
figlet HELLO
figlet Linux Rules
Try it with your name! figlet [YOUR NAME]¡Probalo con tu nombre! figlet [TU NOMBRE]
Ever type sl instead of ls by accident?¿Alguna vez escribiste sl en vez de ls por accidente?
sl
Watch what happens! 🚂 (Just wait — it goes away on its own.)¡Mirá lo que pasa! 🚂 (Solo esperá — se va solito.)
In movies, when someone is "hacking a computer," green code rains down the screen. This is that! 😎 (It's just for fun — it doesn't actually do anything.)En las películas, cuando alguien está "hackeando una computadora," código verde llueve por la pantalla. ¡Esto es eso! 😎 (Es solo por diversión — en realidad no hace nada.)
cmatrix
Press q to quit. Show your friends and look like a genius. 🧠Presioná q para salir. Mostráselo a tus amigos y parecé un genio. 🧠
| CommandComando | What It DoesQué Hace |
|---|---|
date | Today's date and timeFecha y hora actual |
cal | Show a calendarMostrar un calendario |
whoami | Who are you?¿Quién sos? |
uptime | How long the computer has been onCuánto tiempo lleva encendida la compu |
echo "Hello!" | Make the terminal say somethingHacer que la terminal diga algo |
| — it sends the output of one command into the next!echo "I am awesome" | cowsay or echo "Penguins rule" | cowsay -f tux
💡 Combiná comandos con el pipe | — ¡envía la salida de un comando al siguiente!echo "I am awesome" | cowsay o echo "Penguins rule" | cowsay -f tux
A script is a file that tells the computer what to do, step by step. When you write a script, you are programming.Un script es un archivo que le dice a la computadora qué hacer, paso a paso. Cuando escribís un script, estás programando.
cd ~
cd linux-adventure/my-scriptscd aventura-linux/mis-scripts
nano hello.sh
A text editor opens in your terminal!¡Se abre un editor de texto en tu terminal!
#!/bin/bash
echo "Hello! I am a Linux script!"
echo "Made by: [YOUR NAME]"
echo ""
echo "Today is:"
date
echo ""
echo "You are logged in as:"
whoami
echo ""
echo "🐧 Script complete!"
#!/bin/bash
echo "¡Hola! ¡Soy un script de Linux!"
echo "Hecho por: [TU NOMBRE]"
echo ""
echo "Hoy es:"
date
echo ""
echo "Estás conectado como:"
whoami
echo ""
echo "🐧 ¡Script completo!"
Replace [YOUR NAME] with your real name!¡Reemplazá [TU NOMBRE] con tu nombre real!
| ActionAcción | KeysTeclas |
|---|---|
| Save the fileGuardar el archivo | Ctrl + O, then pressluego presioná Enter |
| Exit nanoSalir de nano | Ctrl + X |
bash hello.sh
Open your script again (nano hello.sh) and add these lines at the end:Abrí tu script de nuevo (nano hello.sh) y agregá estas líneas al final:
echo "What is your name?"
read name
echo "Hello, $name! Welcome to Linux!"
echo "¿Cómo te llamás?"
read name
echo "¡Hola, $name! ¡Bienvenido a Linux!"
Save, exit, and run with bash hello.sh.Guardá, salí y ejecutá con bash hello.sh.
The read command waits for you to type something!¡El comando read espera a que escribás algo!
Someone stole the last cookie from the jar. There are witnesses and suspects. Your job: search through the evidence and figure out who did it.Alguien robó la última galleta del frasco. Hay testigos y sospechosos. Tu trabajo: buscar entre la evidencia y descubrir quién fue.
cd ~
cd linux-adventure/detectivecd aventura-linux/detective
cat case-file.txtcat caso.txt
Read witness statements and suspect files:Leé las declaraciones de los testigos y los archivos de sospechosos:
cat evidence/witness1.txtcat evidencia/testigo1.txt
cat evidence/witness2.txtcat evidencia/testigo2.txt
cat suspects/alex.txtcat sospechosos/alex.txt
cat suspects/sam.txtcat sospechosos/sam.txt
grep — Your Secret WeaponUsá grep — Tu Arma SecretaInstead of reading every file, search for clues!En vez de leer cada archivo, ¡buscá pistas!
grep "cookies" suspects/*grep "galletas" sospechosos/*
grep "kitchen" suspects/*grep "cocina" sospechosos/*
grep "chocolate" evidence/*grep "chocolate" evidencia/*
grep -r "cookie" .grep -r "galleta" .
grep is one of the most powerful commands in Linux. Real engineers and security analysts use it every day!
💡 grep es uno de los comandos más poderosos de Linux. ¡Ingenieros y analistas de seguridad reales lo usan todos los días!
Commands you learned today:Comandos que aprendiste hoy:
pwd ls cd cat touch
mv cp mkdir grep nano
bash echo clear
The terminal is not scary. It's your superpower. 💪La terminal no da miedo. Es tu superpoder. 💪
Every expert was once a beginner. Keep building.Todo experto fue alguna vez principiante. Seguí construyendo.