CHAPTER - 1

Similar documents
Introduction of Linux

Introduction to the UNIX command line

CENG 334 Computer Networks. Laboratory I Linux Tutorial

Linux Shell Script. J. K. Mandal

Overview LEARN. History of Linux Linux Architecture Linux File System Linux Access Linux Commands File Permission Editors Conclusion and Questions

Unix Filesystem. January 26 th, 2004 Class Meeting 2

CHAPTER 1 UNIX FOR NONPROGRAMMERS

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories

Introduction to the Linux Command Line

Brief Linux Presentation. July 10th, 2006 Elan Borenstein

Unix File System. Class Meeting 2. * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech

Operating Systems. Copyleft 2005, Binnur Kurt

Operating Systems 3. Operating Systems. Content. What is an Operating System? What is an Operating System? Resource Abstraction and Sharing

Linux & Shell Programming 2014

Introduction to Linux. Woo-Yeong Jeong Computer Systems Laboratory Sungkyunkwan University

EECS Software Tools. Lab 2 Tutorial: Introduction to UNIX/Linux. Tilemachos Pechlivanoglou

Introduction: What is Unix?

Computer Architecture Lab 1 (Starting with Linux)

Introduction to Linux

Overview of Unix / Linux operating systems

Introduction to Linux Basics

Chapter-3. Introduction to Unix: Fundamental Commands

Week 2 Lecture 3. Unix

Introduction to Linux

Operating Systems. Engr. Abdul-Rahman Mahmood MS, PMP, MCP, QMR(ISO9001:2000) alphapeeler.sf.net/pubkeys/pkey.htm

Week 2. Exp 2 (a) (b): Introduction to LINUX OS, Installation of LINUX OS, Basic DOS commands

Introduction to Linux

Unix background. COMP9021, Session 2, Using the Terminal application, open an x-term window. You type your commands in an x-term window.

Introduction to Linux

Introduction to Linux

EKT332 COMPUTER NETWORK

Operating Systems and Using Linux. Topics What is an Operating System? Linux Overview Frequently Used Linux Commands

The Unix Shell & Shell Scripts

Files

Linux Training. for New Users of Cluster. Georgia Advanced Computing Resource Center University of Georgia Suchitra Pakala

CENG393 Computer Networks Labwork 1

Introduction to Unix: Fundamental Commands

Physics REU Unix Tutorial

Getting your department account

Linux Essentials. Programming and Data Structures Lab M Tech CS First Year, First Semester

History. Terminology. Opening a Terminal. Introduction to the Unix command line GNOME

Unix/Linux Basics. Cpt S 223, Fall 2007 Copyright: Washington State University

Introduction to UNIX. Logging in. Basic System Architecture 10/7/10. most systems have graphical login on Linux machines

CISC 220 fall 2011, set 1: Linux basics

Connecting to ICS Server, Shell, Vim CS238P Operating Systems fall 18

Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades Q2

Mills HPC Tutorial Series. Linux Basics I

Embedded Linux Systems. Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island

GNU/Linux Course Lesson 1. Puria Nafisi

h/w m/c Kernel shell Application s/w user

Session 1: Accessing MUGrid and Command Line Basics

LOG ON TO LINUX AND LOG OFF

CSE 390a Lecture 1. introduction to Linux/Unix environment

Introduction to Cygwin Operating Environment

Intro to Linux & Command Line

CSE 391 Lecture 1. introduction to Linux/Unix environment

Computer Systems and Architecture

Full file at

Outline. Structure of a UNIX command

: the User (owner) for this file (your cruzid, when you do it) Position: directory flag. read Group.

Working with Basic Linux. Daniel Balagué

Essential Linux Shell Commands

Introduction to Linux Workshop 1

EE516: Embedded Software Project 1. Setting Up Environment for Projects

CS246 Spring14 Programming Paradigm Notes on Linux

Lecture 3. Unix. Question? b. The world s best restaurant. c. Being in the top three happiest countries in the world.

Introduction to remote command line Linux. Research Computing Team University of Birmingham

Linux Session Part I. Kesavan M

The UNIX File System

Practical Computing-II. Programming in the Linux Environment. 0. An Introduction. B.W.Gore. March 20, 2015

Linux Command Line Primer. By: Scott Marshall

This lab exercise is to be submitted at the end of the lab session! passwd [That is the command to change your current password to a new one]

Using UNIX. -rwxr--r-- 1 root sys Sep 5 14:15 good_program

The UNIX File System

Introduction to Linux Overview and Some History

5/8/2012. Creating and Changing Directories Chapter 7

Introduction to UNIX/Linux

CS 307: UNIX PROGRAMMING ENVIRONMENT KATAS FOR EXAM 1

Introduction to Linux (Part I) BUPT/QMUL 2018/03/14

Linux Essentials Objectives Topics:

Hands-on Keyboard: Cyber Experiments for Strategists and Policy Makers

CSE 391 Lecture 1. introduction to Linux/Unix environment

Unix Basics. Systems Programming Concepts

Introduction to Linux

Introduction to UNIX command-line

COSC UNIX. Textbook. Grading Scheme

Unix/Linux Operating System. Introduction to Computational Statistics STAT 598G, Fall 2011

Lab Working with Linux Command Line

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions

CST8207: GNU/Linux Operating Systems I Lab Six Linux File System Permissions. Linux File System Permissions (modes) - Part 1

Prof. Navrati Saxena TA: R. Sachan

Welcome to Linux. Lecture 1.1

Introduction to Linux. Fundamentals of Computer Science

INTRODUCTION TO BIOINFORMATICS

CMSC421: Principles of Operating Systems

Shell Programming Overview

Perl and R Scripting for Biologists

UNIT 9 Introduction to Linux and Ubuntu

2) clear :- It clears the terminal screen. Syntax :- clear

CS Fundamentals of Programming II Fall Very Basic UNIX

Transcription:

CHAPTER - 1

LINUX (LIH-NUCKS) Official OS (Red Hat Enterprises Linux) Free OS ( Red Hat 9, Fedora)

INTRODUCTION TO LINUX Linux is quite possibly the most important free software achievement. It has been developed into an operating system for business, education and personal productivity. Linux (pronounced with a short I, as in LIH-nucks) is a UNIX operating system clone.

History of Linux UNIX is one of the most popular operating systems worldwide because of its large support base and distribution. It was originally developed at AT&T as a multitasking operating system for minicomputers and mainframes in the 1970 s, but has since grown to become one of the most widely used operating systems. Linux is a free version of UNIX developed by LINUS TORVALDS at the university of Helsinki in Finland.

About Linux Linus Torvalds originally developed Linux as a hobby project. Minix, a small UNIX system developed by Andy Tanenbaum, inspired it The Linux kernel uses no code from AT&T or any other proprietary source. On October 5, 1991, Linus announced the first official version of Linux,which was version 0.02.

Famous Linux Distributions Red Hat Linux SuSe Linux Caldera Linux Mandrake Linux Open Linux Aryabhat Linux

Why Linux? Linux is a UNIX like operating systems Multi-user, user, Multi-tasking tasking and Multi Processor Support There are no royalty or license fees A Linux Distribution has thousands of dollars worth of software for no cost or a couple of dollars if purchased on CD/DVD

Cont.. Software Development Supports Linux runs on nearly any CPU Linux works very well as a personal computer UNIX for the desktop Linux works well for server operations X-Window system (An excellent window system called X)

The Structure of Linux system Fig - I User Shell (Application Programs ) Kernel hardware devices

Fig - II

Hardware Devices : The lower most layer is the hardware components (i.e. physical components like your motherboard, hard disk drive, floppy drive, memory, etc ) Kernel : When your system is booted, the Linux kernel will be loaded into the memory of your system and after that the kernel will control the entire operating system. Shell : kernel. Shell is an interpreter through which a user can interact with Shell is program or command.

Linux Commands

ls ls -l for listing the files as well as directories those are kept in the particular working directory root]#ls -l ls -la same as 'ls -l'but by this command we can also see the hidden files. root]#ls la

Cont ls -li same as 'ls -la' but it will also shows us the inode number of each and every file root]#ls -li ls by this command we can see only file name nothing else root]#ls

Cont.. clear : it will clear the screen(short cut ctl+l) root]#clear exit : to end a current session as well current terminal logging root]exit touch : to create a new empty file root]#touch

Cont.. Cd: to change the working/present directory root]#cd /home/mango where '/home/mango' is the desired directory to be change from'/root Rm: to remove a empty file root]#rmrm filename

Cat: to view the contents of a file and it is also used for creating a new file with some contents root]#cat <file name> to view file contents root]#cat > newfilename enter,then you can write something in the file and then to save the file contents press clt+d then enter

Mkdir: to make a new directory root]#mkdir newdirname you can also create a directory at your desired path without changing your present working directory root]#mkdir /home/mango/newdirnamenewdirname

Rmdir: to remove a empty directory root]#rmdirrmdir directoryname rm [-i/-r/ r/-f] to remove a directory with its subdirectories as well as its files that is to remove a directory which already contains some files in it root]#rmrm -i directory/filename -i stands for interactively -r stands for recursively -f stands for forcefully

cp : to copy something in a destination file or directory Mv: to move one file or directory from one place to another place, it is also used for renaming a directory or file Man: to view the manual page of commands for root]#man commandname info to view the information about any command root]#mkdir info

Help: to view the help documents of a command root]#commandname help Dir: to view the subdirectories and files under the directory root]#dir su - to become a super user [mango@nettech mango]$su

Who: by this command you can see the user name and their ip addresses who have logged in on your server root]#who Whoami: this command shows your current logged in terminal user name root]#whoami who am i: this command shows you the logged in terminal number and user name and more detailed information

chmod Chmod (change mode) is used to change the permissions on a file. (owner) (group) (others) chmod [number][number][number] file1 Number = (read)4 + (write)2 + (execute)1 Example: Chmod 754 file1 for owner: read, write and execute permissions (4+2+1) for group: read and execute permissions (4+0+1) for others: only read permission (4+0+0) 23