L&T Infotech1 UNIX – Getting Started - Aneesh Ramani.

Slides:



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

1 Introduction to UNIX Ke Liu
Linux Workshop Session 1 Khadka, Santosh and Panthi, Sanjeeb Computer Science Department Lamar Univers Lamar Univers ity.
It's a binary file kept under specific directory.
ATS Programming Short Course I INTRODUCTORY CONCEPTS Tuesday, Jan. 27 th, 2009 Essential Unix Commands.
Exploring the UNIX File System and File Security
Working Environment - - Linux - -.
Linux+ Guide to Linux Certification, Second Edition
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.
Very Quick & Basic Unix Steven Newhouse Unix is user-friendly. It's just very selective about who its friends are.
UNIX. find command ● The find command is used to locate files on a Unix or Linux system. find will search any set of directories you specify for files.
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.
7/17/2009 rwjBROOKDALE COMMUNITY COLLEGE1 Unix Comp-145 C HAPTER 2.
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.
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.
Brief introduction to UNIX A. Emerson CINECA, High Performance Systems.
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.
Lesson 7-Creating and Changing Directories. Overview Using directories to create order. Managing files in directories. Using pathnames to manage files.
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.
Basic unix commands that everyone should know (Even if you have a mac) Slightly more advanced:
UNIX command line. In this module you will learn: What is the computer shell What is the command line interface What is the directory tree Some UNIX commands.
File Permissions. What are the three categories of users that apply to file permissions? Owner (or user) Group All others (public, world, others)
Introduction to Unix – CS 21 Lecture 9. Lecture Overview Shell description Shell choices History Aliases Topic review.
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
Chapter Two Exploring the UNIX File System and File Security.
Session 2 Wharton Summer Tech Camp Basic Unix. Agenda Cover basic UNIX commands and useful functions.
UNIX Commands. Why UNIX Commands Are Noninteractive Command may take input from the output of another command (filters). May be scheduled to run at specific.
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.
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.
Log-in to the Unix Server A successful log-in allows access to the server through the Secure Shell. SSH, also known as Secure Shocket Shell, is a Unix.
Basic Unix Commands CGS 3460, Lecture 6 Jan 23, 2006 Zhen Yang.
Intro to UNIX Presented by: Student Ambassadors: Lauren Lewis Martin Sung.
Introduction to Programming Using C An Introduction to Operating Systems.
Basic of UNIX For fresh members of SPARCS
Linux Commands C151 Multi-User Operating Systems.
ATS Programming Short Course I INTRODUCTORY CONCEPTS Tuesday, Feb 3 rd, 2009 Essential Unix Commands …the second half.
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.
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.
Lecture 1: Introduction, Basic UNIX Advanced Programming Techniques.
ICE UNIX TUTORIAL. File System Commands cd – change directory cd – change directory ls – list contents ls – list contents rm – remove/delete rm – remove/delete.
Learning basic Unix command It 325 operating system.
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.
Quality Thought Technologies
Getting started with CentOS Linux
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.
C151 Multi-User Operating Systems
Introduction to Linux Dr Karina Kubiak - Ossowska
Introduction to UNIX.
Introduction to Linux Week 0 - Thursday.
CS 60 Discussion Review.
Unix : Introduction and Commands
Introduction to Computer Organization & Systems
The Unix File System.
Introduction Paul Flynn
Getting started with CentOS Linux
Andy Wang Object Oriented Programming in C++ COP 3330
Linux Commands LINUX COMMANDS.
Presentation transcript:

L&T Infotech1 UNIX – Getting Started - Aneesh Ramani

L&T Infotech2 Agenda UNIX Anatomy Listing Files, Browsing Directories Copy, Move, Display Files File system security Processes Other Useful Commands UNIX variables vi editor

L&T Infotech3 UNIX Anatomy Kernel is the hub of the operating system: it allocates time and memory to programs and handles the filestore and communications in response to system calls. The shell acts as an interface between the user and the kernel. The shell is a command line interpreter (CLI). It interprets the commands the user types in and arranges for them to be carried out.

L&T Infotech4 Listing Files, Browsing Directories Everything in UNIX is either a file or a process. ls - lists the contents of your current working directory ls –a, ls -l mkdir – creates a new sub-directory cd – to change to the working directory cd ~, cd.., cd / pwd – to find out the absolute pathname of the working directory

L&T Infotech5 Copy, Move, Display Files cp file1 file2 - makes a copy of file1 in the current working directory and calls it file2 mv file1 file2 - moves file1 into a different file/ directory. rm – removes a file rmdir – removes a directory cat – to display contents of a file tail – to display last few lines of a file

L&T Infotech6 File system security ls -l chmod - to change permissions of a file chmod go-rwx filename

L&T Infotech7 Processes A process is an executing program identified by a unique PID (process identifier). To background a process, type an & at the end of the command line. ps - to see information about the processes jobs - to view job list kill - to kill a process

L&T Infotech8 Other commands tar - to tar a group of files/directories tar cvf filename.tar directory tar xvf filename.tar gzip - to compress a file. gunzip - to uncompress a zipped file (.gz extension) history - lists the command history in the shell !! - In C shell, this provides the last command alias - to set alias for an action e.g. alias ll="ls -ltr"

L&T Infotech9 UNIX Variables Variables are a way of passing information from the shell to programs when you run them. Shell variables - apply only to the current instance of the shell Environment variables - set at login are valid for the duration of the session echo $variable - to print the value of the variable.profile,.cshrc,.kshrc,.bashrc

L&T Infotech10 vi editor vi filename There are 2 modes in vi Command - where you can run command Insert - where you can insert text i - to insert a - to append x - to cut p - to paste. - to repeat last command u - to undo

L&T Infotech11 THANK YOU