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.

Slides:



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

Jump to first page Unix Commands Monica Stoica Jump to first page Introduction to Unix n Unix was born in 1969 at Bell Laboratories, a research subdivision.
1 Introduction to UNIX Ke Liu
UNIX file systems Learning Objectives: 1. To understand the basics of file systems 2. To understand the hierarchical structure in Unix file system 3. To.
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.
Lesson 22 – Introduction to Linux Systems Administration.
Linux Linux File System.
CS 202 Computer Science II Lab Fall 2009 August 27.
UNIX Files and Security Software Tools. Slide 2 File Systems l What is a file system? A means of organizing information on the computer. A file system.
CMPE 151: Network Administration Spring Class Description Focus: system and network administration. Sequence of exercises. E.g., installing/configuring.
Basic UNIX © McGraw Hill All rights reserved.
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.
ENGINEERING COMPUTING CENTER LINUX workshop
A Mini UNIX Tutorial. What’s UNIX?  An operating system run on many servers/workstations  Invented by AT&T Bell Labs in late 60’s  Currently there.
Using Macs and Unix Nancy Griffeth January 6, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis of Complex.
Learning basic Unix command IT 325 operating system.
COMP1070/2002/lec4/H.Melikian COMP1070 Lecture #5  Files and directories in UNIX  Various types of files  File attributes  Notion of pathname  Commands.
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.
The file structure and related utilities CS240 Computer Science II.
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”
CHAPTER 1 UNIX FOR NONPROGRAMMERS By U ğ ur Halıcı.
2 Manual & Filestore. Introduction Using the manual The UNIX filestore File permissions.
1 Lecture 2 Working with Files and Directories COP 3344 Introduction to UNIX.
Essential Unix at ACEnet Joey Bernard, Computational Research Consultant.
Unix Basics Chapter 4.
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.
PROGRAMMING PROJECT POLICIES AND UNIX INTRO Sal LaMarca CSCI 1302, Fall 2009.
INTRODUCTION TO LINUX Jacob Chan. GNU/Linux Consists of Linux kernel, GNU utilities, and open source and commercial applications Works like Unix –Multi-user.
UNIX Workshop Freshmen Orientation UNIX workshop Before we begin…  Does everybody have a computer?  Does everybody have your account slips?
BIF713 Basic Unix/Linux Commands Getting Help with Commands.
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.
Chapter 4 The File Structure. Contents u The Hierarchical File Structure u Directory and Ordinary Files u Directories u Access Permissions u Links.
E X C E E D I N G E X P E C T A T I O N S Basic LINUX Linux System Administration Dr. Hoganson Kennesaw State University Operating Systems Directory structure:
Introduction to Programming Using C An Introduction to Operating Systems.
Basic of UNIX For fresh members of SPARCS
Λειτουργικά Συστήματα – 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.
2 Manual & Filestore Mauro Jaskelioff. Introduction Using the manual The UNIX filestore File permissions.
1 Lecture 2 Working with Files and Directories COP 3353 Introduction to UNIX.
A gentle introduction to LINUX at the command prompt.
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.
CSCI 330 UNIX and Network Programming Unit II Basic UNIX Usage: File System.
The Unix File sytem. Introduction Tree structure …
Basic Unix Commands. Listing files and directories ● ls:command is used to list the files and ● directories in present working directory ● ls command.
UNIX file systems Learning Objectives: 1. To understand the basics of file systems 2. To understand the hierarchical structure in Unix file system 3. To.
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).
Learning Unix/Linux Based on slides from: Eric Bishop.
Using UNIX Charles Duan FAS Computer Services June 12, 2016.
UNIX Basics Matt Hayward October 18, 2016 LS560 – Information Technology for information professionals.
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.
Web Programming Essentials:
Linux 101 Training Module Linux Basics.
Andy Wang Object Oriented Programming in C++ COP 3330
Lecture 2 Working with Files and Directories
UNIX Basics Internet Technology.
Tutorial of Unix Command & shell scriptS 5027
Tutorial of Unix Command & shell scriptS 5027
Introduction to Linux Week 0 - Thursday.
Web Programming Essentials:
Tutorial of Unix Command & shell scriptS 5027
Andy Wang Object Oriented Programming in C++ COP 3330
Tutorial Unix Command & Makefile CIS 5027
January 26th, 2004 Class Meeting 2
Presentation transcript:

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 with the computer hardware.  UNIX was developed long before Windows, about 30 years ago at AT&T Bell Labs in the US (95% written in “C” programming language).

3 What is UNIX?  Designed as an operating system for experts, used on high-end workstations, servers and hosts.  UNIX provides some powerful features: Security, Multi-user support, Inter-process communication, Extensive network support  Windows NT was developed by Microsoft to try to replace UNIX as the “OS for experts”.

4 Getting Started with UNIX  You can access these computers with putty from other computers via the vpn: ubunix.cc.buffalo.edu  You need to log in to a UNIX computer with a valid account and password: login: zelli Password:

5 Basic UNIX File Utilities  ls list files in current directory  cat display (concatenate) file  more display one screen of file  rm remove (delete) a file  cp copy source file to target file  mv rename or move a file  lpr print a file  man online UNIX help manual

6 Utilities for Finding Info  who who is logged on where and when  finger additional login information  date print the date and time  cal displays a calendar  head display the first few lines of file  tail display the last few lines of file  weather current weather forecast  quota -v displays user’s disk quota

7 Unix Filesystem  The filesystem is a hierarchical system of organizing files and directories.  The top level in the hierarchy is called the "root" and holds all files and directories.  The name of the root directory is /

8 Directory Shorthands  “.” is the directory itself  “..” is the parent directory  “~” indicates your home directory  ~user means user’s home directory, so: > more ~zelli/.plan  looks at the file.plan in /home/zelli, which is zelli’s home directory.

9 Some things to try ls list files in current directory ls / list files in the root directory ls. list files in the current directory ls.. list files in the parent directory ls /usr list files in the directory /usr

10 Directory Commands  pwd shows current directory  cd changes to another directory  mkdir creates a directory  rmdir removes a directory  mv move a file or directory elsewhere  ls list files in a directory

11  Use ls -l to view file permissions  There are four sets of items in the permissions: -rw-r--r-- The type is: “-” regular files, “d” directories, “l” symbolic links. The next nine characters indicate if the file is readable, writable, or executable for the file owner, the file group, or other users, respectively. Security and Permissions

12 Security and Permissions  There are three types of users: The owner of the file (user) The group of the file (group) Anyone else (other)  There are three types of permission (independent of each other): Read, Write and Execute

13 Changing Permissions  The chmod command is used to modify permissions.  chmod can only be used by the owner of a file/dir (or the administrator root).  The arguments are: chmod [ugoa] [+-=] [rwxdd] [file/dir]

14 Changing Permissions  Another way to change permission is to use numbers representing the permissions. Code table (3 bits) r x 1 r-x5 -w- 2 rw-6 -wx 3 rwx7

15 Other Useful Programs  pine program used to read  lynx text based web browser  ftp FTP program  nano user friendly text editor  vi another text editor  emacs even another text editor