The find command, xargs, cron syntax, at, background jobs, nohup, signals, redirection and process inspection.
35 cards · basic cards · AI-written, checked twice. Edit anything.
- What does find -type f do?
Show answer
Finds only regular files
- What does find -type d do?
Show answer
Finds only directories
- How do you search for files matching a pattern with find?
Show answer
find -name pattern
- What does find -exec do?
Show answer
Executes a command on each file found
- What does find -mtime do?
Show answer
Finds files based on modification time in days
- What does find -size do?
Show answer
Finds files based on file size
- What does xargs do?
Show answer
Converts standard input into command-line arguments
- What does xargs -n do?
Show answer
Limits the number of arguments passed per invocation
- What does xargs -I do?
Show answer
Replaces a placeholder string with each argument
- What does xargs -0 do?
Show answer
Treats null characters as input delimiters instead of whitespace
- How many fields are in a cron schedule line?
Show answer
Five fields: minute hour day-of-month month day-of-week
- What does * mean in a cron field?
Show answer
Matches any value for that field
- How do you specify multiple specific values in a cron field?
Show answer
Use a comma-separated list, e.g., 1,3,5
- How do you specify a range in a cron field?
Show answer
Use a hyphen, e.g., 1-5
- How do you specify every Nth value in a cron field?
Show answer
Use a slash and step value, e.g., */5