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.

Slides:



Advertisements
Similar presentations
Learning Unix/Linux Bioinformatics Orientation 2008 Eric Bishop.
Advertisements

George Blank University Lecturer. Creating A Web Site at NJIT Professor Blank.
File Security. Viewing Permissions ls –l Permission Values.
Basic linux shell commands and Makefiles. Log on to engsoft.rutgers.edu Open SSH Secure Shell – Quick Connect Hostname: engsoft.rutgers.edu Username/password:
T UTORIAL OF U NIX C OMMAND & SHELL SCRIPT S 5027 Professor: Dr. Shu-Ching Chen TA: Samira Pouyanfar Spring 2015.
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.
CSCI S-1 Section 3. Deadlines for Homework 2 Problems 1-8 in Parts C and D – Friday, July 3, 17:00 EST Parts E and F – Tuesday, July 7, 17:00 EST.
Embedded Programming and Robotics Lesson 13 Basic Linux 1.
CS 141 Labs are mandatory. Attendance will be taken in each lab. Make account on moodle. Projects will be submitted via moodle.
Learning basic Unix command IT 325 operating system.
File Systems Sources and Resources: 1. A Students Guide to UNIX, by Hahn 2. Paula Davidson’s Handout on UNIXHandout on UNIX.
A FIRST BOOK OF C++ UNIX PRIMER. LOGGING IN From the PC's in 301, 302, or 303 If the Command Prompt icon is not on the desktop or the Start menu, navigate.
1 THE UNIX FILE SYSTEM By Chokechai Chuensukanant ID COSC 513 Operating System.
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.
Essential Unix at ACEnet Joey Bernard, Computational Research Consultant.
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.
Working with Linux Lab 1 1. Login and logout Account – username & password – Note: Linux is case-sensitive Administrator: username = root Logout: exit,
1 N305 C Programming. 2 Objectives for the Lab ä Learn problem solving strategies ä Achieve intermediate knowledge of C Programming Language ä Gain experience.
Carnegie Mellon Linux Boot Camp Jenna MacCarley, Peter Pearson, Shashank Goyal 9/19/2015.
PROGRAMMING PROJECT POLICIES AND UNIX INTRO Sal LaMarca CSCI 1302, Fall 2009.
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.
Session 2 Wharton Summer Tech Camp Basic Unix. Agenda Cover basic UNIX commands and useful functions.
IST 210 Introduction to UNIX (AIX) Todd Bacastow IST 210: Organization of Data.
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.
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.
File Security and Permissions. File Permissions (1) u With respect to a particular file, Unix divides the set of all users on a system into three categories:
Basic Unix Commands CGS 3460, Lecture 6 Jan 23, 2006 Zhen Yang.
Unix, Linux, DOS, Windows Command Line CSE 660 May 12, 2008.
Chapter 4: File Security & Permissions Also: Hard and Soft Links, see p77-80 &
Λειτουργικά Συστήματα – Lab2 Γιάννης Πετράκης. Directory Navigation and Control  The Unix file system is set up like a tree branching out from the root.
File Systems, telnet and ftp Sources and Resources: 1. A Students Guide to UNIX, by Hahn 2. Paula Davidson’s Handout on UNIXHandout on UNIX.
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.
Unix Environment Basics CSCI-1302 Lakshmish Ramaswamy.
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.
 Last lesson, the Windows Operating System was discussed along with the Windows command shell  Unix is a computer operating system, that similarly manages.
Basic Unix Commands. Listing files and directories ● ls:command is used to list the files and ● directories in present working directory ● ls command.
ICE UNIX TUTORIAL. File System Commands cd – change directory cd – change directory ls – list contents ls – list contents rm – remove/delete rm – remove/delete.
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.
Learning basic Unix command It 325 operating system.
File Management commands cat Cat command cat cal.txt cat command displays the contents of a file here cal.txt on screen (or standard out).
Chapter 2: Exploring the UNIX File System (For Tuesday Section) File and File Systems.
+ Introduction to Unix Joey Azofeifa Dowell Lab Short Read Class Day 2 (Slides inspired by David Knox)
Using UNIX Charles Duan FAS Computer Services June 12, 2016.
1 N305 C Programming. 2 Objectives for the Lab ä Learn problem solving strategies ä Achieve intermediate knowledge of C Programming Language ä Gain experience.
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.
Tutorial of Unix Command & shell scriptS 5027
Commands Basic syntax of shell commands UNIX or shell commands have a basic structure command -options target command comes first (such as cd or ls) any.
Andy Wang Object Oriented Programming in C++ COP 3330
Some Linux Commands.
Useful Linux Commands.
CS314 – Section 5 Recitation 1
Tutorial of Unix Command & shell scriptS 5027
Tutorial of Unix Command & shell scriptS 5027
Using Linux Commands Lab 3.
Introduction to UNIX UNIX developed at Bell Labs in 70s
Welcome to CSCI 230! Problem Solving using C
Web Programming Essentials:
Tutorial of Unix Command & shell scriptS 5027
A Brief Overview of Unix
ברוכים הבאים למת"ם מבוא לתכנות מערכות
The Unix File System.
Andy Wang Object Oriented Programming in C++ COP 3330
Tutorial Unix Command & Makefile CIS 5027
Yung-Hsiang Lu Purdue University
In the last class,. ls –l command. seven fields
January 26th, 2004 Class Meeting 2
Presentation transcript:

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 of Unix –Take Operating Systems – CSCI-4210 Comparisons to Windows/DOS commands

What are the machines? rcs.rpi.edu – takes you to a random OS rcs-sun1.rpi.edu – takes you to a Sun machine rcs-ibm1.rpi.edu – takes you to an IBM machine There are others, but these should be more than enough for this course. If you’re on campus, you must use SSH (instead of Telnet) to connect to these machines. Download TeraTerm SSH or SecureCRT

Very basics ‘ls’ - get directory listing –DOS: ‘dir’ ‘ls –l’ – get long file listing ‘cd’ – change directory ‘mkdir’ – make directory –DOS: md ‘rm’ – remove a file –DOS: ‘del’ ‘rmdir’ – remove directory

More basics ‘more’ – contents of a file –DOS: ‘type’ ‘cp’ – copy a file –DOS: ‘copy’ ‘mv’ – move a file –DOS: ‘move’

chmod Change mode (permissions) of file/directory using ‘ls –l’, 10 fields of information ex: drwxrw-r— first position: ‘d’ (directory) or ‘-’ (file) next three: user permissions: –‘r’ – read permissions –‘w’ – write permissions –‘x’ – Execute permissions next three: group permissions last three: world permissions

chmod continued permissions are represented as octal numbers rwxrwxrwx = = 777 rwxrw-r-- = = 764 rw = = 600 etc. chmod mode file ex: chomd 755 script.plx –Give yourself all permissions, group and world read and execute permissions