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

Similar documents
UNIX Shell Programming

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

5/20/2007. Touring Essential Programs

UNIX Kernel. UNIX History

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

Operating Systems, Unix Files and Commands SEEM

Unix System Architecture, File System, and Shell Commands

CSC UNIX System, Spring 2015

5/8/2012. Specifying Instructions to the Shell Chapter 8

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

UNIX System Administration

ACS Unix (Winter Term, ) Page 21

Today. Operating System Evolution. CSCI 4061 Introduction to Operating Systems. Gen 1: Mono-programming ( ) OS Evolution Unix Overview

The Online Unix Manual

Today. Operating System Evolution. CSCI 4061 Introduction to Operating Systems. Gen 1: Mono-programming ( ) OS Evolution Unix Overview

Assignment clarifications

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

Operating Systems. Copyleft 2005, Binnur Kurt

EECS2301. Lab 1 Winter 2016

Linux & Shell Programming 2014

BASH SHELL SCRIPT 1- Introduction to Shell

Linux System Administration

Outline. Cgroup hierarchies

Bash Reference Manual

Shells and Shell Programming

Chapter-3. Introduction to Unix: Fundamental Commands

Overview of Unix / Linux operating systems

Introduction to Unix: Fundamental Commands

Shells and Shell Programming

CST Algonquin College 2

Lecture Topics. Announcements. Today: Operating System Overview (Stallings, chapter , ) Next: Processes (Stallings, chapter

Outline. Cgroup hierarchies

File Commands. Objectives

Appendix B WORKSHOP. SYS-ED/ Computer Education Techniques, Inc.

Scripting Languages Course 1. Diana Trandabăț

System Programming. Introduction to Unix

CISC 220 fall 2011, set 1: Linux basics

The Unix Shell & Shell Scripts

System Programming. Unix Shells

Chapter 9. Shell and Kernel

Unix Internal Assessment-2 solution. Ans:There are two ways of starting a job in the background with the shell s & operator and the nohup command.

(MCQZ-CS604 Operating Systems)

5/8/2012. Exploring Utilities Chapter 5

Bash Reference Manual Reference Documentation for Bash Edition 2.5b, for Bash Version 2.05b. July 2002

client X11 Linux workstation

COMP 4/6262: Programming UNIX

Linux for Beginners. Windows users should download putty or bitvise:

1Z Oracle Linux Fundamentals (Oracle Partner Network) Exam Summary Syllabus Questions

CS246 Spring14 Programming Paradigm Notes on Linux

Bashed One Too Many Times. Features of the Bash Shell St. Louis Unix Users Group Jeff Muse, Jan 14, 2009

D. Delete the /var/lib/slocate/slocate.db file because it buffers all search results.

UNIX. The Very 10 Short Howto for beginners. Soon-Hyung Yook. March 27, Soon-Hyung Yook UNIX March 27, / 29

Shell Programming Overview

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

UNIX System Programming Lecture 3: BASH Programming

Introduction to Linux

Welcome to Linux. Lecture 1.1

UNIX 2 OPERATING SYSTEM

Crash Course in Unix. For more info check out the Unix man pages -orhttp:// -or- Unix in a Nutshell (an O Reilly book).

Perl and R Scripting for Biologists

Continue reading command lines even after an execution error has caused the abandonment of aline.

Introduction to Linux

CHAPTER 3 SHELL PROGRAMS: SCRIPTS

Shells. A shell is a command line interpreter that is the interface between the user and the OS. The shell:

Unix/Linux: History and Philosophy

Processes and Shells

Unix Introduction to UNIX

Shell script. Shell Scripts. A shell script contains a sequence of commands in a text file. Shell is an command language interpreter.

Unix Processes. What is a Process?

Examples: Directory pathname: File pathname: /home/username/ics124/assignments/ /home/username/ops224/assignments/assn1.txt

What is the Shell. Whenever you login to a Unix system you are placed in a program called the shell. All of your work is done within the shell.

CSC209: Software tools. Unix files and directories permissions utilities/commands Shell programming quoting wild cards files

CSC209: Software tools. Unix files and directories permissions utilities/commands Shell programming quoting wild cards files. Compiler vs.

CSE II-Sem)

Introduction to Linux

CMU MSP 36602: Intro to UNIX and Scripting: Part 1

bash, part 3 Chris GauthierDickey

Introduction to the Shell

85321, Systems Administration Chapter 6: The shell

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

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

LINUX FUNDAMENTALS (5 Day)

Introduction to Linux. Fundamentals of Computer Science

Underlying computer system = hardware + software

CSC209H Lecture 1. Dan Zingaro. January 7, 2015

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

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

Introduction to Linux Basics

Standard. Shells. tcsh. A shell script is a file that contains shell commands that perform a useful function. It is also known as shell program.

Std: XI CHAPTER-3 LINUX

Mid Term from Feb-2005 to Nov 2012 CS604- Operating System

Linux Systems Administration Getting Started with Linux

CS 25200: Systems Programming. Lecture 10: Shell Scripting in Bash

This is Lab Worksheet 13 - not an Assignment. Boot Process and GRUB

Linux Fundamentals (L-120)

Introduction to Shell Scripting

Linux Essentials. Smith, Roderick W. Table of Contents ISBN-13: Introduction xvii. Chapter 1 Selecting an Operating System 1

22-Sep CSCI 2132 Software Development Lecture 8: Shells, Processes, and Job Control. Faculty of Computer Science, Dalhousie University

Bash Programming. Student Workbook

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

Transcription:

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 the arguments. Logical OR when between two patterns. : The transform command. LOGICAL OR. && LOGICAL AND. -x Turns on the shell script trace option. +x Turns off the shell script trace option.. dum.sh The dot means dum.sh is executed in the current shell. It is used for changing the env value. Absolute Pathnames AIX Argument Array ASCII Table Backslash (\) Bash Batch queue Binary file Bin Block size Bourne Shell sh Break Indicates the path of directories that must be navigated from the root to a directory or file. IBM Corporation version of UNIX. Group of one or more characters passed to a program. An ordered collection of data storage locations, each of which holds the same type of data. Each storage location is called an element of the array or member. American Standard Code for Information Interchange. ASCII characters use only seven of the bits in a (8-bit) byte. Changes the interpretation of the next character in some way. The bash is fairly similar to the Korn shell. Developed by the Free Software Foundation, it has several of the C shell's features. A mechanism for organizing multiple jobs. A batch queue receives job requests from users and then executes the jobs one at a time. A file with non-text characters, which is a directly executable file. A directory, which holds executable programs or scripts. Size of the file system represents the size of the actual number of blocks present in the file system. The block size is the largest amount of data that a UNIX filesystem will allocate. The filesystem block size is different from a disk's physical block size. Oldest and most readily available UNIX shell; the Bourne shell has fewer features than all the others shells. Breaks out of a loop, break n determines the loop number to break out of. SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (UNIX for App Dev - 4.12) APP A: Page 1

BSD UNIX Buffer Continue n C Shell csh CUT CDPATH Command Line Core dump Default Directory Tree Dot (.) files (.cshrc,.login,.profile Double quote (") Escape Export EXPR Filesystem Full-duplex Fragment Getopts GREP GNU Hardcoded Acronym for Berkeley Software Development. BSD introduced virtual memory, networking, and the fast file system. Temporary storage area within the computer's memory. Skips through a loop; n specifies loop to proceed to. Developed at Berkeley Software Development Company, it is the most widely used and interactive shell. Remove specific chunks of data from an input source. Specifies a list of directories to be searched when executing a change directory. Entering a command on the command line instructs the computer what to execute after the Return key has been entered. The shell interprets the command and executes the program. UNIX commands are case sensitive. Large files generated for debugging. When choices are provided and none is entered, the default option is selected. A default will typically be the most common choice. The default file for many UNIX programs is the standard input. All directories on a UNIX system are organized into a hierarchical structure. The parent directory of the tree is known as the root directory and is written as a forward slash (/). The root is the top most directory and contains all the subdirectories. Files which are executed by default when the shell is started. Used around a part of a UNIX command line where the shell should do variable and command substitution, but no other interpretation. Escaping a character or a string of characters changes the way it is interpreted. Allows a local value to be made available to the sub-shells. [export atif] Evaluates arguments as expressions. A file is the unit of storage in UNIX and files are organized into directories. Communications between a terminal and a computer where data flows in both directions at the same time. A fragment is a portion of a disk block; it usually is one-eighth of a block. Used to manage command line arguments for shell scripts. The string search command A system of software planned to eventually be a freely available substitute for UNIX. A value that can't be changed. SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (UNIX for App Dev - 4.12) APP A: Page 2

Inode Job Job Number Library Functions Load Average NFS: Network File System Newline character Null Octal number Portable POSIX Process PID: Process ID Priority Kernel Korn shell (Ksh) Hash table Home Directory i-number Optind Option switch A data structure that describes a file. The number of inodes, and the maximum number of files, is set when the filesystem is created. One UNIX command or a set of programs. Shells with job control assign a job number to every command that is stopped or running in the background. Packages of system calls and other functions for programmers. An measure of CPU usage; it is defined as the average number of jobs in the run queue plus the average number of jobs that are blocked while waiting for disk I/O. Allows UNIX and many non-unix systems to share files via a TCP/IP network. The character that marks the end of a line of text. Empty, zero-length, with no characters. It is not the same as an ASCII NULL character. The base 8 numbering system; with the digits 0 through 7. Octal numbers can be converted to binary. A program that can be used on more than one version of UNIX or across many platforms. An open computer operating system that is similar to UNIX. A name for a program that is running on the system; a single execution thread or a single stream of computer instructions. UNIX assigns every process an ID number when it starts. A number that determines how or when often the kernel will run a process. Core operating system of a UNIX operating system, it provides memory management, I/O services, and all other low-level services. Designed for writing complex scripts; it has most of the C shell features and is a standard part of UNIX System V Release 4. Hashing data into the format of a hash table allows specially designed programs to perform rapid data searches. Upon login to a UNIX system, the user is placed in the home directory. A number used by UNIX to identify files. Each file's i-number is stored in a directory, along with the filename. Option index, works with getopts. Typed on a command line to modify the way that a UNIX command works. It usually starts with a dash (-). SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (UNIX for App Dev - 4.12) APP A: Page 3

Partition Pipe Process PID: Process ID Prompt PS1 PS2 Read Read Readonly Read-only filesystem Recursive Relative Pathnames Sarch path SCSI SED Shell Shell prompt Single quote Sleep SORT Special file A portion of a disk drive. UNIX disk drives typically have eight partitions, although not all are in use. A UNIX mechanism for sending the output of one program directly to the input of another program. All UNIX systems support pipes. A process can be described as a program that is running on the system, a process is a single execution thread, or a single stream of computer instructions. UNIX assigns every process an ID number, known as a PID when it starts. The PID is unique whilst the process is running and can be re-assigned when killed. Form in which a program asks for information. Prompt variable for the bourne shell. $PS1 =$prompt in Cshell. Second prompt variable for the bourne shell. Reads entered value from command line into a variable. Returns 0 unless EOF. Reads entered value and stops shell from interpreting backslash characters at EOF. Makes a variable readonly. When a filesystem is read-only then non-administrators can only read the contents. Filesystems are typically set up to allow write access to users who have the proper permissions. A program or routine that re-executes itself or repeats an action over and over. A file or directory can be located with a relative pathname; the location will be in relation to the working directory. List of directories that the shell searches to find the program file to be executed. Standard interface for disk and tape devices used widely on operating systems. It stands for Small Computer Systems Interface. Stream editor. Interface between the UNIX operating system and the user; it converts the users commands into instructions for the operating system. The shell reads and interprets command lines arguments and also runs those programs. Common shells include Bourne sh, Korne ksh, and C csh shells, as well as bash and tcsh. Signal from a shell that the shell is ready to read a command line. The ' character; it is used around a part of a UNIX command line where the shell should do no interpretation. Suspends execution, for specified number of seconds. Sorts contents of argument in a specified order. An entity in the Unix filesystem, which accesses I/O devices. SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (UNIX for App Dev - 4.12) APP A: Page 4

Subdirectory Swapping System call Tcsh TCP/IP Timestamp Termcap Terminal emulator TR Uuencode, uudecode White space Working directory A directory inside another directory. Technique that the UNIX kernel uses to clean up physical memory. The kernel moves entire processes from memory to disk and then reassigns the memory to some other command. Making a call to functions provided by the systems directly; it is the lowest interface to the UNIX operating system. An extended version of the C shell. Transmission Control/Protocol Internet protocol is the standard used by any system connecting to the Internet. UNIX filesystem stores the times that each file was modified, accessed, or had a change to its inode; these times are the timestamps. Stands for terminal capabilities; which are a common way to describe terminals to UNIX. Program that makes a computer display act like a terminal. The transform command. Utilities that create ASCII versions of files characters into an ASCII (7-bit) format - and decode them back into the original binary format. It is used for transferring data across communications links that can't transfer binary (8-bit) data. Series of space or TAB characters. Working directory or Cwd current working directory is the directory currently being worked in. Unless UNIX is instructed otherwise, all commands that have been entered apply to the files in the working directory. SYS-ED/COMPUTER EDUCATION TECHNIQUES, INC. (UNIX for App Dev - 4.12) APP A: Page 5