$ ls
file1 file2 file3
$ cp file1 file4
$ ls
file1 file2 file3 file4
$ ls
file1 file2 file3 file4
$ mv file4 file5
$ ls
file1 file2 file3 file5
$ cat file1
101 3people 2-DK
102 none 1-room
201 2people 2-DK
202 4people 3-LDK
| -c | Suppress normal output; instead print a count of matching lines for each input file. With the -v,-revert-match option (see below), count non-match |
|---|---|
| -v | Invert the sense of matching, to select non-matching lines. |
| -n | Prefix each line of output with the line number within its input file. |
Copyright © [- SroNey / JohN -]. All rights reserved