If you're working with Python scripts or with Jupyter Notebooks, you'll have to do some work with the command line. While this retro-looking interface make seem scary at first, hoepfully this short guide will help you become more comfortable with it.
cd {path or folder name}- Change current position to specified path or foldercd ..- Go up a directory (E.g.~/Documents/Projects->~/Documents/)ls- List visible components in a directory (files and folders)ls -aList all components in a directory (including hidden files)
-
cp {file-to-copy} {new-file-name}- Crates a copy offile-to-copynamednew-file-name -
mv {file} {new-location}- Movesfileto new location,new-location -
mkdir {directory}- Creates a folder nameddirectory -
touch {file}- Creates a blank file namedfile -
rm {file}- Deletesfile(skips the trash) -
rm -r {folder}- Removesfolder, requires confirmation for each file within it -
rm -rf {folder}- Removesfolder, but skips confirmation for each file within it -
rmdir {folder}- Removesfolderonly if empty