LPIC-1 Linux Administrator
Text Filters and Regular Expressions
Easy
8 of 20 questionsText filters
- Which command prints the first ten lines of a file when given no further options?
- Which command continuously follows the lines newly appended to /var/log/syslog?
- Which command prints a file with line numbers in front of each line?
- Which command shows the contents of a file byte by byte, for example in octal or hexadecimal?
- Which command shows the contents of report.txt.gz without decompressing the file?
- Which command prints only the first field of /etc/passwd, that is, the user names?
- What does paste names.txt numbers.txt do?
- Which option makes sort order numbers by their value rather than character by character?