- be using unix
- get this repo with
git clone https://github.com/CBSkarmory/cmd_utils.git
orgit clone git@github.com:CBSkarmory/cmd_utils.git
(for https and ssh respectively) - add it to your PATH. (You can add
export PATH=$PATH:<directory name here>
to your~/.profile
file and usesource ~/.profile
to set it up immediately.) Make sure to add a blank line at the end of~/.profile
. - compile the files you want. Generally, use
<compiler> <file name>
:javac
for Java, andgcc
for C. - alternatively, use
make
. - set up aliases to run programs faster. For example, you can alias
avg
tojava Average
. - use
chmod u+x <PROGRAM_NAME>
for python scripts to run directly
Prorgam | usage |
---|---|
average calculator | java Average |
password generator | python3 pwdgen.py |