EECS 1012 Lecture Notes - Lecture 28: Operand

14 views2 pages
EECS 1012 Lecture 28 Notes
Introduction
Listing data
The name of a particular file to be used with the command, a particular format for
listing data, or a detail about how the command is to be performed.
Many times, some or all of the operands are optional
This simply means that a default condition is to be used if the operand is not specified.
In some circumstances, the command itself may be preceded by a logical path name
that specifies the particular device or file location where the command is to be found.
However, most operating systems maintain an internal list where most commands can
be found.
This list is often referred to as path variable.
As an example, the Linux command ls -lF path part a/path part b consists of the
command ls and the two operands -lF and path part a/path part b.
This command requests a directory listing from the subdirectory with path name path
part a/ path part b.
Without the optional operand path part a/path part b, the command lists the current
directory (or file folder, if you prefer), wherever that happens to be.
An additional operand might redirect the output to a file or printer, for example, instead
of to the screen.
The Linux command to store the directory list in put file a (presumably for later printing)
would look like this:
ls -lF path part a/path part b >put file a
The equivalent command at a Windows command prompt would look like this: DIR
PATHPARTA\PATHPARTB>PUTFILEA
In each of these cases, many other optional operands are possible
These operands would be used to modify the facts listed and the format of the directory
listing.
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows half of the first page of the document.
Unlock all 2 pages and 3 million more documents.

Already have an account? Log in
ammarmarta2020 and 40175 others unlocked
EECS 1012 Full Course Notes
10
EECS 1012 Full Course Notes
Verified Note
10 documents

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents

Related Questions