2024-01-25
Using the File Browser

Using the terminal

ls to list the contents of a directory.tree to list the hierarchical structure of the directorycd.lsls lists the contents of the pwd
treetree lists the directory structure/tree of the pwd
/home directoryclear will clear the terminalhistoryTo recall what you have done, use history
After using history you can rerun a command without having to retype it:

Another efficiency feature is tab completion:

cd change directorycd shortcutscd .. moves up one directory to the parent of the current directorycd will move you back to your homemkdir.rmdir and rm -r to remove directories.mkdir
touch.cd handson
touch data.txt
You can also create a file in the current directory by selecting the + in the toolbar and selecting Markdown File
Figure 6: File Browser
You can also create a file in the current directory by selecting the + in the toolbar and selecting Markdown File
Figure 7: README.md
cp data.txt data.txt.bak
rm data.txt
Let’s restore our backup
notesfiles.ipynbfiles.ipynb to structure your notes with headingsYou will use this notebook to take notes on the remaining exercises.
Using the File Browser, delete your handson directory and the files living in there
Using a terminal:
handson in your home directoryREADME.mdREADME.md fileREADME.md file.Using a terminal:
week_2 inside your handson directoryREADME.md file into the week_2 directory.Using a terminal
temp in the week_2 directory.temp directory called data.txttemp in the week_2 directory