LPIC-1 exam 101 topics: command line tools, streams, pipes, process management, filesystem creation and the FHS.
39 cards · basic cards · AI-written, checked twice. Edit anything.
- What does the grep command do?
Show answer
Search for lines matching a pattern in text or files
- What grep flag makes searches case-insensitive?
Show answer
-i (or --ignore-case)
- What does sed do?
Show answer
Stream editor; filters and transforms text using regular expressions
- What does awk do?
Show answer
Text processing language for pattern matching and field/record manipulation
- What ls flag displays hidden files?
Show answer
-a (or --all)
- What does the find command do?
Show answer
Search for files and directories based on various criteria
- What does cut do?
Show answer
Extract columns or fields from lines of text
- What does sort do?
Show answer
Sort lines of text in ascending or descending order
- What does uniq do?
Show answer
Remove or report duplicate consecutive lines
- What does xargs do?
Show answer
Reads input lines and builds and executes commands with those arguments
- What is stdin?
Show answer
Standard input stream (file descriptor 0); where a program reads data
- What is stdout?
Show answer
Standard output stream (file descriptor 1); where a program writes normal output
- What is stderr?
Show answer
Standard error stream (file descriptor 2); where a program writes error messages
- What does > do in shell redirection?
Show answer
Redirect stdout to a file (overwrites the file)
- What does 2> do in shell redirection?
Show answer
Redirect stderr to a file