CS61A Learning Notes

Some Command Lines

  • ls lists all the files and folders in the current directory
  • cd <path to directory> change directories
    • cd … return to the parent directory
    • cd ~ to the home directory
    • cd just type cd is the shortcut of cd ~
  • mkdir <directory name> makes new directories
  • mv <source path>> <destination path> move the file at the given source to the given destination