The Applied Mathematics Research Lab Located in CAS 240 (330).972.6776 (x6776 on campus) Administrator: Zach Tocchi

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.
Introduction of Unix/Linux Compiled by Anant Vishnoi.
Chapter One The Essence of UNIX.
Cosc 4750 Getting Started in UNIX Don’t be afraid of the prompt, in linux it can be your best friend. In some cases, the only way to do certain things.
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.
Working Environment - - Linux - -.
CMPE 151: Network Administration Spring Class Description Focus: system and network administration. Sequence of exercises. E.g., installing/configuring.
“Linux at the Command Line” Don Johnson of BU IS&T.
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction What is Unix? An operation system (OS), similar to Windows, MacOS X Why learn Unix? Greatest Software.
ENGINEERING COMPUTING CENTER LINUX workshop
What is Unix? A multi-user networked operating system –“Operating System” Handles files, running other programs, input/output Looks like DOS…but more powerful.
Linux Shell. 2 Linux Command-Line Interface ■ Linux shells: A shell is a command interpreter that allows you to type commands from the keyboard to interact.
Linux Commands LINUX COMMANDS.
L INUX C OMMAND L INE I NTERFACE G UNAANBAN.G
Computational physics PY2050 Course Details:
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”
Introducing UNIX EMBnet slide 1 Introducing the UNIX Operating System.
CHAPTER 1 UNIX FOR NONPROGRAMMERS By U ğ ur Halıcı.
1 Intro to Linux - getting around HPC systems Himanshu Chhetri.
Linux environment ● Graphical interface – X-window + window manager ● Text interface – terminal + shell.
POS/420 Introduction to Unix Philip Robbins – March 12, 2013 (Week 1)
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop II Transferable Skills & Common Tasks Professional.
COSC513 Project Linux Features Instructor: Prof. Mort Anvari Student: Yingfeng Luo ID: #
Unix Basics Chapter 4.
Cmsc 312 Operating Systems. UNIX? DOS – PC? VAX/VMS - mainframe Unix – PC, workstation, mainframe 1970 bell Lab For computer scientist? Why popular? Free.
CENT 305 Information Systems Security Linux Introduction.
1 N305 C Programming. 2 Objectives for the Lab ä Learn problem solving strategies ä Achieve intermediate knowledge of C Programming Language ä Gain experience.
LINUX Tuesday, 5 July :00 pm. Remote Login l Use Secure Shell (ssh) l Machine name/IP address E.g. ssh hydra.sma.nus.edu.sg Or ssh
PROGRAMMING PROJECT POLICIES AND UNIX INTRO Sal LaMarca CSCI 1302, Fall 2009.
Session 2 Wharton Summer Tech Camp Basic Unix. Agenda Cover basic UNIX commands and useful functions.
INTRODUCTION TO LINUX Jacob Chan. GNU/Linux Consists of Linux kernel, GNU utilities, and open source and commercial applications Works like Unix –Multi-user.
USING YOUR INSTALLED LINUX SYSTEM.  Common Linux Tasks  Installing Custom Packages  Common GUI Applications  Command Line Shell  Directory Structure/Navigation.
Chapter 0 A “Quick-Start” into the UNIX Operating System.
Lesson 2-Touring Essential Programs. Overview Development of UNIX and Linux. Commands to execute utilities. Communicating instructions to the shell. Navigating.
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.
Unix and Samba By: IC Labs (Raj Kidambi). What is Unix?  Unix stands for UNiplexed Information and Computing System. (It was originally spelled "Unics.")
Linux and Java Basics. What is Linux? Operating system by Linus Torvalds that was a clone of Unix (thus Linux) Free and open source – this is the reason.
Introduction to Programming Using C An Introduction to Operating Systems.
CS 245 – Part 1 Using Operating Systems and Networks for Programmers Jiang Guo Dept. of Computer Science California State University Los Angeles.
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.
Linux A practical introduction. 1)Background and Getting Started Linux is an operating system with multiple providers Red Hat/CentOS (our version) Ubuntu.
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.
1 CS3695 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
Learning Unix/Linux Based on slides from: Eric Bishop.
Intro to GNU/Linux See, Stallman? I said GNU. Are you happy now?
UNIX  Portable (common to many computer architectures), multitasking, multi-user operating system  Introduced by Bell labs in mid-1960’s  Thus, much.
Linux 101: Introduction To Linux Purdue Linux Users Group Speaker: Thor Smith.
Tutorial Six Linux Basics CompSci Semester Two 2016.
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.
A “Quick-Start” into the UNIX Operating System
Tutorial of Unix Command & shell scriptS 5027
Getting started with CentOS Linux
Linux Commands Help HANDS ON TRAINING Author: Muhammad Laique
UNIX The Basics Source:
Andy Wang Object Oriented Programming in C++ COP 3330
Tutorial of Unix Command & shell scriptS 5027
Introduction to UNIX.
Tutorial of Unix Command & shell scriptS 5027
Tutorial of Unix Command & shell scriptS 5027
Getting started with CentOS Linux
Andy Wang Object Oriented Programming in C++ COP 3330
Linux Commands LINUX COMMANDS.
Presentation transcript:

The Applied Mathematics Research Lab Located in CAS 240 (330) (x6776 on campus) Administrator: Zach Tocchi Website:

-One of the first networks on campus, if not the first network -Run and maintained independently from the rest of UA campus -Topology of the AMRL network: Internet Firewall Remote (Fourier) GibbsFaculty & Lab Machines

AMRL features: -Dell Optiplex Workstations (6 Linux and 2 Windows) -w/ dual monitors -HP LaserJet 4300n printer (please keep on economy setting) -HP ScanJet 4200c flatbed scanner -HP ScanJet 7800 form-feed scanner -Whiteboard -Refrigerator, Microwave, Coffee Maker -Note: No cleaning crew, so try to keep things clean

AMRL software: -Most machines run linux (CentOS 5) -LaTeX -Matlab -Maple -Gnuplot -Compilers -etc -2 Windows machines (WinXP Pro) -Adobe Acrobat Pro (for use with scanners) -(also have matlab, maple, TeX, etc. for use in a pinch)

-Everyone should already have an account created -First log in with username and given password (pay close attention to 0 vs o vs O) -Passwords should be changed immediately -For linux, log in and open a terminal (right-click desktop area, select ‘open terminal’) -Type passwd, hit enter, follow instructions -Windows and Linux passwords are independent, so passwords will need to be changed on the Windows machines as well -Note: domain is MATHSCI -Easiest way to change password is to hit Ctrl-Alt-Del after logging in and select change password -(Can also change passwords using AMRL Login) -PASSWORDS SHOULD BE STRONG! -Use upper and lower case, numerals, special characters -Think of ‘gamer’ friends, ‘133t’-speak, etc (ex:

Introduction to Linux: -Linux is a free OS whose kernel was original designed by Linus Torvalds based on the Unix kernel -In an office environment, unix-based systems are ideal as they are stable and secure -Linux is open-source (meaning the source code is freely available to anyone) -A downside is that Linux is so customizable that it now comes in literally hundreds of flavors, the most popular being Fedora Core, Redhat, Ubuntu, SuSE, Slackware, Arch, Debbian, Gentoo, Knoppix, CentOS

Linux Software: -Terminal (or shell): Command-line interface -Office packages: Similar in use to MS Office -OpenOffice (Writer  Word), (Impress  PowerPoint), (Calc  Excel) -Internet packages: Web-browsing, -Several options, but most common are: -Mozilla Firefox web browser -Mozilla Thunderbird client -Compilers: For C++, Java, fortran, etc (run through the terminal) -Text editors: For writing code (for LaTeX, C++, fortran, etc) -Emacs, Vi, Pico -Graphics packages -The GIMP (like Photoshop), gnuplot, xfig Additional software in the AMRL: -Matlab -Maple

Linux file system: -Unlike Windows, Linux does not base its structure on drives -Rather the highest level directory is ‘/’ (the root directory) -The most important directory for a user is /home/‘username’ -/mnt, /media also important

Linux file permissions: -Similar to the Windows environment, only certain users can access certain files, but unlike windows, only one user in Linux has access to all files -Root user: has full system access -Non-root user: limited system access -Access to home directory -Access to user-mounted devices (flash drives, CDs, etc) -Cannot install software, cannot access other users’ files, cannot change system files -Users are also members of groups, and users with similar groups can access each other’s files. Talk to an admin if you wish to change permissions on files for some reason or wish to add a group so that a particular user can view your files.

Basic Unix/ Linux Commands: -Linux commands are entered into a shell -Most actions today can be performed using either commands or ‘point- and-click’ -Command syntax - -Command: name of command (ex: ls, for ‘list’) -Flags are options for the program -Common flag to know is ‘--help’ -Arguments are additional inputs (filenames, etc) -Examples: ls -l /home/jadams/ (list (long) the contents of /home/jadams) g77 -o hw4.exe hw4.f (g77 fortran compiler, output to hw4.exe, use hw4.f as input)

Basic Unix/ Linux Commands: -ls: list contents of directory -cd: change directory -./ = current directory -../ = parent directory - ~/ = user’s home directory - Thus if I am in /home/jadams/temp, the following all have the same result: - cd../ - cd /home/jadams - cd ~/ -pwd: present working directory (in case you are ‘lost’) -whoami: (in case you are really lost)

Basic Unix/ Linux Commands: -mkdir: make a directory -rmdir: remove a directory (only works if directory is empty) -cp: copy a given file or directory -Use: cp file1 file2 (copies file1 to file2) -mv: move a given file or directory (same use as above) -rm: remove file or directory -cat: print contents of a file (without ‘opening’ it… similar to quick look with Mac OS X Leopard) -less/ more: prints file with scrollable option (less has more features) -head/ tail: prints first/ last 10 lines of file (can print more with -n option) -grep: (get regular expression pattern) search a file for a ‘pattern’ -man: manual (help file for other commands) -who: shows who is logged on -top: process list that is continually refreshed -ssh: used to connect remotely from home or between machines

Basic Unix/ Linux Commands: -tar: similar to zip files. 2 good versions to know: -tar -czvf file1.tgz dir1/ (creates file1.tgz by tarring and zipping./dir1/) -tar –zxvf file1.tar.gz (extracts file1.tar.gz) -lp: print file (use for text files) -convert: converts image files -Compilers: -g77: fortan compiler -gcc: gnu c/c++ compiler -icc: intel c/c++ compiler -latex: compiles tex documents, but more commonly, the programs kile or texmaker are used

Redirection and piping: -Might be useful: -> directs output to a file -Example: ls > list.txt (takes output from list and puts it in a text file) -| pipes output from one command into another -Example: ls | grep myfile (lists the current directory and then searches that list for ‘myfile’) -Example2: cat temp.txt | grep hello (takes contents of file temp.txt and searches for hello) Local software: -matlab, maple (xmaple), kile, etc.

Notes/ Reminders: -Login, change passwords -Ssh only through remote -File extensions don’t matter much in linux -Send a test so we have your -Please keep printer on economy mode -New setup for windows machines allows full access -This is my chair (do not use!) 