Polecenie uniq
Wykonanie, użycie: Remove duplicate adjacent lines from sorted file1 or from standard input, sending one copy of each line to file2 (or to standard output). Often used as a filter. Specify only one of -d or -u. See also comm and sort
Opcje wykonania uniq w konsoli
Print each line once, prefixing number of instances.
Print duplicate lines once but no unique lines.
Print all duplicate lines. -D takes no delimiter method. The delimiter method method takes one of the following values: none (default), prepend, or separate. Blank lines are used as the delimiter.
Ignore first n fields of a line. Fields are separated by spaces or by tabs.
Ignore case differences when checking for duplicates.
Ignore first n characters of a field.
Print only unique lines (no copy of duplicate entries is kept).
Compare only first n characters per line (beginning after skipped fields and characters).
Print a help message and then exit.
Print version information and then exit.
Przykłady uniq działanie w Słownik polecenie U
- Przykład UNIQ użycie :
- Jak użyć Put keyboard and console in Unicode mode, setting the font to font and the Unicode map to umap if the font doesn't have its own map. If no font is specified, use the default co znaczy.
- Przykład UNIQ użycie :
- Jak użyć time, how long the system has been running, the number of users currently logged in (which may include the same user multiple times), and system load averages. This output is also produced by the krzyżówka.
- Przykład UNIQ użycie :
- Jak użyć Translate underscores to underlining. The process will vary by terminal type. Some terminals are unable to handle underlining co to jest.
- Przykład UNIQ użycie :
- Jak użyć administration command. Unmount filesystem specified by directory. You may also specify the filesystem by device name. umount announces to the system that the removable file structure previously słownik.
- Przykład UNIQ użycie :
- Jak użyć Take keyboard and console out of Unicode mode czym jest.