LINUX Tuesday, 5 July 2005 2:00 pm. Remote Login l Use Secure Shell (ssh) l Machine name/IP address E.g. ssh hydra.sma.nus.edu.sg Or ssh 137.132.146.143.

Slides:



Advertisements
Similar presentations
Introduction to Linux command line for bioinformatics Wenjun Kang, MS Jorge Andrade, PhD 6/28/2013 Bioinformatics Core, Center.
Advertisements

Learning Unix/Linux Bioinformatics Orientation 2008 Eric Bishop.
Introduction of Unix/Linux Compiled by Anant Vishnoi.
1 Introduction to UNIX Ke Liu
Linux Workshop Session 1 Khadka, Santosh and Panthi, Sanjeeb Computer Science Department Lamar Univers Lamar Univers ity.
©Colin Jamison 2004 Introduction to Linux Colin Jamison.
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.
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.
1 Introduction to UNIX 2 Ke Liu
It's a binary file kept under specific directory.
Lesson 22 – Introduction to Linux Systems Administration.
UnixUnix Basic. Convention Italic text indicates text displayed by the computer system. For example, login: indicates a login prompt displayed by the.
CS 202 Computer Science II Lab Fall 2009 September 3.
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.
Lecture 02CS311 – Operating Systems 1 1 CS311 – Lecture 02 Outline UNIX/Linux features – Redirection – pipes – Terminating a command – Running program.
1 Some basic Unix commands u Understand the concept of loggin into and out of a Unix shell u Interact with the system in a basic way through keyboard and.
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction What is Unix? An operation system (OS), similar to Windows, MacOS X Why learn Unix? Greatest Software.
Linux Commands LINUX COMMANDS.
Using Macs and Unix Nancy Griffeth January 6, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis of Complex.
1 CS 240 Programming in C and UNIX Lecturer: Bob Wilson Office: S Phone:
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.
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.
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction Unix-like system is everywhere Linux Android for smartphones Google Chrome OS for Chromebook Web.
File Permissions. What are the three categories of users that apply to file permissions? Owner (or user) Group All others (public, world, others)
The UNIX development environment CS 400/600 – Data Structures.
1 Introduce Linux Speaker: Yi-Ji Jheng Date:
Linux 简介. Contents Unix GNU/Linux, Distributions Basic usage Applications Compiling, compilers Clustering.
1 Editing a C Program 01/16/15. 2 Objective Use Linux to edit, compile and execute a C program.
INTRODUCTION TO LINUX Jacob Chan. GNU/Linux Consists of Linux kernel, GNU utilities, and open source and commercial applications Works like Unix –Multi-user.
Agenda Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Review next lab assignments Break Out Problems.
UNIX Introduction CSCE 221H Texas A&M University.
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.
L&T Infotech1 UNIX – Getting Started - Aneesh Ramani.
ITR3 lecture 6: intoduction to UNIX Thomas Krichel
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.
Basic Unix Commands CGS 3460, Lecture 6 Jan 23, 2006 Zhen Yang.
Text Editing February 2 nd, 2004 Class Meeting 3.
Linux Basics.
1May 16, 2005 Week 2 Lab Agenda Command Line FTP Commands Review More UNIX commands to learn File name expansion - * Introduction of vi.
City Cluster Quickstart Lien-Chi Lai, COLA Lab, Department of Mathematics, NTU 2010/05/11.
Basic of UNIX For fresh members of SPARCS
Linux Commands C151 Multi-User 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.
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.
1 CS3695 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
ICE UNIX TUTORIAL. File System Commands cd – change directory cd – change directory ls – list contents ls – list contents rm – remove/delete rm – remove/delete.
INTRODUCTION TO SHELL SCRIPTING By Byamukama Frank
By Jonathan Rinfret UNIX/LINUX By Jonathan Rinfret
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.
SEEM3460 Tutorial Unix Introduction.
Getting started with CentOS Linux
Andy Wang Object Oriented Programming in C++ COP 3330
C151 Multi-User Operating Systems
C Programming Lecture Series
SEEM3460 Tutorial Unix Introduction Xinshi Lin & Zihao Fu
Lab 00 Discussion Linux Basics
UNIX Reference Sheets CSE 2031 Fall 2010.
Run Java file with Window cmd
Getting started with CentOS Linux
Andy Wang Object Oriented Programming in C++ COP 3330
Using emacs and G++ at U. W.
Linux Commands LINUX COMMANDS.
Compile and run c files.
Short Read Sequencing Analysis Workshop
Presentation transcript:

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 Or ssh

File System / root /bin /include /local /home /include/X11R5 /local/bin /home/SMA /home/SMA/smp1092

File System Manipulation l pwd, cd, cd., cd.., ls, etc l mkdir, rmdir, chmod, chgrp, chown l ln

Utilities l who, ps, top, cat, date l cut, paste, find, grep, file, etc l tar, gzip, gunzip l awk, perl l pine

Editors l vi l emacs l pico

Vi Text Editor l Two modes: command mode and input mode l Esc to command mode l o, i, a, etc to input mode l Other commands: :q, :x, :wq, dd, y, ma, G, etc

Compilers l C compiler: cc file.c Or gcc (GNU C Compiler) cc –O3 file.c –lm (optimize/link math lib) l C++: c++ l Fortran compiler: f77, f90 l C Preprocessor: cc –E

Online Manual l man command-name l man –k keyword l (How to use man) l man man

Exercise 1, First C Program l Write a simple C program, compile it, and run it l E.g.: #include int main() { printf(“Hello world!\n”); }

Exercise 2, Compile a Public Domain Software l Use Google to locate a source code for grep. Grep is a standard Unix utility, see “man grep”. l Save it into your working directory, untar it. Read the information there (such as README.txt) l Compile it with “make” utility l Test whether it works