Common UNIX Utilities Alphabetical List

Size: px
Start display at page:

Download "Common UNIX Utilities Alphabetical List"

Transcription

1 Common UNIX Utilities Alphabetical List addbib - create or extend a bibliographic database apropos - locate commands by keyword lookup ar - create library archives, and add or extract files at - execute a command or script at a specified time awk - pattern scanning and processing language banner - display a string in large letters basename - display portions of pathnames and filenames batch - runs jobs when the system load level permits biff - give notice of incoming mail messages cal - display a calendar calendar - a simple reminder service cancel - cancel requests to a printer cat - concatenate and display cb - a simple C program beautifier cc - C compiler cd - change working directory checknr - check nroff and troff input files; report possible errors checkeq - checks documents formatted with memorandum macros chgrp - change the group ownership of a file chmod - change the permissions mode of a file clear - clear the terminal screen cmp - perform a byte-by-byte comparison of two files colcrt - filter nroff output for a terminal lacking overstrike capability comm - selects or rejects lines common to two sorted files compress - compress files (see uncompress also) cp - copy files cpio - copy file archives in and out cpp - the C language preprocessor csh - a shell with a C-like syntax and advanced interactive features ctags - create a tags file for use with ex and vi cut - Writes out selected bytes, characters, or fields from each line of a file date - display or set the date dbx - source-level debugger deroff - remove nroff, troff, tbl and eqn constructs df - report free disk space on file systems diff - display line-by-line differences between pairs of text files du - display the number of disk blocks used per directory or file e - starts the INed editor echo - echo arguments to the standard output ed, red - basic line editor edit - provides a simple line editor for the new user eqn - formats mathematical text for the troff command. ex - edits lines interactively, with a screen display expand - expand TAB characters to SPACE characters (see unexpand) expr - evaluate arguments as a logical, arithmetic, or string expression false - provide truth values (see true also) file - determine the type of a file by examining its contents find - find files by name, or by other characteristics finger - display information about users 1

2 fmt - formats mail messages prior to sending fold - folds long lines for finite-width output device ftp - file transfer program gprof - display call-graph profile data grep - search a file for a string or regular expression groups - display a user's group memberships head - display first few lines of specified files hostname - set or print name of current host system indent - indent and format a C program source file install - install files join - relational database operator kill - send a signal to a process, or terminate a process last - indicate last logins by user or terminal ld - link editor leave - remind you when you have to leave lex - lexical analysis program generator lint - a C program verifier ln - make hard or symbolic links to files login - log in to the system look - find words in the system dictionary or lines in a sorted list lookbib - find references in a bibliographic database lorder - find an ordering relation for an object library lp - send requests to a printer lpq - display the queue of printer jobs lpr - send a job to the printer lprm - remove jobs from the printer queue ls - list the contents of a directory mail, Mail - read or send mail messages make - maintain, update, and regenerate related programs and files man - display reference manual pages mesg - permit or deny messages on the terminal mkdir - make a directory mkstr - create an error message file by massaging C source files more - browse or page through a text file mv - move or rename files nice - run a command at low priority nm - print symbol name list neqn - formats mathematical text for the nroff command. nroff - format documents for display or line-printer od - octal, decimal, hexadecimal, and ascii dump page - browse or page through a text file passwd - change local password information paste - joins lines from one or more files pr - prepare files for printing, perhaps in multiple columns prof - display profile data ps - display the status of current processes pwd - display the pathname of the current working directory ranlib - convert archives to random libraries rcp - remote file copy rev - reverse the order of characters in each line rlogin - remote login rm - remove files or directories rmdir - remove directories roffbib - format and print a bibliographic database rsh - remote shell rup - show host status of local machines RPC version ruptime - show host status of local machines rusers - who's logged in on local machines RPC version rwall - write to all users over a network 2

3 rwho - who's logged in on local machines sccs - front end for the Source Code Control System SCCS. Includes a number of related commands with their own man pages. script - make typescript of a terminal session sed - stream editor sh - shell, the standard UNIX system command interpreter and command-level language size - display the size of an object file sleep - suspend execution for a specified interval sort - sort and collate lines sortbib - sort a bibliographic database spell - report spelling errors split - split a file into pieces strings - find printable strings in an object file or binary strip - remove symbols and relocation bits from an object file stty - sets, resets, and reports workstation operating parameters su - super-user, temporarily switch to a new user ID tabs - set tab stops on a terminal tail - display the last part of a file talk - talk to another user tar - create tape archives, and add or extract files tbl - format tables for nroff or troff tee - replicate the standard output telnet - user interface to a remote system using the TELNET protocol test - evaluates conditional expressions tftp - trivial file transfer program time - time a command touch - update the access and modification times of a file troff - typeset or format documents true - provide truth values (see false also) tsort - topological sort tty - display the name of the terminal ul - do underlining uncompress - uncompress files (see compress also) uniq - remove or report adjacent duplicate lines units - conversion program uptime - show how long the system has been up users - display a compact list of users logged in uucp - system to system copy unexpand - restores TAB characters from SPACE characters (see expand) vacation - reply to mail automatically vi, vedit - visual display editor view - starts the vi editor in read-only mode w - who is logged in, and what are they doing wait - wait for a process to finish wall - write to all users logged in wc - display a count of lines, words and characters whatis - describes what function a command performs whereis - locates source, binary, or manual for program which - locates a program file, including aliases and paths who - identifies the users currently logged in whoami - display your username write - send messages to other users on the system in real time xargs - constructs parameter lists and runs commands xstr - extract strings from C programs to implement shared strings yacc - yet another compiler-compiler: parsing program generator yes - outputs an affirmative response repetitively zcat - display compressed files 3

4 Functional List Files and Directories ar - create library archives, and add or extract files basename - display portions of pathnames and filenames cat - concatenate and display cd - change working directory chgrp - change the group ownership of a file chmod - change the permissions mode of a file cmp - perform a byte-by-byte comparison of two files comm - selects or rejects lines common to two sorted files compress - compress files (see uncompress also) cp - copy files cpio - copy file archives in and out csh - a shell with a C-like syntax and advanced interactive features cut - Writes out selected bytes, characters, or fields from each line of a file df - report free disk space on file systems diff - display line-by-line differences between pairs of text files du - display the number of disk blocks used per directory or file expand - expand TAB characters to SPACE characters (see unexpand) file - determine the type of a file by examining its contents find - find files by name, or by other characteristics install - install files ftp - file transfer program grep - search a file for a string or regular expression head - display first few lines of specified files ln - make hard or symbolic links to files ls - list the contents of a directory mkdir - make a directory more - browse or page through a text file mv - move or rename files od - octal, decimal, hexadecimal, and ascii dump page - browse or page through a text file paste - joins lines from one or more files pwd - display the pathname of the current working directory rcp - remote file copy rev - reverse the order of characters in each line rm - remove files or directories rmdir - remove directories size - display the size of an object file sort - sort and collate lines spell - report spelling errors split - split a file into pieces strings - find printable strings in an object file or binary strip - remove symbols and relocation bits from an object file tail - display the last part of a file tar - create tape archives, and add or extract files tee - replicate the standard output tftp - trivial file transfer program touch - update the access and modification times of a file uncompress - uncompress files (see compress also) uniq - remove or report adjacent duplicate lines unexpand - restores TAB characters from SPACE characters (see expand) wc - display a count of lines, words and characters zcat - display compressed files 4

5 Information Mail apropos - locate commands by keyword lookup hostname - set or print name of current host system man - display reference manual pages rup - show host status of local machines RPC version ruptime - show host status of local machines uptime - show how long the system has been up whatis - describes what function a command performs whereis - locates source, binary, or manual for program which - locates a program file, including aliases and paths biff - give notice of incoming mail messages mail, Mail - read or send mail messages vacation - reply to mail automatically Miscellaneous Printing banner - display a string in large letters cal - display a calendar calendar - a simple reminder service date - display or set the date join - relational database operator echo - echo arguments to the standard output look - find words in the system dictionary or lines in a sorted list leave - remind you when you have to leave script - make typescript of a terminal session tsort - topological sort units - conversion program yes - outputs an affirmative response repetitively cancel - cancel requests to a printer lp - send requests to a printer lpq - display the queue of printer jobs lpr - send a job to the printer lprm - remove jobs from the printer queue pr - prepare files for printing, perhaps in multiple columns Programming Tools ar - create library archives, and add or extract files awk - pattern scanning and processing language cb - a simple C program beautifier cc - C compiler cpp - the C language preprocessor dbx - source-level debugger indent - indent and format a C program source file gprof - display call-graph profile data ld - link editor lex - lexical analysis program generator lint - a C program verifier lorder - find an ordering relation for an object library make - maintain, update, and regenerate related programs and files mkstr - create an error message file by massaging C source files nm - print symbol name list 5

6 prof - display profile data ranlib - convert archives to random libraries sccs - front end for the Source Code Control System SCCS. Includes a number of related commands with their own man pages. size - display the size of an object file strip - remove symbols and relocation bits from an object file xstr - extract strings from C programs to implement shared strings yacc - yet another compiler-compiler: parsing program generator Shells, Job Control and Access at - execute a command or script at a specified time batch - runs jobs when the system load level permits expr - evaluate arguments as a logical, arithmetic, or string expression false - provide truth values (see true also) kill - send a signal to a process, or terminate a process login - log in to the system nice - run a command at low priority passwd - change local password information ps - display the status of current processes rlogin - remote login rsh - remote shell sh - shell, the standard UNIX system command interpreter and command level language sleep - suspend execution for a specified interval su - super-user, temporarily switch to a new user ID telnet - user interface to a remote system using the TELNET protocol test - evaluates conditional expressions time - time a command true - provide truth values (see false also) wait - wait for a process to finish xargs - constructs parameter lists and runs commands Terminal Related clear - clear the terminal screen mesg - permit or deny messages on the terminal stty - sets, resets, and reports workstation operating parameters tabs - set tab stops on a terminal tty - display the name of the terminal Text Formatting and Editing addbib - create or extend a bibliographic database checknr - check nroff and troff input files; report possible errors checkeq - checks documents formatted with memorandum macros colcrt - filter nroff output for a terminal lacking overstrike capability ctags - create a tags file for use with ex and vi deroff - remove nroff, troff, tbl and eqn constructs e - starts the INed editor ed, red - basic line editor edit - provides a simple line editor for the new user eqn - formats mathematical text for the troff command. ex - edits lines interactively, with a screen display fmt - formats mail messages prior to sending fold - folds long lines for finite-width output device lookbib - find references in a bibliographic database neqn - formats mathematical text for the nroff command. nroff - format documents for display or line-printer roffbib - format and print a bibliographic database 6

7 sed - stream editor sortbib - sort a bibliographic database tbl - format tables for nroff or troff troff - typeset or format documents ul - do underlining vi, vedit - visual display editor view - starts the vi editor in read-only mode User Information and Communication finger - display information about users groups - display a user's group memberships last - indicate last logins by user or terminal rusers - who's logged in on local machines RPC version rwall - write to all users over a network rwho - who's logged in on local machines talk - talk to another user users - display a compact list of users logged in w - who is logged in, and what are they doing wall - write to all users logged in write - send messages to other users on the system in real time who - identifies the users currently logged in whoami - display your username uucp / BNU uucp - system to system copy uuencode, uudecode - encode a binary file, or decode its ASCII representation uulog - provides information about BNU file-transfer activities on a system. uuname - provides information about other systems accessible to the local system uusend - send a file to a remote host uux - runs a command on another UNIX-based system 7

Introduction p. 1 Who Should Read This Book? p. 1 What You Need to Know Before Reading This Book p. 2 How This Book Is Organized p.

Introduction p. 1 Who Should Read This Book? p. 1 What You Need to Know Before Reading This Book p. 2 How This Book Is Organized p. Introduction p. 1 Who Should Read This Book? p. 1 What You Need to Know Before Reading This Book p. 2 How This Book Is Organized p. 2 Conventions Used in This Book p. 2 Introduction to UNIX p. 5 An Overview

More information

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (( )) (( )) [ x x ] cdc communications, inc. [ x x ] \ / presents... \ / (` ') (` ') (U) (U) Gibe's UNIX COMMAND Bible ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The latest file from the Cow's

More information

List of Linux Commands in an IPm

List of Linux Commands in an IPm List of Linux Commands in an IPm Directory structure for Executables bin: ash cpio false ln mount rm tar zcat busybox date getopt login mv rmdir touch cat dd grep ls perl sed true chgrp df gunzip mkdir

More information

Contents. xxvii. Preface

Contents. xxvii. Preface Preface xxvii Chapter 1: Welcome to Linux 1 The GNU Linux Connection 2 The History of GNU Linux 2 The Code Is Free 4 Have Fun! 5 The Heritage of Linux: UNIX 5 What Is So Good About Linux? 6 Why Linux Is

More information

hash Remember the full pathname of a name argument head Output the first part of file(s) history Command History hostname Print or set system name

hash Remember the full pathname of a name argument head Output the first part of file(s) history Command History hostname Print or set system name LINUX Commands alias Create an alias apropos Search Help manual pages (man -k) awk Find and Replace text, database sort/validate/index break Exit from a loop builtin Run a shell builtin bzip2 Compress

More information

UNIX Essentials Featuring Solaris 10 Op System

UNIX Essentials Featuring Solaris 10 Op System A Active Window... 7:11 Application Development Tools... 7:7 Application Manager... 7:4 Architectures - Supported - UNIX... 1:13 Arithmetic Expansion... 9:10 B Background Processing... 3:14 Background

More information

Table of contents. Our goal. Notes. Notes. Notes. Summer June 29, Our goal is to see how we can use Unix as a tool for developing programs

Table of contents. Our goal. Notes. Notes. Notes. Summer June 29, Our goal is to see how we can use Unix as a tool for developing programs Summer 2010 Department of Computer Science and Engineering York University Toronto June 29, 2010 1 / 36 Table of contents 1 2 3 4 2 / 36 Our goal Our goal is to see how we can use Unix as a tool for developing

More information

Set 1 MCQ Which command is used to sort the lines of data in a file in reverse order A) sort B) sh C) st D) sort -r

Set 1 MCQ Which command is used to sort the lines of data in a file in reverse order A) sort B) sh C) st D) sort -r 1. Which symbol will be used with grep command to match the pattern pat at the beginning of a line? A) ^pat B) $pat C) pat$ D) pat^ 2. Which command is used to sort the lines of data in a file in reverse

More information

On successful completion of the course, the students will be able to attain CO: Experiment linked. 2 to 4. 5 to 8. 9 to 12.

On successful completion of the course, the students will be able to attain CO: Experiment linked. 2 to 4. 5 to 8. 9 to 12. CIE- 25 Marks Government of Karnataka Department of Technical Education Bengaluru Course Title: Linux Lab Scheme (L:T:P) : 0:2:4 Total Contact Hours: 78 Type of Course: Tutorial, Practical s & Student

More information

UNIX Quick Reference

UNIX Quick Reference UNIX Quick Reference This card represents a brief summary of some of the more frequently used UNIX commands that all users should be at least somewhat familiar with. Some commands listed have much more

More information

QUESTION BANK ON UNIX & SHELL PROGRAMMING-502 (CORE PAPER-2)

QUESTION BANK ON UNIX & SHELL PROGRAMMING-502 (CORE PAPER-2) BANK ON & SHELL PROGRAMMING-502 (CORE PAPER-2) TOPIC 1: VI-EDITOR MARKS YEAR 1. Explain set command of vi editor 2 2011oct 2. Explain the modes of vi editor. 7 2013mar/ 2013 oct 3. Explain vi editor 5

More information

LOG ON TO LINUX AND LOG OFF

LOG ON TO LINUX AND LOG OFF EXPNO:1A LOG ON TO LINUX AND LOG OFF AIM: To know how to logon to Linux and logoff. PROCEDURE: Logon: To logon to the Linux system, we have to enter the correct username and password details, when asked,

More information

Practical Session 0 Introduction to Linux

Practical Session 0 Introduction to Linux School of Computer Science and Software Engineering Clayton Campus, Monash University CSE2303 and CSE2304 Semester I, 2001 Practical Session 0 Introduction to Linux Novell accounts. Every Monash student

More information

Some useful UNIX Commands written down by Razor for newbies to get a start in UNIX

Some useful UNIX Commands written down by Razor for newbies to get a start in UNIX Some useful UNIX Commands written down by Razor for newbies to get a start in UNIX 15th Jan. 2000 / 3:55 am Part 1: Working with files and rights ------------------------------------- cp

More information

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

Introduction to Linux (Part I) BUPT/QMUL 2018/03/14 Introduction to Linux (Part I) BUPT/QMUL 2018/03/14 Contents 1. Background on Linux 2. Starting / Finishing 3. Typing Linux Commands 4. Commands to Use Right Away 5. Linux help continued 2 Contents 6.

More information

Chapter-3. Introduction to Unix: Fundamental Commands

Chapter-3. Introduction to Unix: Fundamental Commands Chapter-3 Introduction to Unix: Fundamental Commands What You Will Learn The fundamental commands of the Unix operating system. Everything told for Unix here is applicable to the Linux operating system

More information

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

2) clear :- It clears the terminal screen. Syntax :- clear 1) cal :- Displays a calendar Syntax:- cal [options] [ month ] [year] cal displays a simple calendar. If arguments are not specified, the current month is displayed. In addition to cal, the ncal command

More information

BIOINFORMATICS POST-DIPLOMA PROGRAM SUBJECT OUTLINE Subject Title: OPERATING SYSTEMS AND PROJECT MANAGEMENT Subject Code: BIF713 Subject Description:

BIOINFORMATICS POST-DIPLOMA PROGRAM SUBJECT OUTLINE Subject Title: OPERATING SYSTEMS AND PROJECT MANAGEMENT Subject Code: BIF713 Subject Description: BIOINFORMATICS POST-DIPLOMA PROGRAM SUBJECT OUTLINE Subject Title: OPERATING SYSTEMS AND PROJECT MANAGEMENT Subject Code: BIF713 Subject Description: This course provides Bioinformatics students with the

More information

Introduction to Supercomputing

Introduction to Supercomputing Introduction to Supercomputing TMA4280 Introduction to UNIX environment and tools 0.1 Getting started with the environment and the bash shell interpreter Desktop computers are usually operated from a graphical

More information

5/8/2012. Exploring Utilities Chapter 5

5/8/2012. Exploring Utilities Chapter 5 Exploring Utilities Chapter 5 Examining the contents of files. Working with the cut and paste feature. Formatting output with the column utility. Searching for lines containing a target string with grep.

More information

Linux Shell Script. J. K. Mandal

Linux Shell Script. J. K. Mandal Linux Shell Script J. K. Mandal Professor, Department of Computer Science & Engineering, Faculty of Engineering, Technology & Management University of Kalyani Kalyani, Nadia, West Bengal E-mail: jkmandal@klyuniv.ac.in,

More information

Computer Systems and Architecture

Computer Systems and Architecture Computer Systems and Architecture Introduction to UNIX Stephen Pauwels University of Antwerp October 2, 2015 Outline What is Unix? Getting started Streams Exercises UNIX Operating system Servers, desktops,

More information

IMPORTANT: Logging Off LOGGING IN

IMPORTANT: Logging Off LOGGING IN These are a few basic Unix commands compiled from Unix web sites, and printed materials. The main purpose is to help a beginner to go around with fewer difficulties. Therefore, I will be adding to this

More information

Utilities. September 8, 2015

Utilities. September 8, 2015 Utilities September 8, 2015 Useful ideas Listing files and display text and binary files Copy, move, and remove files Search, sort, print, compare files Using pipes Compression and archiving Your fellow

More information

Bash command line for Linux. adduser Add a user to the system. addgroup Add a group to the system. Create an alias

Bash command line for Linux. adduser Add a user to the system. addgroup Add a group to the system. Create an alias Bash command line for Linux. adduser Add a user to the system addgroup Add a group to the system alias Create an alias apropos Search Help manual pages (man -k) apt-get Search for and install software

More information

Contents. xxix. Preface

Contents. xxix. Preface Contents Preface xxix Chapter 1: Welcome to Mac OS X 1 The Heritage of Mac OS X: UNIX 2 The Open Source Connection 3 The Mach Kernel 3 The GNU Project 4 The BSD UNIX System 5 Darwin 5 Overview of Mac OS

More information

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]

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] Data and Computer Security (CMPD414) Lab II Topics: secure login, moving into HOME-directory, navigation on Unix, basic commands for vi, Message Digest This lab exercise is to be submitted at the end of

More information

for more :-

for more :- JNTU ONLINE EXAMINATIONS [Mid 1 - UNIX] 1. C programmers in the unix environment has complete access to the entire system call library as well as the a. static library functions b. dynamic library functions

More information

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

Unix/Linux Operating System. Introduction to Computational Statistics STAT 598G, Fall 2011 Unix/Linux Operating System Introduction to Computational Statistics STAT 598G, Fall 2011 Sergey Kirshner Department of Statistics, Purdue University September 7, 2011 Sergey Kirshner (Purdue University)

More information

UNIX Quick Reference

UNIX Quick Reference UNIX Quick Reference Charles Duan FAS Computer Services August 26, 2002 1 Command Reference Many of these commands have many more options than the ones displayed here. Most also take the option h or help,

More information

Introduction to the UNIX command line

Introduction to the UNIX command line Introduction to the UNIX command line Steven Abreu Introduction to Computer Science (ICS) Tutorial Jacobs University s.abreu@jacobs-university.de September 19, 2017 Overview What is UNIX? UNIX Shell Commands

More information

Introduction to Unix: Fundamental Commands

Introduction to Unix: Fundamental Commands Introduction to Unix: Fundamental Commands Ricky Patterson UVA Library Based on slides from Turgut Yilmaz Istanbul Teknik University 1 What We Will Learn The fundamental commands of the Unix operating

More information

Provides ability to perform UNIX commands at some time in the future. At time time on day day, the commands in filefile will be executed.

Provides ability to perform UNIX commands at some time in the future. At time time on day day, the commands in filefile will be executed. Some UNIX Commands at at time [day] [file] Provides ability to perform UNIX commands at some time in the future. At time time on day day, the commands in filefile will be executed. Often used to do time-consuming

More information

Computer Systems and Architecture

Computer Systems and Architecture Computer Systems and Architecture Stephen Pauwels Computer Systems Academic Year 2018-2019 Overview of the Semester UNIX Introductie Regular Expressions Scripting Data Representation Integers, Fixed point,

More information

CSCE 212H, Spring 2008, Matthews Lab Assignment 1: Representation of Integers Assigned: January 17 Due: January 22

CSCE 212H, Spring 2008, Matthews Lab Assignment 1: Representation of Integers Assigned: January 17 Due: January 22 CSCE 212H, Spring 2008, Matthews Lab Assignment 1: Representation of Integers Assigned: January 17 Due: January 22 Manton Matthews January 29, 2008 1 Overview The purpose of this assignment is to become

More information

Introduction to Linux

Introduction to Linux Introduction to Linux University of Bristol - Advance Computing Research Centre 1 / 47 Operating Systems Program running all the time Interfaces between other programs and hardware Provides abstractions

More information

Perl and R Scripting for Biologists

Perl and R Scripting for Biologists Perl and R Scripting for Biologists Lukas Mueller PLBR 4092 Course overview Linux basics (today) Linux advanced (Aure, next week) Why Linux? Free open source operating system based on UNIX specifications

More information

This appendix is a quick reference for essential UNIX/Linux utilities available

This appendix is a quick reference for essential UNIX/Linux utilities available APPENDIX B SYNTAX GUIDE TO UNIX/LINUX COMMANDS This appendix is a quick reference for essential UNIX/Linux utilities available on most systems. lists the commands alphabetically, including the command

More information

UNIX 2 OPERATING SYSTEM

UNIX 2 OPERATING SYSTEM UNIX 2 OPERATING SYSTEM hapter SYS-ED/ OMPUTER EDUATION TEHNIQUES, IN. Objectives You will learn: Process management in Solaris. omponents of the operating system. Flow of control within the operating

More information

Week 5 Lesson 5 02/28/18

Week 5 Lesson 5 02/28/18 Week 5 Lesson 5 02/28/18 Important Announcements Extra Credits If you haven t done so, send your pictures to risimms@cabrillo.edu for 3 points EXTRA CREDIT. Join LinkedIn for 3 points Perkins/VTEA Survey

More information

Unix Introduction to UNIX

Unix Introduction to UNIX Unix Introduction to UNIX Get Started Introduction The UNIX operating system Set of programs that act as a link between the computer and the user. Developed in 1969 by a group of AT&T employees Various

More information

Getting Started. Running Utilities. Shells. Special Characters. Special Characters. Chapter 2 Unix Utilities for non-programmers

Getting Started. Running Utilities. Shells. Special Characters. Special Characters. Chapter 2 Unix Utilities for non-programmers Chapter 2 Unix Utilities for non-programmers Graham Glass and King Ables, UNIX for Programmers and Users, Third Edition, Pearson Prentice Hall, 2003. Original Notes by Raj Sunderraman Converted to presentation

More information

Introduction To Linux. Rob Thomas - ACRC

Introduction To Linux. Rob Thomas - ACRC Introduction To Linux Rob Thomas - ACRC What Is Linux A free Operating System based on UNIX (TM) An operating system originating at Bell Labs. circa 1969 in the USA More of this later... Why Linux? Free

More information

Unix Tools / Command Line

Unix Tools / Command Line Unix Tools / Command Line An Intro 1 Basic Commands / Utilities I expect you already know most of these: ls list directories common options: -l, -F, -a mkdir, rmdir make or remove a directory mv move/rename

More information

Bharadia Jaydeep OS with Unix MCQ

Bharadia Jaydeep OS with Unix MCQ Operating Syetm 1) CLI means a) Common Line Inline b) Common Line Interface c) Common Language Interface d) Compile Language Interface 2) As is the software component of a computer system that is responsible

More information

UNIX Basics. UNIX Basics CIS 218 Oakton Community College

UNIX Basics. UNIX Basics CIS 218 Oakton Community College UNIX Basics UNIX Basics CIS 218 Oakton Community College History UNIX was invented in 1969 at AT&T Bell Labs Ken Thompson and Dennis Ritchie are credited as the original architects and developers of C.

More information

RH033 Red Hat Linux Essentials

RH033 Red Hat Linux Essentials RH033 Red Hat Linux Essentials Version 3.5 QUESTION NO: 1 You work as a Network Administrator for McNeil Inc. The company has a Linux-based network. A printer is configured on the network. You want to

More information

The UNIX Shells. Computer Center, CS, NCTU. How shell works. Unix shells. Fetch command Analyze Execute

The UNIX Shells. Computer Center, CS, NCTU. How shell works. Unix shells. Fetch command Analyze Execute Shells The UNIX Shells How shell works Fetch command Analyze Execute Unix shells Shell Originator System Name Prompt Bourne Shell S. R. Bourne /bin/sh $ Csh Bill Joy /bin/csh % Tcsh Ken Greer /bin/tcsh

More information

CENG 334 Computer Networks. Laboratory I Linux Tutorial

CENG 334 Computer Networks. Laboratory I Linux Tutorial CENG 334 Computer Networks Laboratory I Linux Tutorial Contents 1. Logging In and Starting Session 2. Using Commands 1. Basic Commands 2. Working With Files and Directories 3. Permission Bits 3. Introduction

More information

Shell Programming Systems Skills in C and Unix

Shell Programming Systems Skills in C and Unix Shell Programming 15-123 Systems Skills in C and Unix The Shell A command line interpreter that provides the interface to Unix OS. What Shell are we on? echo $SHELL Most unix systems have Bourne shell

More information

Essential Unix (and Linux) for the Oracle DBA. Revision no.: PPT/2K403/02

Essential Unix (and Linux) for the Oracle DBA. Revision no.: PPT/2K403/02 Essential Unix (and Linux) for the Oracle DBA Revision no.: PPT/2K403/02 Architecture of UNIX Systems 2 UNIX System Structure 3 Operating system interacts directly with Hardware Provides common services

More information

Useful Unix Commands Cheat Sheet

Useful Unix Commands Cheat Sheet Useful Unix Commands Cheat Sheet The Chinese University of Hong Kong SIGSC Training (Fall 2016) FILE AND DIRECTORY pwd Return path to current directory. ls List directories and files here. ls dir List

More information

Unix as a Platform Exercises + Solutions. Course Code: OS 01 UNXPLAT

Unix as a Platform Exercises + Solutions. Course Code: OS 01 UNXPLAT Unix as a Platform Exercises + Solutions Course Code: OS 01 UNXPLAT Working with Unix Most if not all of these will require some investigation in the man pages. That's the idea, to get them used to looking

More information

Unix as a Platform Exercises. Course Code: OS-01-UNXPLAT

Unix as a Platform Exercises. Course Code: OS-01-UNXPLAT Unix as a Platform Exercises Course Code: OS-01-UNXPLAT Working with Unix 1. Use the on-line manual page to determine the option for cat, which causes nonprintable characters to be displayed. Run the command

More information

CS4350 Unix Programming. Outline

CS4350 Unix Programming. Outline Outline Unix Management Files and file systems Structure of Unix Commands Command help (man) Log on (terminal vs. graphical) System information (utility) File and directory structure (path) Permission

More information

Kali Linux Commands Cheat Sheet

Kali Linux Commands Cheat Sheet Kali Linux Commands Cheat Sheet Todos os comandos básicos de A a Z em Kali Linux. A apropos : Search Help manual pages (man -k) apt-get : Search for and install software packages (Debian/Ubuntu) aptitude

More information

Fall Lecture 5. Operating Systems: Configuration & Use CIS345. The Linux Utilities. Mostafa Z. Ali.

Fall Lecture 5. Operating Systems: Configuration & Use CIS345. The Linux Utilities. Mostafa Z. Ali. Fall 2009 Lecture 5 Operating Systems: Configuration & Use CIS345 The Linux Utilities Mostafa Z. Ali mzali@just.edu.jo 1 1 The Linux Utilities Linux did not have a GUI. It ran on character based terminals

More information

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

Introduction to UNIX. Logging in. Basic System Architecture 10/7/10. most systems have graphical login on Linux machines Introduction to UNIX Logging in Basic system architecture Getting help Intro to shell (tcsh) Basic UNIX File Maintenance Intro to emacs I/O Redirection Shell scripts Logging in most systems have graphical

More information

M.C.A. (Sem.-lll) (CBCS) Examination November CCA-3003 Operating System and LinuxlUnix programming

M.C.A. (Sem.-lll) (CBCS) Examination November CCA-3003 Operating System and LinuxlUnix programming IIMII 003-007303 M.C.A. (Sem.-lll) (CBCS) Examination November-20 13 CCA-3003 Operating System and LinuxlUnix programming Faculty Code: 003 Subject Code: 007303 Time: 2'/' Hoursl ITotal Marks: 70 I. Attempt

More information

CSE 303 Lecture 2. Introduction to bash shell. read Linux Pocket Guide pp , 58-59, 60, 65-70, 71-72, 77-80

CSE 303 Lecture 2. Introduction to bash shell. read Linux Pocket Guide pp , 58-59, 60, 65-70, 71-72, 77-80 CSE 303 Lecture 2 Introduction to bash shell read Linux Pocket Guide pp. 37-46, 58-59, 60, 65-70, 71-72, 77-80 slides created by Marty Stepp http://www.cs.washington.edu/303/ 1 Unix file system structure

More information

Appendix A GLOSSARY. SYS-ED/ Computer Education Techniques, Inc.

Appendix A GLOSSARY. SYS-ED/ Computer Education Techniques, Inc. Appendix A GLOSSARY SYS-ED/ Computer Education Techniques, Inc. $# Number of arguments passed to a script. $@ Holds the arguments; unlike $* it has the capability for separating the arguments. $* Holds

More information

Shell Programming Overview

Shell Programming Overview Overview Shell programming is a way of taking several command line instructions that you would use in a Unix command prompt and incorporating them into one program. There are many versions of Unix. Some

More information

Linux Reference Card - Command Summary

Linux Reference Card - Command Summary Linux Reference Card - Command Summary adduser adduser dsoneil This command will automatically add a new user to the system The Bash script can be found in /usr/sbin if it needs to be changes alias alias

More information

PDF Downloaded from StuffPrime All Tech Stuff That Matters

PDF Downloaded from StuffPrime All Tech Stuff That Matters List Of Latest Kali Linux Commands In 2018 PDF Downloaded from StuffPrime All Tech Stuff That Matters Kali Linux Command (A-Z) Output From A apropos apt-get aptitude aspell awk Get Help Related Documents

More information

Files

Files http://www.cs.fsu.edu/~langley/cop3353-2013-1/reveal.js-2013-02-11/02.html?print-pdf 02/11/2013 10:55 AM Files A normal "flat" file is a collection of information. It's usually stored somewhere reasonably

More information

Introduction to Linux Part 1. Anita Orendt and Wim Cardoen Center for High Performance Computing 24 May 2017

Introduction to Linux Part 1. Anita Orendt and Wim Cardoen Center for High Performance Computing 24 May 2017 Introduction to Linux Part 1 Anita Orendt and Wim Cardoen Center for High Performance Computing 24 May 2017 ssh Login or Interactive Node kingspeak.chpc.utah.edu Batch queue system kp001 kp002. kpxxx FastX

More information

acmteam/unix.pdf How to manage your account (user ID, password, shell); How to compile C, C++, and Java programs;

acmteam/unix.pdf How to manage your account (user ID, password, shell); How to compile C, C++, and Java programs; Note: you can find this file under: http://www.cs.queensu.ca/ acmteam/unix.pdf Introduction to Unix Tutorial In this tutorial, you will learn: How to manage your account (user ID, password, shell); Navigating

More information

UNIX ASSIGNMENT 1 TYBCA (Sem:V)

UNIX ASSIGNMENT 1 TYBCA (Sem:V) UNIX ASSIGNMENT 1 TYBCA (Sem:V) Given Date: 06-08-2015 1. Explain the difference between the following thru example ln & paste tee & (pipeline) 2. What is the difference between the following commands

More information

The Unix Shell & Shell Scripts

The Unix Shell & Shell Scripts The Unix Shell & Shell Scripts You should do steps 1 to 7 before going to the lab. Use the Linux system you installed in the previous lab. In the lab do step 8, the TA may give you additional exercises

More information

Teaching and Examination Scheme: PAPER HRS TH TU PR TH PR OR TW TOTAL

Teaching and Examination Scheme: PAPER HRS TH TU PR TH PR OR TW TOTAL Course Name : Computer Engineering Group Course Code : CO/CD/CM/CW/IF Semester : Fifth for CO/CM/CW/IF and Sixth for CD Subject Title : Operating System Subject Code : 17512 Teaching and Examination Scheme:

More information

Operating Systems. Copyleft 2005, Binnur Kurt

Operating Systems. Copyleft 2005, Binnur Kurt 3 Operating Systems Copyleft 2005, Binnur Kurt Content The concept of an operating system. The internal architecture of an operating system. The architecture of the Linux operating system in more detail.

More information

Linux environment. Graphical interface X-window + window manager. Text interface terminal + shell

Linux environment. Graphical interface X-window + window manager. Text interface terminal + shell Linux environment Graphical interface X-window + window manager Text interface terminal + shell ctrl-z put running command to background (come back via command fg) Terminal basics Two basic shells - slightly

More information

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

Operating Systems 3. Operating Systems. Content. What is an Operating System? What is an Operating System? Resource Abstraction and Sharing Content 3 Operating Systems The concept of an operating system. The internal architecture of an operating system. The architecture of the Linux operating system in more detail. How to log into (and out

More information

Lezione 8. Shell command language Introduction. Sommario. Bioinformatica. Mauro Ceccanti e Alberto Paoluzzi

Lezione 8. Shell command language Introduction. Sommario. Bioinformatica. Mauro Ceccanti e Alberto Paoluzzi Lezione 8 Bioinformatica Mauro Ceccanti e Alberto Paoluzzi Dip. Informatica e Automazione Università Roma Tre Dip. Medicina Clinica Università La Sapienza Sommario Shell command language Introduction A

More information

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

Introduction to remote command line Linux. Research Computing Team University of Birmingham Introduction to remote command line Linux Research Computing Team University of Birmingham Linux/UNIX/BSD/OSX/what? v All different v UNIX is the oldest, mostly now commercial only in large environments

More information

Introduction to the shell Part II

Introduction to the shell Part II Introduction to the shell Part II Graham Markall http://www.doc.ic.ac.uk/~grm08 grm08@doc.ic.ac.uk Civil Engineering Tech Talks 16 th November, 1pm Last week Covered applications and Windows compatibility

More information

Linux Interview Questions and Answers

Linux Interview Questions and Answers Linux Interview Questions and Answers You need to see the last fifteen lines of the files dog, cat and horse. What command should you use? tail -15 dog cat horse The tail utility displays the end of a

More information

Basic Unix Command. It is used to see the manual of the various command. It helps in selecting the correct options

Basic Unix Command. It is used to see the manual of the various command. It helps in selecting the correct options Basic Unix Command The Unix command has the following common pattern command_name options argument(s) Here we are trying to give some of the basic unix command in Unix Information Related man It is used

More information

R10. IV B.Tech II Semester Regular Examinations, April/May UNIX AND SHELL PROGRAMMING

R10. IV B.Tech II Semester Regular Examinations, April/May UNIX AND SHELL PROGRAMMING Set No. 1 Code No: R42029 UNIX AND SHELL PROGRAMMING (Electrical and Electronics Engineering) 1 a) Explain the unix kernel architecture [7] b) Explain the following unix commands i) ssty ii) cp iii) tar

More information

A Brief Introduction to the Linux Shell for Data Science

A Brief Introduction to the Linux Shell for Data Science A Brief Introduction to the Linux Shell for Data Science Aris Anagnostopoulos 1 Introduction Here we will see a brief introduction of the Linux command line or shell as it is called. Linux is a Unix-like

More information

THE LINU X T H E L IN U X COMM A ND L INE

THE LINU X T H E L IN U X COMM A ND L INE BA NISH YOUR MOUSE takes you from your very first terminal keystrokes to writing full programs in Bash, the most popular Linux shell. Along the way you ll learn the timeless skills handed down by generations

More information

IBM AIX Operating System Courses

IBM AIX Operating System Courses IBM AIX Operating System Courses (Platforms: POWER4+ based) AIX Basics Fundamentals (3 days) AIX Basics Shell Scripting (Korn / Bash ) and awk Programming (3 days) Advanced IBM AIX Systems Programming

More information

April 2007 UNIX - An Overview No.76

April 2007 UNIX - An Overview No.76 Contents Page What is UNIX?... 1 UNIX Users... 1 The UNIX File System... 1 The Shell... 1 The Tool Concept... 1 Standard I/O... 1 Pipelines - Building Blocks... 1 Getting Help - The Man Pages and InfoExplorer...

More information

AN INTRODUCTION TO UNIX

AN INTRODUCTION TO UNIX AN INTRODUCTION TO UNIX Paul Johnson School of Mathematics September 18, 2011 OUTLINE 1 INTRODUTION Unix Common Tasks 2 THE UNIX FILESYSTEM Moving around Copying, deleting File Permissions 3 SUMMARY OUTLINE

More information

CSCM98 Lab Class #5 Getting familiar with the command line

CSCM98 Lab Class #5 Getting familiar with the command line CSCM98 Lab Class #5 Getting familiar with the command line Lab Class Description. Unix has some powerful commands that can be combined inside shell scripts. Today we will have a look at various commands

More information

Introduction: What is Unix?

Introduction: What is Unix? Introduction Introduction: What is Unix? An operating system Developed at AT&T Bell Labs in the 1960 s Command Line Interpreter GUIs (Window systems) are now available Introduction: Unix vs. Linux Unix

More information

GNU/Linux 101. Casey McLaughlin. Research Computing Center Spring Workshop Series 2018

GNU/Linux 101. Casey McLaughlin. Research Computing Center Spring Workshop Series 2018 GNU/Linux 101 Casey McLaughlin Research Computing Center Spring Workshop Series 2018 rccworkshop IC;3df4mu bash-2.1~# man workshop Linux101 RCC Workshop L101 OBJECTIVES - Operating system concepts - Linux

More information

Introduction to Linux

Introduction to Linux Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA - Kisik Jeong (kisik@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating

More information

Introduction to UNIX. Introduction. Processes. ps command. The File System. Directory Structure. UNIX is an operating system (OS).

Introduction to UNIX. Introduction. Processes. ps command. The File System. Directory Structure. UNIX is an operating system (OS). Introduction Introduction to UNIX CSE 2031 Fall 2012 UNIX is an operating system (OS). Our goals: Learn how to use UNIX OS. Use UNIX tools for developing programs/ software, specifically shell programming.

More information

Introduction to UNIX. CSE 2031 Fall November 5, 2012

Introduction to UNIX. CSE 2031 Fall November 5, 2012 Introduction to UNIX CSE 2031 Fall 2012 November 5, 2012 Introduction UNIX is an operating system (OS). Our goals: Learn how to use UNIX OS. Use UNIX tools for developing programs/ software, specifically

More information

Introduction to Linux

Introduction to Linux Introduction to Linux Mukesh Pund Principal Scientist, NISCAIR, New Delhi, India History In 1969, a team of developers developed a new operating system called Unix which was written using C Linus Torvalds,

More information

A Brief Introduction to Unix

A Brief Introduction to Unix A Brief Introduction to Unix Sean Barag Drexel University March 30, 2011 Sean Barag (Drexel University) CS 265 - A Brief Introduction to Unix March 30, 2011 1 / 17 Outline 1 Directories

More information

Lezione 8. Shell command language Introduction. Sommario. Bioinformatica. Esercitazione Introduzione al linguaggio di shell

Lezione 8. Shell command language Introduction. Sommario. Bioinformatica. Esercitazione Introduzione al linguaggio di shell Lezione 8 Bioinformatica Mauro Ceccanti e Alberto Paoluzzi Esercitazione Introduzione al linguaggio di shell Dip. Informatica e Automazione Università Roma Tre Dip. Medicina Clinica Università La Sapienza

More information

Linux at the Command Line Don Johnson of BU IS&T

Linux at the Command Line Don Johnson of BU IS&T Linux at the Command Line Don Johnson of BU IS&T We ll start with a sign in sheet. We ll end with a class evaluation. We ll cover as much as we can in the time allowed; if we don t cover everything, you

More information

Linux Refresher (1) 310/ Fourth Workshop on Distributed Laboratory Instrumentation Systems (30 October - 24 November 2006)

Linux Refresher (1) 310/ Fourth Workshop on Distributed Laboratory Instrumentation Systems (30 October - 24 November 2006) 310/1779-4 Fourth Workshop on Distributed Laboratory Instrumentation Systems (30 October - 24 November 2006) Linux Refresher (1) Razaq Babalola IJADUOLA These lecture notes are intended only for distribution

More information

Tru64 UNIX Command and Shell User s Guide

Tru64 UNIX Command and Shell User s Guide Tru64 UNIX Command and Shell User s Guide Part Number: AA-RH91A-TE July 1999 Product Version: Tru64 UNIX Version 5.0 or higher This guide explains how to use commands and shells in Compaq Tru64 UNIX (formerly

More information

Intro ======= for proj in st surf tabbed sbase nldev; do printf "%%s - the past and the future.\n" "${proj}" done. Christoph Lohmann

Intro ======= for proj in st surf tabbed sbase nldev; do printf %%s - the past and the future.\n ${proj} done. Christoph Lohmann Intro ======= for proj in st surf tabbed sbase nldev; do printf "%%s - the past and the future.\n" "${proj}" done Christoph Lohmann st - History ============== 2008-05-11 - first check in

More information

BASH SHELL SCRIPT 1- Introduction to Shell

BASH SHELL SCRIPT 1- Introduction to Shell BASH SHELL SCRIPT 1- Introduction to Shell What is shell Installation of shell Shell features Bash Keywords Built-in Commands Linux Commands Specialized Navigation and History Commands Shell Aliases Bash

More information

Lecture # 2 Introduction to UNIX (Part 2)

Lecture # 2 Introduction to UNIX (Part 2) CS390 UNIX Programming Spring 2009 Page 1 Lecture # 2 Introduction to UNIX (Part 2) UNIX is case sensitive (lowercase, lowercase, lowercase) Logging in (Terminal Method) Two basic techniques: 1. Network

More information

Basic Linux Commands. Srihari Kalgi M.Tech, CSE (KReSIT), IIT Bombay. May 5, 2009

Basic Linux Commands. Srihari Kalgi M.Tech, CSE (KReSIT), IIT Bombay. May 5, 2009 Basic Linux Commands Srihari Kalgi M.Tech, CSE (KReSIT), IIT Bombay May 5, 2009 General Purpose utilities Linux File System File Handling Commands Compressing and Archiving Files Simple Filters General

More information