Log In
0 votes

Provide short answers to the following questions:

Consider the following sequence of UNIX commands:

grep main a.c b.c c.c > grepout &
wc < grepout &
rm grepout &

Why is this not equivalent to the following?

grep main a.c.b.c c.c | wc
in Operating System 174 views

Please log in or register to answer this question.

Related questions

0 votes
0 answers
Consider a database with the following three relations: CREDITS (STUDENT; COURSE) OFFERS (TEACHER; COURSE) BELONGS (TEACHER; DEPARTMENT) Given below is a code in query language QUEL. Describe in one English sentence the query posed by the given QUEL program. range of s is CREDITS range of t ... is LIST1 range of e2 is LIST2 range of e3 is LIST3 retrieve(E1.I) where e1.I=e2.I and where e1.I=e3.I
asked Dec 15, 2016 in Databases makhdoom ghaya 196 views
0 votes
0 answers
An 8085-based microcomputer consisting of 16 kbytes of ROM, 16kbytes of RAM and four 8-bit I/O ports is to be designed using RAM and ROM chips each of 2 kbytes capacity. The chip to be used for I/O ports realization consists of two 8-bit ports and requires four ... in the memory address space. The I/O locations are to occupy lower order I/O address space. Give memory map and I/O address map.
asked Dec 1, 2016 in CO and Architecture makhdoom ghaya 129 views
6 votes
2 answers
The shell command find -name passwd -print is executed in /etc directory of a computer system running Unix. Which of the following shell commands will give the same information as the above command when executed in the same directory? ls passwd cat passwd grep name passwd grep print passwd
asked Nov 3, 2014 in Operating System Ishrat Jahan 1.2k views
8 votes
2 answers
A student wishes to create symbolic links in a computer system running Unix. Three text files named "file 1", "file 2" and "file 3" exist in her current working directory, and the student has read and write permissions for all three files. Assume that file 1 contains ... of information would be lost from her file system? Hobbies Friends Courses I and II only II and III only II only I and III only
asked Nov 3, 2014 in Operating System Ishrat Jahan 1.6k views