Goals
-
Reminder of the most common commands to manage files and move around in the filesystem (
pwd,ls,cd,cp,mkdir,mv,rm,rmdir,find) -
Highlight on process management commands (
ps,top,kill) -
Input/Output redirections
Exercises
For the purpose of all the exercises of this class, hints on which commands to use are given in parentheses at the end of each questions.
Everything in this exercise is doable from the command line only. Resist the temptation to use your graphical web browser to download the archive!
-
Download the archive (
curlorwget)$> curl -u cps22023:cps22023 -O https://ci.mines-stetienne.fr/cps2/course/cls/assets/data/cld.tgzor
$> wget --user cps22023 --password cps22023 https://ci.mines-stetienne.fr/cps2/course/cls/assets/data/cld.tgz
Exercises
-
Expand this archive in your home directory (
tar)$> tar zxf cld.tgz➠ This command will create the
CLDungeondirectory into your homedir. -
Make
CLDungeonthe current directory (cd) -
Execute the
start.shscript, read and find your way out!$> ./start.sh