Join 75,000+ students acing their exams with Studygenie
Unlimited practice
Flashcards, multiple choice and written questions, as many as you want.
Study sets in seconds
Turn your notes and files into a set with AI.
See your progress
Always know what you've learned and what's left.
Questions in this set (7)
What does the kernel do?
manages the processor and resources and controls and hides the hardware
What does the shell do?
acts as an interface between the users and kernel. Also, command line interpreter
What does redirection (< and >) do?
changes the direction of input and out
What is happening, cmd < file.txt?
file.txt contents is read and passed to cmd file
What is happening, cmd > file.txt?
cmd is executed and its output is written in file.txt
What does the pipe operator (|) do?
it chains 2 executable files together, example cmd1 | cmd2. cmd1 is executed and its output is sent as an input to cmd2
What is the difference between cmd1|cmd2 and cmd2<cmd1?
cmd1|cmd2, cmd1 is an executable file, which its output is sent as an input to cmd2.
cmd2<cmd1, cmd1 is not an executable file, it only stores data which is read and passed to cmd2