It is Monday morning in the IT section of a bank branch. Over the weekend the server's log file, app.log, has grown to forty thousand lines. The manager leans over your shoulder with four requests. "How many errors since Friday? Which one keeps coming back? A report job looks stuck, so please stop it. And make the backup run every night at two, without anybody pressing a button."
You won't do this with a mouse. Linux does it with small tools that each do one job well, and the real skill is joining them: one picks out the lines, another counts them, a third edits them, a fourth stops a runaway program, and a fifth wakes up at two in the morning so that you don't have to.
By the end you will be able to send a program's output to a file or to another program and keep its errors apart. You'll search lines with grep and files with find, write a pattern for a line of text, build reports with sort, uniq, cut and tr, work on columns with awk and edit text with sed. You'll list processes, stop one politely or by force, run a job in the background and change its priority. And you'll schedule a job with cron or at.
There are nine parts, from the plumbing, through the tools you plug into it and the processes they create, to the clock. Every command was run in a real Linux terminal; process numbers and times differ on every run.
Why it matters: Exams ask this part of Linux in two ways. The MCQs ask for one fact: which command schedules a job, what a cron job is, which command line has wrong syntax. The written papers ask for one-line commands that combine tools: "count the words of the first 10 lines", "show lines 10 to 15 of a listing", "search a file from a given line".
Question (Sonali & Janata Bank Officer (IT/ICT)-2019 Exam Taker: AUST): Which of the following UNIX commands allows scheduling a program to be executed at a specified time?