New User Orientation - PowerPoint PPT Presentation

1 / 19
About This Presentation
Title:

New User Orientation

Description:

... Brindamour, MTA Tech 08-09, parts stolen from Colin Gordon, MTA Tech 07-08, ... MTA Tech 06-07, who no doubt stole from Michael Shim, MTA Tech 05-06, and so on... – PowerPoint PPT presentation

Number of Views:55
Avg rating:3.0/5.0
Slides: 20
Provided by: davidp105
Category:
Tags: new | orientation | stole | user

less

Transcript and Presenter's Notes

Title: New User Orientation


1
New User Orientation
  • What's with the sunlab?
  • Fall, 2009
  • Consultants
  • (mostly lifted from Robert Mustacchi MTA Tech
    09-10, Andrew Brindamour, MTA Tech 08-09, parts
    stolen from Colin Gordon, MTA Tech 07-08, whose
    presentation shamlelessy built upon the work of
    Dave Pacheco, MTA Tech 06-07, who no doubt stole
    from Michael Shim, MTA Tech 05-06, and so on...)

2
Summary
  • Getting started
  • Filesystem
  • Using shell commands
  • File permissions
  • Miscellaneous

3
Getting started
  • Consultant Introduction
  • What's my name?
  • Why am I here?
  • Where can you find me?
  • Ok, getting started for real...

4
Getting started
  • Open your envelope and log in with your
    credentials
  • Follow the script to set up your passwords
  • There's an option to get your mail forwarded to
    another address or you can check it with the mail
    program or at webmail.cs.brown.edu
  • Check your cs email daily!

5
Getting started
  • You're logged in!
  • Open up...
  • Firefox (Network gt Iceweasel Web Browser)
  • Terminal (Accessories gt Terminal)
  • Drag them to the menu bar at the top to create
    shortcuts

6
Summary
  • Logging in
  • Filesystem
  • Using shell commands
  • File permissions
  • Miscellaneous

7
Filesystem
  • Filesystem is a tree
  • Unlike Windows, there are no drives - just one
    FS
  • Paths are a sequence of directories to find a
    particular file, separated by '/'
  • One directory is your working directory if your
    path doesn't start with '/', the path is relative
    to this directory
  • Absolute path - /course/cs015
  • Relative path mywork/project

8
Filesystem
  • Change working directory with 'cd' command
  • See current working directory with 'pwd'
  • Also usually displayed in your prompt
  • Special paths
  • '.' current directory
  • '..' one level up from current directory
  • Example current directory is /course/cs017/bin
  • Where will you be if you cd ./../handin/../././..
    ?
  • Answer /course

9
Filesystem important places
  • Home directory - /u/user/ user/ ( for you)
  • Files/folders starting with '.' are hidden (not
    just in home)
  • Most of your preferences are stored in these
    dotfiles in your home directory
  • These files include .vimrc, .cshrc, .alias,
    .environment
  • Course directory /course/csXXX/
  • different for each course, but usually includes
    certain common folders such as asgn, handin, web,
    etc.
  • IMPORTANT Don't confuse /course/csXXX with
    /course/csXXX! The first is your work for that
    course, the other is material for the course.

10
Summary
  • Logging in
  • Filesystem
  • Using shell commands
  • File permissions
  • Miscellaneous

11
Using shell commands
  • Usual syntax program options arguments
  • e.g., grep -i -r lambda /course/cs017
  • To find out about syntax and various options, use
    man commandname
  • e.g., man grep
  • This is your friend! Use frequently!

12
Some useful shell commands
  • man manual pages
  • cd change directory
  • ls list files in a directory
  • pwd print working directory
  • mv move files
  • cp copy files

13
Summary
  • Logging in
  • Filesystem
  • Using shell commands
  • File permissions
  • Miscellaneous

14
File permissions intro
  • Each file and directory has permissions
  • 3 classes of people, 3 permissions each
  • owner, owning group, everybody else
  • read, write, execute
  • always described in that order
  • ls -l shows permissions asrwxrwxrwx
    (everybody can r/w/x)rw-rw---- (owner and group
    can r/w)rw------- (owner can r/w)

15
File permissions changing
  • chmod - changes file permissions
  • chmod args newmode files...
  • most useful arg is -R recursive
  • newmode can be numeric or symbolic
  • chmod is a little tricky, so learn more by typing
    man chmod in your terminal

16
File permissions usage
  • A student's work should not be world-readable
  • Make sure /course does not have world-execute
  • If you're having trouble opening a file, check
    the permissions!

17
Summary
  • Logging in
  • Filesystem
  • Using shell commands
  • File permissions
  • Miscellaneous

18
Remote access
  • Remote access lets you work from home (or other
    places with daylight)
  • Come to the Remote Access Labs on Wednesday
    September 9th Tuesday September 15th at 4pm in
    the Sunlab

19
Resources
  • Sunlab consultants (sit at 9a)
  • problem_at_cs.brown.edu if you have problems with
    the departmental systems
  • http//wiki.cs.brown.edu/Internal Wiki (lots of
    useful info)
Write a Comment
User Comments (0)
About PowerShow.com