🐧

Linux Adventure WorkshopTaller de Aventura Linux

Student GuideGuía del Estudiante
You don't just use Linux — you BUILD with it.No solo usás Linux — CONSTRUÍS con él.

📋 Linux Command Cheatsheet📋 Guía Rápida de Comandos Linux

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.

🧭 Moving Around🧭 Moverse por el Sistema

CommandComandoWhat It DoesQué HaceExampleEjemplo
pwdWhere am I? Shows your current folder¿Dónde estoy? Muestra tu carpeta actualpwd
lsWhat's here? Lists files and folders (blue = folders, white = files)¿Qué hay aquí? Lista archivos y carpetas (azul = carpetas, blanco = archivos)ls
ls -aShow EVERYTHING — even hidden files!Mostrar TODO — ¡incluso archivos ocultos!ls -a
cd foldernamecd carpetaGo into a folderEntrar a una carpetacd cavecd cueva
cd ..Go back one folderRegresar una carpetacd ..
cd ~Go home — back to your home folderIr a inicio — de vuelta a tu carpeta principalcd ~

📄 Working With Files📄 Trabajar con Archivos

CommandComandoWhat It DoesQué HaceExampleEjemplo
cat filenamecat archivoRead a fileLeer un archivocat clue1.txtcat pista1.txt
touch filenametouch archivoCreate a new empty fileCrear un archivo vacío nuevotouch arm.txttouch brazo.txt
mv old newmv viejo nuevoRename or move a fileRenombrar o mover un archivomv arm.txt robot-arm.txtmv brazo.txt brazo-robot.txt
cp file copycp archivo copiaCopy a fileCopiar un archivocp arm.txt backup.txtcp brazo.txt respaldo.txt
rm filenamerm archivoDelete a file (careful!)Eliminar un archivo (¡cuidado!)rm junk.txt

📁 Folders & Finding Things📁 Carpetas y Buscar Cosas

CommandComandoWhat It DoesQué HaceExampleEjemplo
mkdir namemkdir nombreCreate a new folderCrear una carpeta nuevamkdir my-robots
grep "word" filegrep "palabra" archivoSearch for a word in a fileBuscar una palabra en un archivogrep "cookie" witness.txtgrep "galleta" testigo.txt
wc -l filenamewc -l archivoCount lines in a fileContar líneas en un archivowc -l parts.txt

📝 Scripts & Other📝 Scripts y Otros

CommandComandoWhat It DoesQué HaceExampleEjemplo
nano filenamenano archivoOpen a text editorAbrir un editor de textonano hello.sh
bash filenamebash archivoRun a scriptEjecutar un scriptbash hello.sh
echo "text"echo "texto"Print text to the screenImprimir texto en la pantallaecho "Hello!"
clearClean the screenLimpiar la pantallaclear
historySee all commands you typedVer todos los comandos que escribistehistory
💡 Pro Tips: Press Tab to auto-complete names. Press ↑ arrow to repeat your last command. Type 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.
🗺️ Activity 1: Treasure HuntActividad 1: Búsqueda del Tesoro ⏱ 8 min

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.

Getting StartedPara Empezar

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
💡 Tip: Notice the colors! Names in blue are folders you can enter with 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
🗺️ Tip: The clue tells you where to go next! Read it carefully and follow the trail. 🗺️ Tip: ¡La pista te dice a dónde ir después! Leela con cuidado y seguí el camino.

Your MissionTu Misión

  1. Read the first clueLeé la primera pista
  2. Follow the clues from folder to folderSeguí las pistas de carpeta en carpeta
  3. Find the treasureEncontrá el tesoro

RulesReglas

Commands You'll NeedComandos que Vas a Necesitar

CommandComandoWhat It DoesQué Hace
lsSee what's in the current folderVer qué hay en la carpeta actual
ls -aSee EVERYTHING — even hidden files!Ver TODO — ¡incluso archivos ocultos!
cd foldernamecd carpetaGo into a folderEntrar a una carpeta
cd ..Go back one folderRegresar una carpeta
cat filenamecat archivoRead a fileLeer un archivo
pwdSee where you are right nowVer dónde estás ahora mismo
Start exploring. Read the clues. Follow the trail.
Can you find the treasure? 🏆
Empezá a explorar. Leé las pistas. Seguí el camino.
¿Podés encontrar el tesoro? 🏆
🤖 Activity 2: Robot FactoryActividad 2: Fábrica de Robots ⏱ 8 min

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.

Getting StartedPara Empezar

Go to the Robot Factory:Andá a la Fábrica de Robots:

cd ~
cd linux-adventure/robot-factorycd aventura-linux/fabrica-de-robots
ls
💡 Tip: Blue = folders — white = files. 💡 Tip: Azul = carpetas — blanco = archivos.

Check what parts are available:Revisá qué piezas hay disponibles:

ls parts-bin/ls piezas/

Challenge 1: Grab Your PartsDesafío 1: Agarrá tus 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

Challenge 2: Assemble Your RobotDesafío 2: Ensamblá tu Robot

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

Challenge 3: Name & Move to the ShowroomDesafío 3: Nombrá y Mové a la Sala de Exhibición

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! 🤖🎉

⭐ Bonus: Build a Super Robot⭐ Bonus: Construí un Super Robot

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
🎮 Activity 3: Terminal PlaygroundActividad 3: Zona de Juegos de la Terminal ⏱ 5 min

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 — Make a Cow Talk!🐄 Cowsay — ¡Hacé que una Vaca Hable!

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"

�️ Make the Cow Say Anything!🗣️ ¡Hacé que la Vaca Diga lo que Quieras!

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

�️ Figlet — GIANT Text!🖨️ Figlet — ¡Texto GIGANTE!

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]

�🚂 SL — Oops!🚂 SL — ¡Ups!

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.)

💻 CMatrix — Feel Like a Movie Hacker💻 CMatrix — Sentite Como un Hacker de Película

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. 🧠

🕐 Built-In Fun (Always Works!)🕐 Diversión Incluida (¡Siempre Funciona!)

CommandComandoWhat It DoesQué Hace
dateToday's date and timeFecha y hora actual
calShow a calendarMostrar un calendario
whoamiWho are you?¿Quién sos?
uptimeHow long the computer has been onCuánto tiempo lleva encendida la compu
echo "Hello!"Make the terminal say somethingHacer que la terminal diga algo
💡 Combine commands with the pipe | — 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
📝 Activity 4: First ScriptActividad 4: Tu Primer Script ⏱ 7 min

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.

Step 1: Go to the Script LabPaso 1: Andá al Laboratorio de Scripts

cd ~
cd linux-adventure/my-scriptscd aventura-linux/mis-scripts

Step 2: Create Your ScriptPaso 2: Creá tu Script

nano hello.sh

A text editor opens in your terminal!¡Se abre un editor de texto en tu terminal!

Step 3: Type This CodePaso 3: Escribí Este Código

📋 Copy & Paste tip: Select the code below, press Ctrl+C to copy. Then click on your terminal and press Ctrl+Shift+V to paste. (In the terminal, paste needs the extra Shift!) 📋 Tip para Copiar y Pegar: Seleccioná el código de abajo, presioná Ctrl+C para copiar. Después hacé clic en tu terminal y presioná Ctrl+Shift+V para pegar. (¡En la terminal, pegar necesita el Shift extra!)
#!/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!

Step 4: Save and Exit nanoPaso 4: Guardar y Salir de nano

ActionAcciónKeysTeclas
Save the fileGuardar el archivoCtrl + O, then pressluego presioná Enter
Exit nanoSalir de nanoCtrl + X

Step 5: Run Your Script!Paso 5: ¡Ejecutá tu Script!

bash hello.sh
🎉 YOUR SCRIPT JUST RAN!
You are officially a programmer!
🎉 ¡TU SCRIPT ACABA DE EJECUTARSE!
¡Oficialmente sos programador!

⭐ Bonus: Make It Interactive⭐ Extra: Hacelo Interactivo

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!

🔍 Bonus: Command DetectiveExtra: Detective de Comandos ⏱ Extra

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.

Getting StartedPara Empezar

cd ~
cd linux-adventure/detectivecd aventura-linux/detective
cat case-file.txtcat caso.txt

InvestigateInvestigar

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

Use grep — Your Secret WeaponUsá grep — Tu Arma Secreta

Instead 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" .

Solve the Case!¡Resolvé el Caso!

  1. Who was in the kitchen?¿Quién estaba en la cocina?
  2. Who likes cookies?¿A quién le gustan las galletas?
  3. Who had chocolate on their shirt?¿Quién tenía chocolate en su camisa?
  4. Who stole the cookie?¿Quién robó la 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!
🐧
Linux is not just used.
Linux is controlled.
Linux is built with.
Linux no solo se usa.
Linux se controla.
Con Linux se construye.

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.

Linux Adventure Workshop • WSL Ubuntu