By Jonathan Rinfret Jonathan.Rinfret@my.gavilan.edu UNIX/LINUX By Jonathan Rinfret Jonathan.Rinfret@my.gavilan.edu.

Slides:



Advertisements
Similar presentations
Linux commands exercise 1. What do you need, if you try to these at home? You need to download and install Ubuntu Linux from the Internet – DVD is need.
Advertisements

Learning Unix/Linux Bioinformatics Orientation 2008 Eric Bishop.
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.
Working Environment - - Linux - -.
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
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.
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.
L INUX C OMMAND L INE I NTERFACE G UNAANBAN.G
CS 141 Labs are mandatory. Attendance will be taken in each lab. Make account on moodle. Projects will be submitted via moodle.
Using Macs and Unix Nancy Griffeth January 6, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis of Complex.
GETTING STARTED USING LINUX UBUNTU FOR A MULTI-USER SYSTEM Team 4 Lab Coordinator Manager Presentation Prep Webmaster Document Prep Faculty Facilitator.
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.
Chapter 9 Part II Linux Command Line Access to Linux Authenticated login using a Linux account is required to access a Linux system. The Linux prompt will.
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.
CENT 305 Information Systems Security Linux Introduction.
2INC0 Operating Systems Introduction to Linux
File Permissions. What are the three categories of users that apply to file permissions? Owner (or user) Group All others (public, world, others)
Linux+ Guide to Linux Certification, Second Edition
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
Operating System - Linux Ph. D. Course Work : PHYS 601 Statistics and Computer Applications Presented By: Sanjay Godara Dept. of Physics & Astrophysics.
The UNIX development environment CS 400/600 – Data Structures.
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.
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.
INCS Virtual Data Center Security using Linux.
UNIX File System by Tero Toikkanen, CAP02S. UNIX Multi-user system Multi-user system Multi-tasking system Multi-tasking system Wide selection of tools.
Unix and Samba By: IC Labs (Raj Kidambi). What is Unix?  Unix stands for UNiplexed Information and Computing System. (It was originally spelled "Unics.")
Unix/Linux for beginners:
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.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
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.
The Kernel At a high level, the kernel in an operating system serves as the bridge between applications and the actual data processing of the hardware.
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.
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  There are many different.
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 UNIX and Linux.  Written by Dennis Ritchie and Ken Thomsom at Bell Labs in 1969  Initially written in assembly language and a high-level.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
Embedded Software Design Week II Linux Intro Linux Kernel.
Learning Unix/Linux Based on slides from: Eric Bishop.
Operating systems Lecture #3 Modern OS characteristics.
Intro to GNU/Linux See, Stallman? I said GNU. Are you happy now?
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.
Getting started with CentOS Linux
Linux Commands Help HANDS ON TRAINING Author: Muhammad Laique
UNIX The Basics Source:
Some Linux Commands.
Lecture #3 Modern OS characteristics
The Linux Operating System
Linux.
Introduction to UNIX.
An Introduction to Linux Operating System Installation and commands
Lecture #3 Modern OS characteristics
LING 408/508: Computational Techniques for Linguists
Introduction to Linux Week 0 - Thursday.
Unix : Introduction and Commands
Web Programming Essentials:
A Brief Overview of Unix
Run Java file with Window cmd
Getting started with CentOS Linux
CSE 303 Concepts and Tools for Software Development
Lab 2: Terminal Basics.
Presentation transcript:

By Jonathan Rinfret Jonathan.Rinfret@my.gavilan.edu UNIX/LINUX By Jonathan Rinfret Jonathan.Rinfret@my.gavilan.edu

WHAT IS UNIX? UNIX is an operating system (just like Windows or macOS). Unix was created by Bell labs in the 1970’s and is a family of multitasking, multiuser operating systems. Many companies have created over versions of UNIX such as BSD(Berkeley Software Distribution), Solaris (Sun Microsystems, and XENIX (Microsoft). Built in the C programming language, UNIX, and its clones, offer a unified filesystem defined by a modular design(being able to add and remove directories, files, etc).

Difference between UNIX and Linux Not much. Linux is a clone of UNIX built under the Free and Open Source movement. Now, while Linux is built under the Open source project that does not mean that every version is free to get. A person can build their own Linux operating system and then sell that to others. Furthermore, Linux/UNIX is used in thousands upon millions of pieces of technology(TV remote, Thermostat, Cars, Phones, you name it, it probably runs off of it). Notable versions of Linux are Ubuntu, Android, Debian, and Redhat, among possibly hundreds of others.

The Kernal The kernel is the interpreter between what you type in the terminal and how the terminal responds. The kernel is responsible for Input/Output Central Prosessing (the brain) –determines when and how programs run. Random access memory (RAM) – storing data and instructions

The Tree The Tree is the set of directories(folders) and files that you have I your OS. Starting at the top, we have root(/) Then we go down levels to access more directories/files Most of what you will be working with is in the home directory

Basic Unix Commands The Terminal (shell) pwd (print working directory) clear (clears screen) ls (list system) echo (displays the inputted value – used in bash scripts) | (the pipe command- concatenates two commands) cd (change directory) cd . cd .. mkdir (make directory) rmdir (remove directory) touch (creates a file) cat (creates a file and allows user input (to exit press ctrl+d); also combines two or more files) rm (removes a file) mv (moves a file)

More advanced commands ch (change command – this modifies files) chgrp (change file group) chown (change owner of file) chmod (change mode/attributes/permissions) find (finds a filename) date (produces the date) who (who is on the system) whois (who is the user inputted – produces more information) *gcc (general c compiler) *tcc (tiny c compiler) *these are for the javascript pc emulator

Text Editors: vim vs emacs Released as part of BSD in 1978. Installed under the name vi, vim is a line editor, similar to notepad, but older. Most widely used text editor for UNIX To insert text press I, this brings you to input mode To exit input mode, press esc, then input :wq (saves and quits) Emacs Much more of a modern text editor, but is less used. Is already in input mode. To save and quit (ctrl +x, ctrl + s). To not save (ctrl +x, ctrl + c).

Sudo (the Superuser) In Unix, there is the superuser command sudo. This command requires you to type in your password. From there you can modify anything on your computer. BE VERY CAREFUL WHEN USING SUDO!!!! You could overwrite major portions of your computer or delete entire sections of your OS with no backup capability. There is even a command to destroy your entire computer. rm –rf/ (starts at root and deletes everything) mkfs.ext4 /dev/sda1 (formats the hard drive) For CSIS 48, you would not have access to sudo

Other sources for help on Unix For commands in terminal, type the command followed by -- h ( ls --h) man (this brings up the Unix manual pages) (man ls) Unix.com Linux.com Ubuntu.com StackOverflow.com