PROGRAMMING PROJECT POLICIES AND UNIX INTRO Sal LaMarca CSCI 1302, Fall 2009.

Slides:



Advertisements
Similar presentations
Linux, it's not Windows A short introduction to the sub-department's computer systems Gareth Thomas.
Advertisements

Learning Unix/Linux Bioinformatics Orientation 2008 Eric Bishop.
Unix. Outline Commands Environment Variables Basic Commands CommandMeaning lslist files and directories ls -alist all files and directories mkdirmake.
1 Introduction to UNIX Ke Liu
Dayu Zhang 9/8/2014 Lab02. Example of Commands pwd --- show your current directory This is home of venus, not your home directory Tilde: means you are.
Introducing the Command Line CMSC 121 Introduction to UNIX Much of the material in these slides was taken from Dan Hood’s CMSC 121 Lecture Notes.
Basic linux shell commands and Makefiles. Log on to engsoft.rutgers.edu Open SSH Secure Shell – Quick Connect Hostname: engsoft.rutgers.edu Username/password:
Unix Basics. Systems Programming: Unix Basics 2 Unix Basics  Unix directories  Important Unix file commands  File and Directory Access Rights through.
Introduction to Linux and Shell Scripting Jacob Chan.
What is Unix? A multi-user networked operating system –“Operating System” Handles files, running other programs, input/output Looks like DOS…but more powerful.
L INUX C OMMAND L INE I NTERFACE G UNAANBAN.G
CS 141 Labs are mandatory. Attendance will be taken in each lab. Make account on moodle. Projects will be submitted via moodle.
Using Macs and Unix Nancy Griffeth January 6, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis of Complex.
Systems Programming Concepts
Introduction to Linux Workshop February Introduction Rob Lane & The HPC Support Team Research Computing Services CUIT.
GETTING STARTED USING LINUX UBUNTU FOR A MULTI-USER SYSTEM Team 4 Lab Coordinator Manager Presentation Prep Webmaster Document Prep Faculty Facilitator.
Overview of Linux CS3530 Spring 2014 Dr. José M. Garrido Department of Computer Science.
Help session: Unix basics Keith 9/9/2011. Login in Unix lab  User name: ug0xx Password: ece321 (initial)  The password will not be displayed on the.
Unix Primer. Unix Shell The shell is a command programming language that provides an interface to the UNIX operating system. The shell is a “regular”
Linux environment ● Graphical interface – X-window + window manager ● Text interface – terminal + shell.
Essential Unix at ACEnet Joey Bernard, Computational Research Consultant.
Unix Basics Chapter 4.
Basic unix commands that everyone should know (Even if you have a mac) Slightly more advanced:
Carnegie Mellon Linux Boot Camp Jenna MacCarley, Peter Pearson, Shashank Goyal 9/19/2015.
Session 2 Wharton Summer Tech Camp Basic Unix. Agenda Cover basic UNIX commands and useful functions.
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU Usage of Workstation Lecturer: Yu-Hao( 陳郁豪 ) Date:
November 5, 2015CIS 118 Intro to UNIX What’s a Unix? Unix is an Operating System Designed for high-traffic usage Many variants –Linux, BSD: free versions.
1May 16, 2005 Week 2 Lab Agenda Command Line FTP Commands Review More UNIX commands to learn File name expansion - * Introduction of vi.
Introduction to Programming Using C An Introduction to Operating Systems.
CSE 374 Programming Concepts & Tools Hal Perkins Fall 2015 Lecture 2a – A Unix Command Sampler (Courtesy of David Notkin, CSE 303)
Linux Commands C151 Multi-User Operating Systems.
Intro. To Unix commands For those who’ve never used Unix before Quick tutorial to let you move around your Unix Accounts No discussion of inner workings.
Unix Servers Used in This Class  Two Unix servers set up in CS department will be used for some programming projects  Machine name: eustis.eecs.ucf.edu.
Basic Unix Commands & GCC Saurav Karmakar Spring 2007.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
Unix Environment Basics CSCI-1302 Lakshmish Ramaswamy.
1 Introduction to Unix. 2 What is UNIX?  UNIX is an Operating System (OS).  An operating system is a control program that helps the user communicate.
A Brief Overview of Unix Brandon Bohrer. Topics What is Unix? – Quick introduction Documentation – Where to get it, how to use it Text Editors – Know.
 Last lesson, the Windows Operating System was discussed along with the Windows command shell  Unix is a computer operating system, that similarly manages.
Learning basic Unix command It 325 operating system.
Learning Unix/Linux Based on slides from: Eric Bishop.
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU Usage of Workstation Lecturer: Yu-Hao( 陳郁豪 ) Date:
Linux Workshop Session 2 By Amol and Prem. Overview of Presentation Brief Review Useful tools Remote Access Troubleshooting.
UNIX Basics Matt Hayward October 18, 2016 LS560 – Information Technology for information professionals.
Overview of Linux Fall 2016 Dr. Donghyun Kim
UNIX To do work for the class, you will be using the Unix operating system. Once connected to the system, you will be presented with a login screen. Once.
CS1010: Intro Workshop.
Getting started with CentOS Linux
Chapter 11 Command-Line Master Class
Web Programming Essentials:
Linux Commands Help HANDS ON TRAINING Author: Muhammad Laique
Andy Wang Object Oriented Programming in C++ COP 3330
Some Linux Commands.
C151 Multi-User Operating Systems
The Command Prompt Commands are the way to “do things” in Unix
Introduction to Linux Dr Karina Kubiak - Ossowska
Part 3 – Remote Connection, File Transfer, Remote Environments
Assignment Preliminaries
CSE 374 Programming Concepts & Tools
Tutorial of Unix Command & shell scriptS 5027
Tutorial of Unix Command & shell scriptS 5027
Introduction to Linux Week 0 - Thursday.
CS 60 Discussion Review.
Web Programming Essentials:
Tutorial of Unix Command & shell scriptS 5027
Getting started with CentOS Linux
Andy Wang Object Oriented Programming in C++ COP 3330
Tutorial Unix Command & Makefile CIS 5027
Linux Shell Script Programming
CSE 303 Concepts and Tools for Software Development
Presentation transcript:

PROGRAMMING PROJECT POLICIES AND UNIX INTRO Sal LaMarca CSCI 1302, Fall 2009

Programming Project Policies  All programs must compile and run on Odin using Java (Sun’s JDK)  Odin is a Linux server that can be accessed via an SSH connection to odin.cs.uga.edu  You may develop your code in an IDE on other operating systems, but it is your job to transfer all files to Odin and to compile, run, and test on Odin using Java  Start projects early and ask for questions as early as possible.

Programming projects requirements 1. All Java source code for the project 2. A Makefile to compile all of your source code 3. A plain text file named readMe.txt that contains detailed instructions on how to compile your source code and how to run your program. The readMe file should also contain a brief description of the files included in the project 4. All Java source code must be commented thoroughly. Each class, function, and significant blocks of code must be well commented.

Getting your Odin account  Present your student id to the student workers in Boyd 307, and ask them for your Unix accounts  They should give you slips of paper containing login information for your Odin and Atlas accounts  I highly recommend changing both your Odin and Atlas passwords to the same password  If the student workers in 307 do not have an Odin account for you, please

Boyd 307 open lab  The lab includes several Linux machines and Windows machines  To login to the Windows machines, use the user id given to you for your Unix accounts, and the password is your 9-digit 810 number  To login to the Linux machines, use the user id and password that you use to login to your Odin/Atlas account

Connecting to Odin via SSH  Mac, Unix, and Linux users can open up a command prompt and issue the command  ssh odin.cs.uga.edu  Windows users must download and run an SSH client like putty to connect to Odin  ~sgtatham/putty/download.html

File transfer to/from Odin  Must use an SFTP (secure file transfer protocol) client to transfer files to and from Odin  Filezilla is a free SFTP client that has an easy to use GUI 

Unix commands (case matters)  passwd  Changes your password  pwd  Shows the current working directory  man command  Get help using the manual page  man pwd  ls  List the contents of a directory  ls -la  ls -all  cd  Change directory  echo  Echo’s a string to standard output

Unix keyboard shortcuts  CNTL+Z  Stops/suspends the current command  fg Restore the last suspended command  CNTL+C  Kills some commands or processes  Tab  Autocompletes commands and file names  Up and down arrows  Scrolls through command history

Unix special command symbols  ~  Home directory  cd ~ Change to home directory .  Currently directory ..  Parent directory  cd.. Change to parent directory  >  Redirect output of a command to a file  ls -all > directoryContents.txt  |  Pipes the output of the command to the left to the input of the command to the right  ls -all | less

File commands  mkdir  Create a directory  mkdir project1  touch  Create a file  touch file.txt  cp  Copies a file  cp file1.txt file2.txt  rmdir  Remove a directory  rmdir project1  rm  Remove/delete a file  rm file.txt  mv  Moves or renames a file  mv file1.txt /usr/file2.txt  mv file1.txt file2.txt

Chmod command  Changes the permission of a file or directory  chmod u+rwx file.txt Permit the file’s owner to read, write, and execute file.txt  chmod g-rwx file.txt Remove read, write, and execute permissions from the file’s group  chmod o-w file.txt Remove write permissions for other users who are not owners of file.txt  chmod a+rw file.txt Permit all users to read and write file.txt

Misc commands  cat  Lists a file’s contents  cat file.txt  which  Lists the complete path of a command  less  Scroll through a file  quota -v  Check how much space you have in your account  exit  Logs you off  ps  Shows the current processes you are running  kill Kills a process First lookup a process’s id with ps, then issue a kill command like kill kill  You must issue kill commands to stop processes that are taking up a lot of resources (like an infinite loop)  Failure to stop an out of control processes may result in having your account frozen or suspended by system administrators