EECS 1012 Lecture Notes - Lecture 30: Operand
EECS 1012 Lecture 30 Notes
Introduction
Directory files
• The command DIR /P/A:DH PATHNAME uses the /P and /A switches to specify that files
are displayed on a screen one page at a time
• To modify the list of path name directory files that will be displayed.
• Command line interpreters also include other provisions designed to increase the
flexibility of the command.
• The most important provisions include the ability to redirect input and output, the
ability to combine commands using pipes, and the ability to combine commands into
shell scripts or
• As they are sometimes incorrectly called, batch programs.
• You are already aware of the correct usage of this term.
• We will always differentiate between shell scripts and batch programs.)
• Another important capability is the use of the wild card, a character symbol or symbols
that can substitute for one or more unspecified letters in an operand.
• Use of a wild card in a command can make possible a search, or can cause a command
to be repeated with several different arguments.
• Although they work somewhat differently, both Linux and Windows use the question
mark symbol (?) to replace a single character and an asterisk (*) to replace a group of 0
or more characters.
• Linux has additional wild card possibilities, shown in the Linux case in Supplementary.
• For example, the Linux command ls -l boo.* would search the current directory for all
files that have the name boo.
• This command might result in the following output: -r--r--rwx 1 irv cisdep 221 May 16 7 :
02 boo.dat ---x--xrwx 1 irv cisdep 5556 May 20 13 : 45 boo.exe -r--rw-rw- 1 irv cisdep 20
Jun 5 2 : 02 boo.hoo
find more resources at oneclass.com
find more resources at oneclass.com
ammarmarta2020 and 40175 others unlocked
10
EECS 1012 Full Course Notes
Verified Note
10 documents