Week 3 In-Class Examples
#include <iostream>
using namespace std;

//-------------------------------
// Programmer: Scott Marino
// Homework #1
// 2/2/05
// The "hello world" program
//-------------------------------
int main (void) {

   cout << "Hello there\n";
   cout << "It's a nice day!\n";

   return 0;

}


Basic commands:


ls -rtl List the contents of a directoy
mv Rename a file
cp Copy a file
rm Remove a file
passwd Change password
pico file.cpp Edit a file with pico editor
g++ -oprogram program.cpp Compile program.cpp making an executable named program
program Typing the name of the exectuable program, executes it