Linux discussion

Mrrx
timer Asked: Aug 26th, 2018

Question Description

Discussion One.

Linux distributions have three basic forms of Input/Output (standard input, standard output, and standard error) redirections which will need to understand how to use each one.

  • State the purpose of each of three I/O forms including which file descriptor is used for each one
  • Provide your own redirection command syntax example as well as description what your command syntax will do
  • (optional-challenging) How would command syntax appear if you want redirect the cat command standard ouput and standard error to the same file? This would be useful if you want to view results of the cat command in a file containing both regular output and any error(s) which might appear (ex. syntax error).

Discussion two

Three file-viewing commands (head, tail, and less) are used to display a portion of a file. These are especially useful when you have a very large text file you want to view and you want to narrow you display of it.

Provide me one or more command syntax examples using each of the three file-viewing commands. You must provide me using at least one command option (ex. with head command you can specify the number of lines to display using "-n num" option).

User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

This question has not been answered.

Create a free account to get help with this and any other question!

Similar Content

Related Tags

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors