• Tidak ada hasil yang ditemukan

Prof P.C.P. Bhatt - Nptel

N/A
N/A
Protected

Academic year: 2024

Membagikan "Prof P.C.P. Bhatt - Nptel"

Copied!
9
0
0

Teks penuh

(1)

Unix Primer

Prof P.C.P. Bhatt

(2)

Motivation

¾ Unix philosophy: to provide a rich set of generic tools and to support tool-based application development.

¾ Open System - Users have access to the same tools which are also used by UNIX as an OS.

¾ X-Windows offers GUI in UNIX.

(3)

Unix Environment

¾ Its a Command driven environment.

¾ Unix hides the system kernel beneath the shell.

¾ The user command is interpreted by the shell.

Subsequently the shell seeks the desired service from kernel.

¾ Two basic concepts in Unix 9 Files

9 Processes

(4)

Unix File System

¾ Directory – group related files.

¾ Unix allows creation of subdirectories to help organize files hierarchically.

¾ All paths emanate from a directory called root.

¾ Current directory is denoted by period(.)

¾ The parent of current directory is denoted by two

(5)

Unix File Commands - 1

¾ ls : Lists all the files within a directory

¾ cd : By itself it brings you back to home directory.

¾ cd pathname : Takes you to the directory described by the pathname.

¾ rm filename : Removes file filename from the current directory.

¾ pwd : Prints the name of the current working directory.

(6)

Unix File Commands - 2

¾ mkdir subdirname : Creates a subdirectory under the current directory with the name subdirname.

¾ rmdir subdirname : Removes a subdirectory under the

current directory with the name subdirname.

¾ touch filename : Creates a file (containing 0 characters

(7)

Useful UNIX Commands - 1

¾ bc : a basic calculator

¾ cal : the calendar for the current month

¾ clear : clears the screen

¾ cp filename1 filename2 : creates a copy of file filename1 in filename2.

¾ date : shows the current date and time

¾ echo sometext : echos back sometext on the terminal.

(8)

Useful Unix Commands - 2

¾ history : shows the command history

¾ more filename : shows the file filename one page at a time.

¾ cat filename : displays the filename on the screen.

¾ cat filename(s) > newfile : combines all the files in

filename(s) and outputs to create a file newfile.

¾ man AUnixCmd: shows the description of the

(9)

UNIX Portability

¾ X/open and POSIX – popular standards for Unix.

¾ Unix allows the use of regular expressions in arguments.

Referensi

Dokumen terkait

Note : In order to ensure consistency of data across all access tools, the data should not be directly populated from the data warehouse, rather each tool must have its own data

Both commands accomplish the same thing; that is, they allow you to establish an encrypted password that users must enter to access enable mode (the default), or any privilege

Publishing election data as open data has numerous beneits: it provides civil society, citizen journalists, electoral observers and citizens access to the same detailed

For an example of how these tools can sometimes leverage extended Oracle features, we will now take a closer look at how one tool, Business Objects Web Intelligence, provides access

A step-by-step guide to using the Location Quotient tool 1 Open the economic profile for your area 2 Under economic tools, choose Location Quotient 3 We recommend you choose the

According to Björk and Solomon “… OA journals … are approaching the same scientific impact and quality as subscription journals ...”.4 Open access is no longer the way of the future;

Users would be able to view the full text of faculty research through the DOI if it is open access or if it is available in the subscribed databases of the Library.. How to create your

P-ISSN: 2598-3199 E-ISSN: 2598-3210 Open Access: https://doi.org/10.23887/bisma.v7i1.58804 Classical Guidance Service Tools to Increase the Creativity of Junior High School