Command line

  • navigating directories
  • creating directories
  • creating / editing files
  • copying / moving files and directories
  • running Python programs
  • compiling and running Java programs

hello.py

print("Hello, world!")

Run the program in your terminal:

$ python hello.py
Hello, world!

Hello.java

public class Hello
{
    public static void main(String[] args)
    {
        System.out.println("Hello, world!");
    }
}

In terminal:

$ javac Hello.java      # compile
$ java Hello            # run
Hello, world!

Counting in binary

  • binary
  • hexadecimal
  • octal

Assignment

notes

pdf