Weekly Notes - Server - 2 PDF

Title Weekly Notes - Server - 2
Course Python Programming
Institution City College of San Francisco
Pages 1
File Size 43.4 KB
File Type PDF
Total Downloads 77
Total Views 150

Summary

Aaron Brick...


Description

CS131A

2

Weekly notes

2017

Server

Key terms: hills ssh $ Exercise: Log into hills and send in the file /proc/dma. Reading: Kevin Heard’s UNIX Tutorial 1 through 53 Programming for this course takes place on the Linux server hills.ccsf.edu. Linux is an open source operating system developed starting in 1991 by the Finnish computer scientist Linus Torvalds. It follows traditions and contains tools established in the many versions of UNIX created since Dennis Ritchie and Ken Thompson’s primitive version of 1970. Many elements were developed starting in 1985 by Richard Stallman’s Free Software Foundation. Log into hills from any online device with an ssh (Secure Shell) client – frequently by that name. Macs and UNIX machines in general already have it installed; until Windows offers one by default, a convenient 3rd party alternative is called PuTTY.4 An example of logging into a server follows. Your password will not be shown as you are typing it. The dollar sign, $, is your bash shell command prompt in interactive sessions. [TurtleKing66@home ˜]$ ssh [email protected] The authenticity of host ’hills.ccsf.edu (147.144.1.2)’ can’t be established. RSA key fingerprint is 25:59:17:34:e5:4a:2d:d5:cd:a5:76:63:2f:6f:0c:24. Are you sure you want to continue connecting (yes/no)? yes yourname@hills’s password: [yourname@hills ˜]$

Once you log in, your command shell will start in your home directory, and you have access to all the classic UNIX tools. One easy editor you can use is nano (also known as pico in its copyrightencumbered form). Among the editors favored by professional programmers are emacs, a maximalist option, and vim, a minimalist one. To make a new directory for your coursework and enter it: [yourname@hills ˜]$ mkdir coursework [yourname@hills ˜]$ cd coursework [yourname@hills coursework]$

Next, we will address the interpreter program which will be running your programs. 3 http://people.ischool.berkeley.edu/˜kevin/unix-tutorial/toc.html 4 https://www.chiark.greenend.org.uk/˜sgtatham/putty/

Brick...


Similar Free PDFs