Right now, you do all your computations on your own computer or on EGR's JupyterHub. In the future, you might:
These kinds of production systems typically make use of a client-server relationship.
CLI is used to access ICER resources.
command -f variable(s)
- The command
is the main action you are attempting. The flag (-f
) is a modifier that slightly changes the action. The variable(s)
is/are passed to the action.ls
- lists the contents of a directory (ls -a
modifies the command to list all files including hidden ones).pwd
- prints the working directory to screen (shows where you are)cd <directory>
- changes the working directory (moves you to a different location)mkdir <new_directory>
- creates a new directory (must have name that doesn't yet exist in the working directory)touch <new_file>
- creates a new blank file (again, must have a name that doesn't yet exist)cp <file> <new_file>
- copies a file to a new file (will overwrite <new_file>
with telling you)cp -r <directory> <new_directory>
- the -r
flag means recursive; copies full contents of a directoryvim
and nano
?¶To make edits to the kinds of files used in data science, we need plain text editors. MS Word, Google Docs, and the like make binary files; they contain additional metadata and markup for origin, formatting, et cetera.
vim
and nano
are the most commonly available CLI plain text editors.
There are a number of text editors that make use of a GUI, which might be more comfortable right now.
Some of these can be set up as programming environments. For example, Danny uses Atom almost exclusively.