UNIX Introduction CSCE 221H Texas A&M University.

Slides:



Advertisements
Similar presentations
LIS651 lecture 5 direct use of wotan Thomas Krichel
Advertisements

Linux, it's not Windows A short introduction to the sub-department's computer systems Gareth Thomas.
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.
CSCI 1411 FUNDAMENTALS OF COMPUTING LAB Lab Introduction 1 Shane Transue MSCS.
Working Environment - - Linux - -.
CS 202 Computer Science II Lab Fall 2009 September 3.
1 Using Editors Editors let you create and edit ASCII files UNIX normally includes two editors: vi and Emacs Vi and Emacs are screen editors: they display.
Dayu Zhang 9/3/2014 Lab01. Lab Instructor: Dayu Zhang Office Hour Mon/Wed 10:40am – 11:10am Room A201 Lab Website
Course Introduction and Getting Started with C 1 USF - COP C for Engineers Summer 2008.
1 Basics of Linux On linux machine: Login at your home directory Open a “shell” or “terminal” or “xterm” workspace (4) On windows machine Intall linux.
CS0007: Introduction to Computer Programming Setting Up Java.
The Network Management Lab pc pc pc pc pc Virtual Servers Your Laptop.
CSE 390a Editing and Moving Files
1 Intro to Linux - getting around HPC systems Himanshu Chhetri.
Linux environment ● Graphical interface – X-window + window manager ● Text interface – terminal + shell.
Essential Unix at ACEnet Joey Bernard, Computational Research Consultant.
Cmsc 312 Operating Systems. UNIX? DOS – PC? VAX/VMS - mainframe Unix – PC, workstation, mainframe 1970 bell Lab For computer scientist? Why popular? Free.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
Computing Fundamenatls CMSC 201 Computer Science I Penny Rheingans University of Maryland Baltimore County (with inspiration from previous 201 instructors.
Vim Editor and Unix Command gcc compiler Computer Networks.
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
1 Editing a C Program 01/16/15. 2 Objective Use Linux to edit, compile and execute a C program.
Carnegie Mellon Linux Boot Camp Jenna MacCarley, Peter Pearson, Shashank Goyal 9/19/2015.
TAMU CSCE 313 (the basics). Basic Unix/Linux programming Accessing CS systems  PuTTY (putty.exe) – a Telnet and SSH client  Common hosts: unix.cs.tamu.edu.
HKOI 2012 TRAINING INTRO TO LINUX /CUHK/SHB123]$ date Sat Feb 18 13:00:00 HKT 2012.
1 Lab 2 “Hello world” in Unix/Linux #include "std_lib_facilities_4.h" int main(){ cout
ENEE150 – 0202 ANDREW GOFFIN Introduction to ENEE150.
House Keeping Section 1 is due on Thursday BEFORE class 18 labs 11 quizzes Log into LabSim I want to verify you are in the Spring 15 CBIS 4225 Sys Admin.
Getting started: Basics Outline: I.Connecting to cluster: ssh II.Connecting outside UCF firewall: VPN client III.Introduction to Linux IV.Intoduction to.
INTRODUCTION TO CSCE LAB BASIC OF COMPUTERS, C++, UNIX, AND HELLO WORLD.
Next Unix Topics Tuesday, 2/11 & 18/2014. Change Password (by 2/14/14) ssh to account on – faclinux.cse.ohio-state.edu – stdlinux.cse.ohio-state.edu passwd.
C programming and compilers. At least 3 ways to compile C Using gcc in UNIX environment via chaos.cs.auckland.ac.nz Using gcc in Cygwin in Windows Using.
CSCI-1411 F UNDAMENTALS O F C OMPUTING L AB Shane Transue Spring
1 Remote Access Telnet Telnet FTP FTP. 2 Applications and Communications Telnet Telnet  Program for accessing systems remotely.  Available on Windows.
1May 16, 2005 Week 2 Lab Agenda Command Line FTP Commands Review More UNIX commands to learn File name expansion - * Introduction of vi.
Accessing the Lab. Putty Available via links on course page Creates secure (SSH) command line session between your machine and SCS network Uses tunnelling.
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop III - Part A Shell Commands Professional Training.
More on Using onyx 8/28/13. Program 1 Due a week from today. See website for details.
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.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
INTRODUCTION – COMPUTERS, BASIC C++, UNIX ACKNOWLEDGEMENT: THE SLIDES ARE PREPARED FROM SLIDES PROVIDED BY NANCY M. AMATO AND JORY DENNY 1.
Linux A practical introduction. 1)Background and Getting Started Linux is an operating system with multiple providers Red Hat/CentOS (our version) Ubuntu.
ICE UNIX TUTORIAL. File System Commands cd – change directory cd – change directory ls – list contents ls – list contents rm – remove/delete rm – remove/delete.
Tutorial Six Linux Basics CompSci Semester Two 2016.
By Jonathan Rinfret UNIX/LINUX By Jonathan Rinfret
Precept I : Lab Environment, Unix, Bash, Emacs
GRID COMPUTING.
ENEE150 Discussion 01 Section 0101 Adam Wang.
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.
Class Projects and Environment
First Day in Lab Making a C++ program
CS1010: Intro Workshop.
Development Environment Basics
Getting started with CentOS Linux
Tutorial Six Recap & Linux Basics CompSci Semester Two 2016.
UNIX The Basics Source:
Andy Wang Object Oriented Programming in C++ COP 3330
Computing Fundamenatls CMSC 201 Computer Science I Penny Rheingans University of Maryland Baltimore County (with inspiration from previous 201 instructors.
A Guide to Unix Using Linux Fourth Edition
Linux.
Introduction to UNIX UNIX developed at Bell Labs in 70s
Run Java file with Window cmd
LAB 9 – INTRUSION DETECTION AND PREVENTION SYSTEMS
Getting started with CentOS Linux
Using emacs and G++ at U. W.
Java Tutotrial for [NLP-AI] 2
Video Notes.
CSCI The UNIX System Editing files
Short Read Sequencing Analysis Workshop
DIBBs Brown Dog Tutorial Setup
Presentation transcript:

UNIX Introduction CSCE 221H Texas A&M University

Linux environment PuTTY is an application to establish SSH connections Development machine: linux.cse.tamu.edu Open a PuTTY session and log into linux

Basic UNIX commands cd: change directory mkdir: make directory ls: list items in a directory g++ / g++-4.6: invoke GNU’s C++ compiler vim / emacs / nano: text editing

Exercise Make a directory called “lab1” in your home folder Type “mkdir lab1” Type “cd lab1” Create a file called “hello.cpp” using vim Type “vim hello.cpp” Write hello world to the screen Type “i” to go to insert mode then type the program Type “esc” to go to command mode and “:wq” to save and quit vim Compile using g and run your application Type “g hello.cpp –o hello” to compile Type “./hello” to run the program

vim Quick start guide Vim cheat sheet Vim settings fileVim settings file – put in home directory labeled “.vimrc”

Helpful tools for linux gdb – debugging tool for linuxgdb valgrind – memory leak detector/memory profilervalgrind screen – very helpful when working remotely in a terminal. Saves the terminal session even if the network connection cuts out.screen LaTex – tool for creating documentsLaTex top – monitor the system processestop