ls ( –author -l option)

UNIX Command

$ls --author -l
total 4
-rw-r--r-- 1 jeffrin jeffrin jeffrin 0 Feb 19 22:30 a1.txt
-rw-r--r-- 1 jeffrin jeffrin jeffrin 2 Feb 19 22:31 a2.txt
$ls -l
total 4
-rw-r--r-- 1 jeffrin jeffrin 0 Feb 19 22:30 a1.txt
-rw-r--r-- 1 jeffrin jeffrin 2 Feb 19 22:31 a2.txt
$

UNIX Explanation

--author
              with -l, print the author of each file

computer science Theory Drop

The AND gate is a  basic digital logic gate that implements logical
conjunction  - it  behaves  according  to the  truth  table to  the
right. A HIGH output (1) results only if both the inputs to the AND
gate are HIGH (1). If neither or  only one input to the AND gate is
HIGH, a LOW  output results. In another sense,  the function of AND
effectively finds  the minimum between  two binary digits,  just as
the OR function finds the  maximum. Therefore, the output is always
0 except when all the inputs are 1s.

source :http://en.wikipedia.org/wiki/AND_gate

CONNECTION
Intended result is only obtained if
both -l and –author options are given(true).

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s