Terminal - Linux Primer¶
Terminal¶
- Elf: Sugarplum Mary
- Location: Courtyard
- Related to Objective: 3
The goal of this terminal challenge is to teach you the basics of Linux. It gets you to do things like ls, cat, etc... If you run into a challenge at any point, type hintme() for hints.
Answer¶
Here are the answers to this terminal challenge(in order):
ls
cat munchkin_19315479765589239
rm munchkin_19315479765589239
pwd
ls -la
history
printenv
cd workshop
grep -iF "munchkin" *
chmod 755 lollipop_engine
lollipop_engine
cd electrical
mv blown_fuse0 fuse0
ln -s fuse0 fuse1
cp fuse1 fuse2
echo MUNCHKIN_REPELLENT >> fuse2
find /opt/munchkin_den/ -iname '*munchkin*'
find /opt/munchkin_den/ -group munchkin
find /opt/munchkin_den/ -size +108K -size -110K
netstat -tulpn | grep LISTEN
curl localhost:54321
ps -a ;(to find the process 14516_munchkin)
kill <pid of 14516_munchkin>
Once you solve it, Sugarplum Mary tells you this: