The UNIX SYSTEM Introduction to Networking. Unix Tools Shells Useful Commands Pipes & Redirects.

Slides:



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

1 Introduction to UNIX Ke Liu
NETW-240 Shells Last Update Copyright Kenneth M. Chipps Ph.D. 1.
©Colin Jamison 2004 Introduction to Linux Colin Jamison.
1 Introduction to UNIX 2 Ke Liu
It's a binary file kept under specific directory.
THE UNIX SYSTEM Ashish Gupta TA, Intro to Networking Jan Recital 2 Introduction to Networking, Instructor: Prof. Yan Chen.
Linux+ Guide to Linux Certification, Second Edition
CS 110 Intro to Computer Science I Sami Rollins Fall 2006.
Basic linux shell commands and Makefiles. Log on to engsoft.rutgers.edu Open SSH Secure Shell – Quick Connect Hostname: engsoft.rutgers.edu Username/password:
Lecture 01CS311 – Operating Systems 1 1 CS311 – Lecture 01 Outline Course introduction Setting up your system Logging onto the servers at OSU with ssh.
“Final?” Day Unix/Linux April 8, 2014 Dr. Bob Mathis.
Introduction to Linux/UNIX. History UNIX beginnings in 1969 (Linus Torvalds is born!) AT & T Bell Laboratories (Ken Thompson & Dennis Richie) Working.
UNIX Overview. 2 UNIX UNIX is a multi-user and multi-tasking operating system. Multi-tasking: Multiple processes can run concurrently. Multi-user: different.
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 Commands LINUX COMMANDS.
CS 141 Labs are mandatory. Attendance will be taken in each lab. Make account on moodle. Projects will be submitted via moodle.
ACM & MUG Tech Talk Software Development Tools on Unix October 15, 2002
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”
Linux environment ● Graphical interface – X-window + window manager ● Text interface – terminal + shell.
Unix Basics Chapter 4.
An Introduction to UNIX System --- Cosc513 Presentation n Instructor: Morteza Anvari n Author: Yonghong Pan n ID#: n Date: Jan.29, 2001.
CENT 305 Information Systems Security Linux Introduction.
Basic unix commands that everyone should know (Even if you have a mac) Slightly more advanced:
CS 6560 Operating System Design Lecture 3:Tour of GNU/Linux.
System Administration Introduction to Unix Session 2 – Fri 02 Nov 2007 Reference:  chapter 1, The Unix Programming Environment, Kernighan & Pike, ISBN.
Session 2 Wharton Summer Tech Camp Basic Unix. Agenda Cover basic UNIX commands and useful functions.
1 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Some content in this lecture added.
Unix/Linux cs3353. The Shell The shell is a program that acts as the interface between the user and the kernel. –The shell is fully programmable and will.
ITR3 lecture 6: intoduction to UNIX Thomas Krichel
Introduction to Programming Using C An Introduction to Operating Systems.
CSC414 “Introduction to UNIX/ Linux” Lecture 5. Schedule 1. Introduction to Unix/ Linux 2. Kernel Structure and Device Drivers. 3. System and Storage.
1 CS3695/M6-109 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
THE UNIX SYSTEM Jan Recitation 2 Introduction to Networking.
Linux+ Guide to Linux Certification, Second Edition Chapter 4 Exploring Linux Filesystems.
Linux A practical introduction. 1)Background and Getting Started Linux is an operating system with multiple providers Red Hat/CentOS (our version) Ubuntu.
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.
Unix Fundamentals CS 127. File navigation cd - change directory cd /var/log cd /etc/apache2 cd ~/Desktop ~ is a shortcut for the home directory.
EMT 2390L Lecture 3 Dr. Reyes Reference: The Linux Command Line, W.E. Shotts.
Lecture 1: Introduction, Basic UNIX Advanced Programming Techniques.
Operating Systems and Using Linux Courtesy of John Y. Park 1.
Unix Lab Fall Shell Scripting ●Through the shell (LXTerminal) you can: ●Run programs. ●Interact with the file system. ●Change settings. ●Send/receive.
Learning Unix/Linux Based on slides from: Eric Bishop.
INTRODUCTION TO SHELL SCRIPTING By Byamukama Frank
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
Chapter 11 Command-Line Master Class
CS3695/M6-109 – Network Vulnerability Assessment & Risk Mitigation –
Andy Wang Object Oriented Programming in C++ COP 3330
Unix Shells.
Some Linux Commands.
The Command Prompt Commands are the way to “do things” in Unix
Software Tools Recitation 1
Basic UNIX OLC Training.
Operating Systems and Using Linux
An Introduction to UNIX System --- Cosc513 Presentation
CS 60 Discussion Review.
John Carelli, Instructor Kutztown University
Unix : Introduction and Commands
Introduction to Linux/UNIX
Operating Systems and Using Linux
Getting started with CentOS Linux
Andy Wang Object Oriented Programming in C++ COP 3330
CSE 303 Concepts and Tools for Software Development
Operating Systems and Using Linux
Video Notes.
Linux Commands LINUX COMMANDS.
Introduction to Linux Commands
A shell is a user interface.
Presentation transcript:

The UNIX SYSTEM Introduction to Networking

Unix Tools Shells Useful Commands Pipes & Redirects

Shells sh, csh, ksh, tcsh, bash, zsh Recommend tcsh or bash for interactive use. Both have command completion, simple command line editing and simple to use history facilities. Change logon shell using chsh

Intro to Unix: Files Filesystem a single tree ( no drives ) Filenames case senstitive Physical devices can be mounted anywhere / tmpdevetchomeusr chrislibmaryincludebinlocal libincludebin

Some basic commands the bash shell has automatic completion, just press completion is used for command names and for file names – try: pressing twice gives you all options

Intro to Unix: Essential Cmds cd- change directory - cd mkdir- make a directory - md cp- copy a file - copy ls- list files - dir rm- remove a file - del mv- move a file - move & ren grep- expression searching top- cpu and memory usage who/w- who else is logged in man- read documentation

Other unix commands where am I? – pwd who is around? – who where is that file? – find -name

Using find and grep with wildcards we can use “wildcard”characters to make searches more general “*” is the main one, means any set of characthers ex: – find /home/brian -name “*.ppt” : finds all powerpoint files in the account – grep human *.txt : look for the word “human” in all the files in my directory.

Pipes & redirects Pipes are used to pass the output from one Unix command as the input to another Unix command. ls | grep “mmk” Redirects are used to pass the output of a Unix command into a file. ls > directory_listing

Text Editors Crucial tools for using Unix Two main editors –emacs –vi Great features in both: –Syntax highlighting –Brace matching –Sophisticated text manipulation/movement –Scriptable –…

GCC and make Jan Recital 2 Introduction to Networking

Development tools in UNIX Creation of source files (.c,.h,.cpp) –Text editors (e.g. vi) –Revision control systems (e.g. cvs) Compilation (e.g. *.c *.o) and linking –Compilers (e.g. gcc) –Automatic building tools (e.g. make) Running and testing programs –Debuggers (e.g. gdb)

Links shop/unix/ shop/unix/ chedule.htmlhttp://courses.cs.vt.edu/~cs2204/spring2002/s chedule.html Fall97/Slides/ 209-Fall97/Slides/