This program is designed to help people of all backgrounds and levels of experience to become become expert level programmers and field specialists. This is the beginning of the program where we setup our systems, learn a bit about terminals, and write our first few starter programs.
Below are some of the commands we will be using throught the course and a brief explanation of them. The Custom Command section shows commands that we will be setting up in our IDEs (interactive-development environments).
Follow along with your video or lecture notes to get started!
###Bash Commands
cd: Changes current directory to specified directory.
ls -lah: Displays the files/folders in current directory.
rm -rf: Removes specified file/folder.
mv: Moves or renames specified file/folder.
cat: Creates a new file or displays its contents.
echo: Append variable to a file or displays its contents.
sudo: Run other commands as administrator or other user.
wget: Downloads a file from the web.
clear: Clears console.
java: Calls the java runtime environment.
java -jar: Calls the jar runtime.
javac: Calls the java development environment.
jirb: Calls the java interactive ruby bash/console.
jruby: Calls the jruby runtime environment.
jrubyc --java: Calls the ruby-to-java build environment.
jrubyc --javac: Calls the jruby development environment.
###Custom Commands #####setProject echo "project_path="${current.project.path}"" >> ~/.bashrc && echo "project="${current.project.relpath}"" >> ~/.bashrc #####runProject jruby $project_path/src/main.rb #####testProject jruby $project_path/test/run.rb #####buildProject jrubyc --java $project_path/src/$project.rb #####compileProject jrubyc --javac $project_path/src/$project.rb