Skip to content

Instantly share code, notes, and snippets.

@scottfrazer
Created March 26, 2011 03:34
Show Gist options
  • Save scottfrazer/888000 to your computer and use it in GitHub Desktop.
Save scottfrazer/888000 to your computer and use it in GitHub Desktop.
This is your quiz, Chris!
-----------------------
-- Chris's Unix Quiz --
-----------------------
0) Install the GNU wget utility with homebrew. The
homebrew executable is called 'brew' and it's in your
path.
1) The source code for Python 3.2 is located at:
http://www.python.org/ftp/python/3.2/Python-3.2.tar.bz2
Only use the command line to download, configure, and
install it to ~/bin and put Python 3.2 in yo2
HINTS:
a) use 'wget' to download the source.
b) Use 'tar' to unarchive. tar needs the -j option
to unarchive bz2 files.
c) The basic command to configure a source package in
UNIX is running ./configure in the project root
directory. You might have to add a few command
line options to configure your installation.
d) Use the 'make' command to compile
e) To install the binaries, use 'make install'
2) Make your Bash prompt display the current time.
Remember, if you modify ~/.bash_profile, you have to
execute it before it takes effect.
HINT: Look here for useful information about BASH
prompt formatting:
http://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html
3) The directory where this file is located is also a git
repository. Create a branch on this repository called
'chris' and on that branch, modify this file to change
the following line by filling in the blanks:
It's ______, ______, gotta get down on ______.
Then, commit that change to the 'chris' branch.
HINT: the only two programs you need to use are git
and vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment