FlashKeepers

Bash and Shell · College · College and University

find, xargs, cron and Job Control

The find command, xargs, cron syntax, at, background jobs, nohup, signals, redirection and process inspection.

About this set

35 basic cards for College Bash and Shell. It opens with "What does find -type f do?" and "What does find -type d do?". Study it alongside the other College sets below.

35 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

What does find -type f do?
Show answerFinds only regular files
What does find -type d do?
Show answerFinds only directories
How do you search for files matching a pattern with find?
Show answerfind -name pattern
What does find -exec do?
Show answerExecutes a command on each file found
What does find -mtime do?
Show answerFinds files based on modification time in days
What does find -size do?
Show answerFinds files based on file size
What does xargs do?
Show answerConverts standard input into command-line arguments
What does xargs -n do?
Show answerLimits the number of arguments passed per invocation
What does xargs -I do?
Show answerReplaces a placeholder string with each argument
What does xargs -0 do?
Show answerTreats null characters as input delimiters instead of whitespace
How many fields are in a cron schedule line?
Show answerFive fields: minute hour day-of-month month day-of-week
What does * mean in a cron field?
Show answerMatches any value for that field
How do you specify multiple specific values in a cron field?
Show answerUse a comma-separated list, e.g., 1,3,5
How do you specify a range in a cron field?
Show answerUse a hyphen, e.g., 1-5
How do you specify every Nth value in a cron field?
Show answerUse a slash and step value, e.g., */5

20 more cards in the app

Study this set free