My Own Help On Unix Environment

Size: px
Start display at page:

Download "My Own Help On Unix Environment"

Transcription

1 My Own Help On Unix Environment ***** *** * This is my own collection on some tips/hints to help my work on Unix Environment. As my Unix is my second skill, hence the information here is very basic and only work in circumstances. Table of Content 1.0 For the Slow FTP Temporary/Permant adding a new IP to network card Domain Name Service (DNS) For Sendmail and defined main on Sun Solaris If Statement Case Statement For statement Expression Null command While statement Until Statement Continue statement Run things at background Redirect output file Mounting and Unmounting the CD-ROM Mounting a Local CD-ROM Drive Mounting a Remote CD-ROM Drive Umounting a Local CD-ROM Drive Unmounting a Remote CD-ROM Drive... 7

2 1.0 For the Slow FTP. Could be the cause of ipv6 and ipv4 (on Winws it uses ipv4) so we might need to force it to use ipv4 only. Create a new file /etc/netsvc.cnf and enter as below hosts=local4=auth,bind4 /* this looks at the localhost then the authorisation will be used under bind4 (ie: ipv4) 2.0 Temporary/Permant adding a new IP to network card. We can use the ifconfig command #ifconfig en0 inet up This command above will add an IP to NIC Domain Name Service (DNS) For the Domain Name Service Edit the /etc/resolv.conf and add two line nameserver main oz.quest.com 4.0 For Sendmail and defined main on Sun Solaris. Look at /etc/init.d/inetinit for setting up a default Domain/Router/Gateway etc... or simply create a new /etc/defautlmain /*as specify in /etc/init.d/inetinit */ and enter a default main name. Run a "man mainname" for more information. For sendmail to work with an option of MailerTable and DomainTable, make sure the Domain are correcting setup on both mailertable and maintable.

3 5.0 If Statement The following is described the If statement. if... then... elif... then elif... then... else... fi eg: #cat > user if who grep $1 then echo "User $1 is login" else echo "$1 isn't login" fi #user testuser1 here $1 will return testuser1 variable in the "grep $1" And this value $1 is represent a Standard Output (stut) 6.0 Case Statement The following is described the Case statement. case $1 in NotLogIn01 NotLogIn02 NotLogIn03 NotLogIn04) echo "$1 is not login";; User01) echo "user 01 is login";; User02) echo "user 02 is login";; *) "Sorry no user like that has been found";; esac Here " " is defined as " or " ";;" defined that the command will run untiil this end " * " defined that all other variable, should place at the end of case statement. 7.0 For statement The following is described the For statement. for it in * echo $1

4 8.0 Expression To execute the expression, we can use " [ " Note that, it has to be space between the character. This is also called a test command. eg: #[ 7 -gt 6 ] This will test if 7 is greater than Null command A Null command is represent by " : " that esn't execute anything While statement The following is described the While statement. while ls grep green echo "found file green" cat green This will execute until the " green " has been removed or Ctrl + C has been pressed. To avoid a continuous loop, we use a " break " command while echo " Press 99 to exit read keypress if [ $keypress -eq 99 ] then break else echo "You typed $keypress" fi

5 11.0 Until Statement The following is described the Until statement. until ls grep green echo " green isn't found. here is a list of availble files " ls g* This will execute until this condition isn't true (ie: green file isn't there) Continue statement This allows us to execute some of the commands in a FOR loop and leave others out. for filvar if [! -f "$filvar" ] then echo "$filvar esn't exist" continue fi cat $filvar If we open an existing file, it will run " cat " cmd. If we run without an existing file, then only " echo " cmd is executed Run things at background To run things in the background, we use & simple. For example, we end the " " command with " & " (ie: " & " ) 14.0 Redirect output file To redirect standard error to output file by typing " 2>filename " after a " " command (ie: " 2>FileName " )

6 15.0 Mounting and Unmounting the CD-ROM This appendix describes how to mount and unmount the Campus CD-ROM on an AIX system and provides general information only. For more detailed instructions, consult your AIX cumentation. You can install Campus from a CD-ROM mounted on the Campus server system or from a CD- ROM mounted on a remote AIX system. After you complete the Campus installation, you must unmount the CD-ROM drive. This appendix contains: 15.1 Mounting a Local CD-ROM Drive To mount a local CD-ROM drive: Step 1 Insert the Campus CD-ROM. Step 2 Become the superuser by entering the command su and the root password at the command prompt, or log in as root. The command prompt changes to the pound sign (#). Step 3 If the /cdrom directory es not already exist, enter the following command to create it: # mkdir /cdrom Step 4 Start SMIT by entering: # smit Step 5 From the SMIT System Management menu, select System Storage Management (Physical & Logical Storage). Step 6 Select File Systems. Step 7 Select Add/Change/Show/Delete File Systems. Step 8 Select CDROM File Systems. Step 9 Select Add a CDROM File System Step 10 Click the DEVICE name List button, and select the device name (such as cd0) from the list that appears. Step 11 Enter the name of a mount point directory (such as /cdrom) in the Mount Point field. Step 12 Click OK and check for messages in the Output: field. If you have already performed this procedure, or if another device is already mounted on the mount point, the process fails. Step 13 Click Done. Click Cancel to clear the Add CD-ROM File System dialog box. Step 14 Stop SMIT by pressing F12 or selecting Exit > Exit SMIT. Step 15 Enter the following at the command prompt: # smit mountfs The Mount a File System dialog box appears. Step 16 Click the FILE SYSTEM name List button, and select the device name of the CD-ROM drive that you want to mount (such as cd0) from the list that appears. Step 17 In the DIRECTORY over which to mount field, enter the name of a mount point directory (for example, /cdrom). Step 18 Click the TYPE of file system List button, and select cdrfs as the filesystem type. Step 19 Set the Mount as Read-Only system field to yes. Step 20 Click OK and check for messages in the Output: field. If the mount is successful, there are no messages. Step 21 Click Done.

7 Step 22 Click Cancel to exit SMIT Mounting a Remote CD-ROM Drive To mount a remote CD-ROM drive: Step 1 Perform all steps described in 15.1 on the remote workstation. Step 2 From the command line, enter this command: # smit mknfsexp The Add a Directory to Exports List dialog box appears. Step 3 Enter the CD-ROM mount point directory (such as /cdrom) in the PATHNAME of directory to export field. Step 4 Use the arrow buttons to change the Mode to Export Directory field to read-only. Step 5 Enter the appropriate information, if necessary, into the other fields. Step 6 Click OK, and check for messages in the Output: field. Step 7 Click Done. Step 8 Click Cancel to exit SMIT. After working on the remote workstation, perform the following steps on the local workstation: a. Log in as root. b. Enter this command: # mount remote_hostname:remote_exported_filesystem_name \ local_mount_point For example, to mount the /cdrom remote filesystem from the workstation zen to the local /cdrom directory, enter this command: # mount zen:/cdrom /cdrom 15.3 Umounting a Local CD-ROM Drive To unmount a local CD-ROM drive: Step 1 Unmount the CD-ROM filesystem by performing one of the following procedures: a. As root, enter: # cd # umount themountpoint Where themountpoint is the directory on the local system on which you mounted the CD-ROM. For example, if you mounted the CD-ROM on the local directory /cdrom, enter unmount / cdrom: Or a. As root, start SMIT by entering smit. b. Select System Storage Management. c. Select File Systems. d. Select Unmount a File System. e. Enter the mountpoint in the Name of the file system to unmount field. f. Click OK. Step 2 Remove the CD-ROM and store it in a safe place Unmounting a Remote CD-ROM Drive To unmount a remote CD-ROM drive: Step 1 As root, invoke SMIT at the remote machine by entering the command smit.

8 Step 2 Select System Storage Management (Physical & Local Storage). Step 3 Select File Systems. Step 4 Select Add/Change/Show/Delete File Systems. Step 5 Select Network File System (NFS). Step 6 Select Network File System (NFS) again. Step 7 Select Remove a Directory from Exports List. Step 8 Enter the CD-ROM mount point directory (such as /cdrom) in the PATHNAME of exported directory to be removed field and click OK. Step 9 As root, enter these commands on the remote and local machines: # cd # umount themountpoint Where themountpoint is the directory on the system on which you mounted the CD-ROM. For example, if you mounted the CD-ROM on the directory /cdrom on both the local and remote systems, you would enter this command on both machines: # umount /cdrom Note Alternatively, you can use SMIT to unmount the CD-ROM filesystem on the local machine as explained in the 15.3 section. Step 10 Remove the CD-ROM and store it in a safe place.

CiscoView CD Installation Instructions for AIX

CiscoView CD Installation Instructions for AIX CiscoView CD Installation Instructions for AIX CiscoView is a device management application that provides dynamic status, statistics, and comprehensive configuration information for Cisco Systems switched

More information

Mounting and Unmounting the CD-ROM

Mounting and Unmounting the CD-ROM APPENDIX Mounting and Unmounting the CD-ROM This appendix describes how to mount and unmount the CD One CD-ROM on a HP-UX 11.0 system. It contains general information only. For more detailed instructions,

More information

CiscoView CD Installation Instructions for Solaris and HP-UX

CiscoView CD Installation Instructions for Solaris and HP-UX CiscoView CD Installation Instructions for Solaris and HP-UX This instruction book provides information about installing and running CiscoView on your network management station. You can install CiscoView

More information

Lab Working with Linux Command Line

Lab Working with Linux Command Line Introduction In this lab, you will use the Linux command line to manage files and folders and perform some basic administrative tasks. Recommended Equipment A computer with a Linux OS, either installed

More information

Linux Command Line Primer. By: Scott Marshall

Linux Command Line Primer. By: Scott Marshall Linux Command Line Primer By: Scott Marshall Draft: 10/21/2007 Table of Contents Topic Page(s) Preface 1 General Filesystem Background Information 2 General Filesystem Commands 2 Working with Files and

More information

Mounting and Unmounting the CD-ROM Drive on Solaris

Mounting and Unmounting the CD-ROM Drive on Solaris APPENDIX A Mounting and Unmounting the CD-ROM Drive on Solaris You can install the SGM server client software from a CD-ROM drive connected to your local system from a CD-ROM drive connected to a remote

More information

Installing Essentials

Installing Essentials CHAPTER 1 This chapter describes how to install and uninstall Essentials, including upgrades and reinstallation. You must install CiscoWorks2000 CD One before you can install Resource Manager Essentials.

More information

CiscoView CD Installation Instructions

CiscoView CD Installation Instructions CiscoView CD Installation Instructions This instruction book provides information about installing and running CiscoView on your network management station. You can install CiscoView on a Solaris workstation,

More information

LAB #7 Linux Tutorial

LAB #7 Linux Tutorial Gathering information: LAB #7 Linux Tutorial Find the password file on a Linux box Scenario You have access to a Linux computer. You must find the password file on the computer. Objective Get a listing

More information

User s Guide for SAS Software Navigator

User s Guide for SAS Software Navigator User s Guide for SAS Software Navigator Copyright Notice The correct bibliographic citation for this manual is as follows: SAS Institute Inc., User s Guide for SAS Software Navigator Title, Cary, NC: SAS

More information

UNIX System Programming Lecture 3: BASH Programming

UNIX System Programming Lecture 3: BASH Programming UNIX System Programming Outline Filesystems Redirection Shell Programming Reference BLP: Chapter 2 BFAQ: Bash FAQ BMAN: Bash man page BPRI: Bash Programming Introduction BABS: Advanced Bash Scripting Guide

More information

Chapter 5 The Bourne Shell

Chapter 5 The Bourne Shell Chapter 5 The Bourne Shell Graham Glass and King Ables, UNIX for Programmers and Users, Third Edition, Pearson Prentice Hall, 2003 Notes by Bing Li Creating/Assigning a Variable Name=value Variable created

More information

INd_rasN SOME SHELL SCRIPTING PROGRAMS. 1. Write a shell script to check whether the name passed as first argument is the name of a file or directory.

INd_rasN SOME SHELL SCRIPTING PROGRAMS. 1. Write a shell script to check whether the name passed as first argument is the name of a file or directory. 1. Write a shell script to check whether the name passed as rst argument is the name of a le or directory. Ans: #!/bin/bash if [ -f $1 ] echo "$1 is a le" echo "$1 is not a le" 2. Write a shell script

More information

While Statement Examples. While Statement (35.15) Until Statement (35.15) Until Statement Example

While Statement Examples. While Statement (35.15) Until Statement (35.15) Until Statement Example While Statement (35.15) General form. The commands in the loop are performed while the condition is true. while condition one-or-more-commands While Statement Examples # process commands until a stop is

More information

NETW 110 Lab 4 Using eth0 Configuration Mounting Drives and Devices Page 1

NETW 110 Lab 4 Using eth0 Configuration Mounting Drives and Devices Page 1 NETW 110 Lab 4 Using eth0 Configuration Mounting Drives and Devices Page 1 Objective At the conclusion of this lab, the student will be able to perform necessary post-installation hardware configuration

More information

Eigner PLM 5.1. Installation Manual for Eigner PLM 5.1 UNIX Client

Eigner PLM 5.1. Installation Manual for Eigner PLM 5.1 UNIX Client Eigner PLM 5.1 Installation Manual for Eigner PLM 5.1 UNIX Client Copyrights and Trademarks Copyright 1995-2003 Agile Software Corporation. All rights reserved. You shall not create any derivative works

More information

Shell. SSE2034: System Software Experiment 3, Fall 2018, Jinkyu Jeong

Shell. SSE2034: System Software Experiment 3, Fall 2018, Jinkyu Jeong Shell Prof. Jinkyu Jeong (Jinkyu@skku.edu) TA -- Minwoo Ahn (minwoo.ahn@csl.skku.edu) TA -- Donghyun Kim (donghyun.kim@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu

More information

Conditional Control Structures. Dr.T.Logeswari

Conditional Control Structures. Dr.T.Logeswari Conditional Control Structures Dr.T.Logeswari TEST COMMAND test expression Or [ expression ] Syntax Ex: a=5; b=10 test $a eq $b ; echo $? [ $a eq $b] ; echo $? 2 Unix Shell Programming - Forouzan 2 TEST

More information

OPERATING SYSTEMS LINUX

OPERATING SYSTEMS LINUX OPERATING SYSTEMS LINUX Božo Krstajić, PhD, University of Montenegro Podgorica bozok@cg.ac.yu Process management Linux operating systems work with processes. Basically a process consists of program code

More information

Installing Essentials

Installing Essentials CHAPTER 1 This chapter describes installing Resource Manager Essentials 3.2 on a Windows system. It consists of: Product Overview Installation Overview Preparing to Install Essentials Importing Data Manually

More information

COMP 4/6262: Programming UNIX

COMP 4/6262: Programming UNIX COMP 4/6262: Programming UNIX Lecture 12 shells, shell programming: passing arguments, if, debug March 13, 2006 Outline shells shell programming passing arguments (KW Ch.7) exit status if (KW Ch.8) test

More information

SANJAY GHODAWAT POLYTECHNIC

SANJAY GHODAWAT POLYTECHNIC EXPERIMENT NO. 01 Name of Experiment Implement following commands with their options: ps and kill. df and du mount and umount. (4 Hours) Prerequisite of. / execution of Basic knowledge about linux command.

More information

OrbixTalk 3.3 Installation Guide Windows NT, Solaris, and HP/UX

OrbixTalk 3.3 Installation Guide Windows NT, Solaris, and HP/UX OrbixTalk 3.3 Installation Guide Windows NT, Solaris, and HP/UX September 2000 Platforms Product Code Windows NT 4.0 (Service Pack 6a) Solaris 2.7 HP/UX 11.00 Product Code Version s1514 Windows NT 4.0

More information

ProductCenter Database Merge Utility Installation Guide

ProductCenter Database Merge Utility Installation Guide ProductCenter Database Merge Utility Installation Guide Release 8.4.0 January, 2006 NorthRidge Software, LLC www.nridge.com (603) 434-2525 CONTENTS Introduction... 3 Planning Your Installation... 3 Location...

More information

System Programming. Introduction to Unix

System Programming. Introduction to Unix Content : by Dr. B. Boufama School of Computer Science University of Windsor Instructor: Dr. A. Habed adlane@cs.uwindsor.ca http://cs.uwindsor.ca/ adlane/60-256 Content Content 1 Introduction 2 3 Introduction

More information

Micro Focus VisiBroker Installation Guide

Micro Focus VisiBroker Installation Guide Micro Focus VisiBroker 8.5.5 Installation Guide Micro Focus The Lawn 22-30 Old Bath Road Newbury, Berkshire RG14 1QN UK http://www.microfocus.com Copyright Micro Focus 2009-2018 All rights reserved. MICRO

More information

Unix Guide. Meher Krishna Patel. Created on : Octorber, 2017 Last updated : December, More documents are freely available at PythonDSP

Unix Guide. Meher Krishna Patel. Created on : Octorber, 2017 Last updated : December, More documents are freely available at PythonDSP Unix Guide Meher Krishna Patel Created on : Octorber, 2017 Last updated : December, 2017 More documents are freely available at PythonDSP Table of contents Table of contents i 1 Unix commands 1 1.1 Unix

More information

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

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions Welcome to getting started with Ubuntu 12.04 Server. This System Administrator Manual guide to be simple to follow, with step by step instructions with screenshots INDEX 1.Installation of Ubuntu 12.04

More information

This guide consists of the following two chapters and an appendix. Chapter 1 Installing ETERNUSmgr This chapter describes how to install ETERNUSmgr.

This guide consists of the following two chapters and an appendix. Chapter 1 Installing ETERNUSmgr This chapter describes how to install ETERNUSmgr. Preface This installation guide explains how to install the "ETERNUSmgr for HP-UX" storage system management software on an ETERNUS DX400 series, ETERNUS DX8000 series, ETERNUS2000, ETERNUS4000, ETERNUS8000,

More information

Disks, Filesystems 1

Disks, Filesystems 1 Disks, Filesystems 1 sudo and PATH (environment) disks partitioning formatting file systems: mkfs command checking file system integrity: fsck command /etc/fstab mounting file systems: mount command unmounting

More information

CD Installation Guide for the Cisco SIP Proxy Server on Solaris (Version 1.1)

CD Installation Guide for the Cisco SIP Proxy Server on Solaris (Version 1.1) CD Installation Guide for the Cisco SIP Proxy Server on Solaris (Version 1.1) The CD Installation Guide for the Cisco SIP Proxy Server on Solaris describes how to install the Cisco SIP Proxy Server software

More information

Oracle 1Z Oracle Solaris 11 System Administration.

Oracle 1Z Oracle Solaris 11 System Administration. Oracle Oracle Solaris 11 System Administration http://killexams.com/exam-detail/ QUESTION: 147 Review the boot environments displayed on your system: Which option describes the solaris-1 BE? A. It is active

More information

Essentials for Scientific Computing: Bash Shell Scripting Day 3

Essentials for Scientific Computing: Bash Shell Scripting Day 3 Essentials for Scientific Computing: Bash Shell Scripting Day 3 Ershaad Ahamed TUE-CMS, JNCASR May 2012 1 Introduction In the previous sessions, you have been using basic commands in the shell. The bash

More information

VisiBroker 8.5. Installation Guide

VisiBroker 8.5. Installation Guide VisiBroker 8.5 Installation Guide Micro Focus The Lawn 22-30 Old Bath Road Newbury, Berkshire RG14 1QN UK http://www.microfocus.com Copyright Micro Focus 2009-2016. All rights reserved. VisiBroker contains

More information

Enhanced Printer Drivers for UNIX Systems

Enhanced Printer Drivers for UNIX Systems Enhanced Printer Drivers for UNIX Systems Installation and User s Guide For use with: Compaq Tru64 UNIX and Digital UNIX Systems HP-UX Systems IBM AIX/6000 Systems NCR MP-RAS Systems Caldera edesktop,

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

networkserversuite AIX & AIX VIOS Agent Installation

networkserversuite AIX & AIX VIOS Agent Installation networkserversuite AIX & AIX VIOS Agent Installation Copyright Copyright 2009-2015 Halcyon - A division of HelpSystems. All rights reserved. Windows is a registered trademark of Microsoft Corporation in

More information

Upgrading Standalone Statistics Collection Manager Software from Solaris 7 to Solaris 8

Upgrading Standalone Statistics Collection Manager Software from Solaris 7 to Solaris 8 CHAPTER 9 Upgrading Standalone Statistics Collection Manager Software from Solaris 7 to Solaris 8 This chapter provides step-by-step procedures to upgrade your Statistics Collection Manager Stand Alone

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

Configuring TFTP on NMS Platforms

Configuring TFTP on NMS Platforms Configuring TFTP on NMS Platforms Document ID: 17844 Contents Introduction Prerequisites Requirements Components Used Conventions Procedure for AIX /etc/inetd.conf smit Verify Local TFTP Procedure for

More information

Agile e Installation Manual for Agile e6.0.2 Java Client on UNIX. Part Number: INSJAVAUNIX-602A

Agile e Installation Manual for Agile e6.0.2 Java Client on UNIX. Part Number: INSJAVAUNIX-602A Agile e6.0.2 Installation Manual for Agile e6.0.2 Java Client on UNIX Part Number: INSJAVAUNIX-602A Copyrights and Trademarks Copyright 1992-2006 Agile Software Corporation. All rights reserved. You shall

More information

Installation of the OS

Installation of the OS Lab 1 Installation of the OS 1.1 Objectives The goal of this first session is to install a Debian/Linux operating system from scratch on a Intel x86- based computer. The installation will be made on a

More information

Note: Before using this information and the product it supports, read the information in "Notices" on page 39.

Note: Before using this information and the product it supports, read the information in Notices on page 39. Note: Before using this information and the product it supports, read the information in "Notices" on page 39. First Edition (July, 2006) This edition applies to IBM Lotus Sametime 7.5, (product number

More information

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

Embedded Linux Systems. Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island Embedded Linux Systems Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island Generic Embedded Systems Structure User Sensors ADC microcontroller

More information

Shell Programming (ch 10)

Shell Programming (ch 10) Vim Commands vim filename Shell Programming (ch 10) IT244 - Introduction to Linux / Unix Instructor: Bo Sheng Add contents: i/a Back to command mode: ESC Save the file: :w Delete: x Quit: :q 1 2 The order

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

Washington WASHINGTON UNIVERSITY IN ST LOUIS

Washington WASHINGTON UNIVERSITY IN ST LOUIS NetBSD Installation Procedure NetBSD Installation for the Washington University Gigabit Switch Kits Program Presented by: jdd@arl.wustl.edu http://www.arl.wustl.edu/~jdd http://www.arl.wustl.edu/arl Applied

More information

Introduction to Linux Workshop 1

Introduction to Linux Workshop 1 Introduction to Linux Workshop 1 The George Washington University SEAS Computing Facility Created by Jason Hurlburt, Hadi Mohammadi, Marco Suarez hurlburj@gwu.edu Logging In The lab computers will authenticate

More information

A shell can be used in one of two ways:

A shell can be used in one of two ways: Shell Scripting 1 A shell can be used in one of two ways: A command interpreter, used interactively A programming language, to write shell scripts (your own custom commands) 2 If we have a set of commands

More information

Bourne Shell Reference

Bourne Shell Reference > Linux Reviews > Beginners: Learn Linux > Bourne Shell Reference Bourne Shell Reference found at Br. David Carlson, O.S.B. pages, cis.stvincent.edu/carlsond/cs330/unix/bshellref - Converted to txt2tags

More information

This is Worksheet and Assignment 12. Disks, Partitions, and File Systems

This is Worksheet and Assignment 12. Disks, Partitions, and File Systems This is Worksheet and Assignment 12 This is a combined Worksheet and Assignment.. Quizzes and tests may refer to work done in this Worksheet and Assignment; save your answers. You will use a checking program

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

9.2 Linux Essentials Exam Objectives

9.2 Linux Essentials Exam Objectives 9.2 Linux Essentials Exam Objectives This chapter will cover the topics for the following Linux Essentials exam objectives: Topic 3: The Power of the Command Line (weight: 10) 3.3: Turning Commands into

More information

Linux Survival Guide

Linux Survival Guide Linux Survival Guide Introduction: This guide is intended for use with classes at DACC that use a Linux operating system as the platform for students. It provides a quick summary and examples of how to

More information

Assignment clarifications

Assignment clarifications Assignment clarifications How many errors to print? at most 1 per token. Interpretation of white space in { } treat as a valid extension, involving white space characters. Assignment FAQs have been updated.

More information

Basic UNIX Commands BASIC UNIX COMMANDS. 1. cat command. This command is used to create a file in unix. Syntax: $ cat filename

Basic UNIX Commands BASIC UNIX COMMANDS. 1. cat command. This command is used to create a file in unix. Syntax: $ cat filename Basic UNIX Commands BASIC UNIX COMMANDS 1. cat This is used to create a file in unix. $ cat >filename This is also used for displaying contents in a file. $ cat filename 2. ls It displays the list of files

More information

Cisco UCS C-Series. Installation Guide

Cisco UCS C-Series. Installation Guide Installation Guide UPDATED: 04 October 2018 Copyright Notices Copyright 2002-2018 KEMP Technologies, Inc. All rights reserved. KEMP Technologies and the KEMP Technologies logo are registered trademarks

More information

How to Enable Internet for Guest Virtual Machine using Datacard Tata Photon.

How to Enable Internet for Guest Virtual Machine using Datacard Tata Photon. How to Enable Internet for Guest Virtual Machine using Datacard Tata Photon. Table of Contents 1) Host, Guest and VBox version.... 2 2) Check your current Host and add 3 rd Adapter to Host windows... 3

More information

Administrator s Guide

Administrator s Guide Administrator s Guide Citrix ICA UNIX Clients Version 6.0 Version 3.0 Linux SGI IRIX IBM AIX Compaq Tru-64 Sun Solaris (SPARC) SunOS HP-UX Sun Solaris (x86) SCO Citrix Systems, Inc. Information in this

More information

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

Linux Essentials. Smith, Roderick W. Table of Contents ISBN-13: Introduction xvii. Chapter 1 Selecting an Operating System 1 Linux Essentials Smith, Roderick W. ISBN-13: 9781118106792 Table of Contents Introduction xvii Chapter 1 Selecting an Operating System 1 What Is an OS? 1 What Is a Kernel? 1 What Else Identifies an OS?

More information

Linux Systems Administration Getting Started with Linux

Linux Systems Administration Getting Started with Linux Linux Systems Administration Getting Started with Linux Network Startup Resource Center www.nsrc.org These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International

More information

Scratchbox Remote Shell

Scratchbox Remote Shell Scratchbox Remote Shell Timo Savola tsavola@movial.fi Scratchbox Remote Shell by Timo Savola Copyright 2004, 2005 Nokia Revision history Version: Author: Description: 2005-02-08 Savola Based on Device

More information

Ubuntu Manually Mount Cdrom Drive Command Line Vmware

Ubuntu Manually Mount Cdrom Drive Command Line Vmware Ubuntu Manually Mount Cdrom Drive Command Line Vmware On Windows 7 (64-bit) I installed VMware Player and then Ubuntu 12.04, then Mount the virtual CD drive, Launch a terminal, Use tar to uncompress. I

More information

Team 7000 V2.0.0 for HPUX/HPOV4

Team 7000 V2.0.0 for HPUX/HPOV4 Team 7000 V2.0.0 for HPUX/HPOV4 Release Notes, Version 2.0.0 087R904-H200, Issue 1 General DataComm TEAM 7000 V2.0.0 for HPUX/HPOV4 1.0 Overview GDC Publication No. 087R904-H200 These installation and

More information

Lotus Sametime. Installation Guide. Version 7.0 G

Lotus Sametime. Installation Guide. Version 7.0 G Lotus Sametime Version 7.0 Installation Guide G210-2078-00 Note: Before using this information and the product it supports, read the information in "Notices" on page 35. First Edition (August, 2005) This

More information

EMS Installation. Workstation Requirements CHAPTER. EMS Lite (Windows 95/98) EMS NT (Windows NT 4.0)

EMS Installation. Workstation Requirements CHAPTER. EMS Lite (Windows 95/98) EMS NT (Windows NT 4.0) CHAPTER 2 EMS Installation This chapter provides instructions for installing the Element Management System (EMS) software on a user workstation. Workstation Requirements The following sections list the

More information

Advanced Unix Programming Module 03 Raju Alluri spurthi.com

Advanced Unix Programming Module 03 Raju Alluri spurthi.com Advanced Unix Programming Module 03 Raju Alluri askraju @ spurthi.com Advanced Unix Programming: Module 3 Shells & Shell Programming Environment Variables Writing Simple Shell Programs (shell scripts)

More information

Assume that username is cse. The user s home directory will be /home/cse. You may remember what the relative pathname for users home directory is: ~

Assume that username is cse. The user s home directory will be /home/cse. You may remember what the relative pathname for users home directory is: ~ Introduction to Open Source Software Development Spring semester, 2017 School of Computer Science and Engineering, Pusan National University Joon-Seok Kim LINUX: COMMANDS Review Lab #1 2 Create Directories

More information

Introduction to UNIX Shell Exercises

Introduction to UNIX Shell Exercises Introduction to UNIX Shell Exercises Determining Your Shell Open a new window or use an existing window for this exercise. Observe your shell prompt - is it a $ or %? What does this tell you? Find out

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

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

Understanding bash. Prof. Chris GauthierDickey COMP 2400, Fall 2008

Understanding bash. Prof. Chris GauthierDickey COMP 2400, Fall 2008 Understanding bash Prof. Chris GauthierDickey COMP 2400, Fall 2008 How does bash start? It begins by reading your configuration files: If it s an interactive login-shell, first /etc/profile is executed,

More information

How many of you have never built a NetBSD kernel?

How many of you have never built a NetBSD kernel? A Smart Port Card Tutorial - The Exercises John DeHart Washington University jdd@arl.wustl.edu http://www.arl.wustl.edu/~jdd 1 Question? How many of you have never built a NetBSD kernel? 2 page 1 Exercises

More information

Linux Kung Fu. Stephen James UBNetDef, Spring 2017

Linux Kung Fu. Stephen James UBNetDef, Spring 2017 Linux Kung Fu Stephen James UBNetDef, Spring 2017 Introduction What is Linux? What is the difference between a client and a server? What is Linux? Linux generally refers to a group of Unix-like free and

More information

bash Tests and Looping Administrative Shell Scripting COMP2101 Fall 2017

bash Tests and Looping Administrative Shell Scripting COMP2101 Fall 2017 bash Tests and Looping Administrative Shell Scripting COMP2101 Fall 2017 Command Lists A command is a sequence of commands separated by the operators ; & && and ; is used to simply execute commands in

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

Review of Fundamentals. Todd Kelley CST8207 Todd Kelley 1

Review of Fundamentals. Todd Kelley CST8207 Todd Kelley 1 Review of Fundamentals Todd Kelley kelleyt@algonquincollege.com CST8207 Todd Kelley 1 GPL the shell SSH (secure shell) the Course Linux Server RTFM vi general shell review 2 These notes are available on

More information

IBM AIX Basic Operations V5.

IBM AIX Basic Operations V5. IBM 000-190 AIX Basic Operations V5 http://killexams.com/exam-detail/000-190 QUESTION: 122 Which of the following options describes the rm -i command? A. It removes and reports the file names it removes.

More information

Linux crash lecture by Andrey Lukyanenko

Linux crash lecture by Andrey Lukyanenko Linux crash lecture by Andrey Lukyanenko T-110.5102 Laboratory Works in Networking and Security 20.1.2015 Otaniemi based on material of Miika Komu, 2013 Traversing Directories cd Change Directory Change

More information

CiscoView CD Installation Instructions

CiscoView CD Installation Instructions CiscoView CD Installation Instructions This instruction book provides information about installing and running CiscoView on your network management station. You can install CiscoView on an HP system or

More information

Cisco IOS Shell. Finding Feature Information. Prerequisites for Cisco IOS.sh. Last Updated: December 14, 2012

Cisco IOS Shell. Finding Feature Information. Prerequisites for Cisco IOS.sh. Last Updated: December 14, 2012 Cisco IOS Shell Last Updated: December 14, 2012 The Cisco IOS Shell (IOS.sh) feature provides shell scripting capability to the Cisco IOS command-lineinterface (CLI) environment. Cisco IOS.sh enhances

More information

Install Server Build Guide I/O device driver (SPARC Enterprise) C120-E443-07ENZ2(A) February SPARC Enterprise

Install Server Build Guide I/O device driver (SPARC Enterprise) C120-E443-07ENZ2(A) February SPARC Enterprise Install Server Build Guide I/O device driver (SPARC Enterprise) C120-E443-07ENZ2(A) February 2009 SPARC Enterprise Preface Preface Purpose This book provides you with procedures to construct the environment

More information

Linux Essentials Objectives Topics:

Linux Essentials Objectives Topics: Linux Essentials Linux Essentials is a professional development certificate program that covers basic knowledge for those working and studying Open Source and various distributions of Linux. Exam Objectives

More information

Downloading Device Packages

Downloading Device Packages CHAPTER 2 Downloading Device Packages New device support can be added to CiscoView incrementally any time after the initial installation of CiscoView. To add incremental device support, access the Cisco

More information

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

Unix/Linux Basics. Cpt S 223, Fall 2007 Copyright: Washington State University Unix/Linux Basics 1 Some basics to remember Everything is case sensitive Eg., you can have two different files of the same name but different case in the same folder Console-driven (same as terminal )

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

HP StorageWorks Performance Advisor. Installation Guide. Version 1.7A

HP StorageWorks Performance Advisor. Installation Guide. Version 1.7A HP StorageWorks Performance Advisor Installation Guide Version 1.7A notice Copyright 2002-2004 Hewlett-Packard Development Company, L.P. Edition 0402 Part Number B9369-96068 Hewlett-Packard Company makes

More information

Unix Scripts and Job Scheduling. Overview. Running a Shell Script

Unix Scripts and Job Scheduling. Overview. Running a Shell Script Unix Scripts and Job Scheduling Michael B. Spring Department of Information Science and Telecommunications University of Pittsburgh spring@imap.pitt.edu http://www.sis.pitt.edu/~spring Overview Shell Scripts

More information

CIS 192 Linux Lab Exercise

CIS 192 Linux Lab Exercise CIS 192 Linux Lab Exercise Lab 8: Samba Spring 2009 Lab 8: Samba The purpose of this lab is to share files among Windows and Linux hosts on a common network. The goal is to browse directories on the Linux

More information

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

Using UNIX. -rwxr--r-- 1 root sys Sep 5 14:15 good_program Using UNIX. UNIX is mainly a command line interface. This means that you write the commands you want executed. In the beginning that will seem inferior to windows point-and-click, but in the long run the

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

INSTALLATION. Security of Information and Communication Systems

INSTALLATION. Security of Information and Communication Systems Security of Information and Communication Systems INSTALLATION Table of contents 1.Introduction...2 2.Installation...3 2.1.Hardware requirement...3 2.2.Installation of the system...3 2.3.Installation of

More information

Disks, Filesystems, Booting Todd Kelley CST8177 Todd Kelley 1

Disks, Filesystems, Booting Todd Kelley CST8177 Todd Kelley 1 Disks, Filesystems, Booting Todd Kelley kelleyt@algonquincollege.com CST8177 Todd Kelley 1 sudo and PATH (environment) disks partitioning formatting file systems: mkfs command checking file system integrity:

More information

Assignment 1: Build Environment

Assignment 1: Build Environment Read the entire assignment before beginning! Submit deliverables to CourSys: https://courses.cs.sfu.ca/ Late penalty is 10% per calendar day (each 0 to 24 hour period past due, max 2 days). This assignment

More information

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

Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades Q2 Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades 2017-2018 Q2 Facultat d Informàtica de Barcelona This first lab session is focused on getting experience in working

More information

bash Execution Control COMP2101 Winter 2019

bash Execution Control COMP2101 Winter 2019 bash Execution Control COMP2101 Winter 2019 Bash Execution Control Scripts commonly can evaluate situations and make simple decisions about actions to take Simple evaluations and actions can be accomplished

More information

commands exercises Linux System Administration and IP Services AfNOG 2015 Linux Commands # Notes

commands exercises Linux System Administration and IP Services AfNOG 2015 Linux Commands # Notes Linux System Administration and IP Services AfNOG 2015 Linux Commands # Notes * Commands preceded with "$" imply that you should execute the command as a general user not as root. * Commands preceded with

More information

Presented by Bill Genske Gary Jackson

Presented by Bill Genske Gary Jackson Quintessential School Systems Session C Linux Presented by Bill Genske Gary Jackson Copyright Quintessential School Systems, 2009 All Rights Reserved 867 American Street --- Second Floor --- San Carlos,

More information

The kernel is the low-level software that manages hardware, multitasks programs, etc.

The kernel is the low-level software that manages hardware, multitasks programs, etc. November 2011 1 Why Use Linux? Save Money Initial purchase and maintenance Resume Linux is used by MANY organizations More choices Tons of Linux operating systems November 2011 2 What is Linux? 1. Contains

More information

If you had a freshly generated image from an LCI instructor, make sure to set the hostnames again:

If you had a freshly generated image from an LCI instructor, make sure to set the hostnames again: Storage Node Setup A storage node (or system as your scale) is a very important unit for an HPC cluster. The computation is often about the data it produces and keeping that data safe is important. Safe

More information