INTRO O
PROBLEM SOLVING AND
PROGRAMMING IN PYTHON
(use the Space key to navigate through all slides)

Prof. Andrea Gallegati |
Prof. Dario Abbondanza |

CIS 1051 - COMMAND LINE

Today, you will learn how to:
Navigate through directories
Create and delete files
Search for files in directories
Executing programs
and many more...
In a completely new way!
Using a powerful tool you have never seen before
The command line

To recap
- ls is used to list files and directories under the current dir
- mkdir is used to create new directories
- rm is used to remove files (-r to remove directories) use with cautions!
- cd to navigate through directories
- touch creates new files
- cp copies files from one location to another
- mv to move or rename files or directories
- find is used to search for files and directories under a specified location
- cat concatenates on the display the content of files
A small treasure hunt
- Find the file named "the_hunt_begins.txt" located inside your codespace
- read the content of the file on the terminal display (use the appropriate command)
- follow the indications to locate the hidden treasure
- once you located the hidden treasure, display its content
- finally, make the hidden treasure visible
- copy the treasure to you home directory!
using only the command line!
ONE LAST REMARK
Turn on the dark theme! Please do.

This was crafted with
A Framework created by Hakim El Hattab and contributors
to make stunning HTML presentations
INTRO O PROBLEM SOLVING AND PROGRAMMING IN PYTHON (use the Space key to navigate through all slides)
bash-cli
By Andrea Gallegati
bash-cli
- 41