GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

Author Archives: Anonymous

The file emails.log contains 12 lines. Predict the exact out…

The file emails.log contains 12 lines. Predict the exact output of each of the following, and explain the difference using how each command learns about the file: wc -l emails.log wc -l < emails.log

Read Details

Describe, in order, how the shell sets up the streams for a…

Describe, in order, how the shell sets up the streams for a command before the program runs. Your description must be a single set of rules that correctly predicts all five rows. In particular, it must account for: why experiments 3 and 4 give different results even though both contain a > redirection and a 2>&1; and why, in experiment 5, ALERT appears on the terminal yet is not included in the count printed by wc -l.

Read Details

What does ls -a add to that listing?

What does ls -a add to that listing?

Read Details

List the final contents of lab and of archive after the whol…

List the final contents of lab and of archive after the whole line finishes. Then, explain why pwd prints /home/mina/course/lab and why that output would have appeared even if the earlier commands had failed.

Read Details

You compile a third hello in your current directory. Why mus…

You compile a third hello in your current directory. Why must you type ./hello to run it?

Read Details

(a) Relative to C0, state exactly what the 09:12 commit chan…

(a) Relative to C0, state exactly what the 09:12 commit changes and name two things visible in the 09:10 status that it does not include. (b) Using your answer, justify every line of the 09:15 status. 

Read Details

Write out the command line after the shell expands the glob…

Write out the command line after the shell expands the glob (i.e. the exact argument list mv would receive). For each name in lab that is excluded, state the rule that excludes it.

Read Details

Evaluate each of the two claims in Mina’s explanation. For e…

Evaluate each of the two claims in Mina’s explanation. For each claim, identify the earliest point at which her reasoning goes wrong and explain your reasoning. 

Read Details

Does mv run? Justify using the meaning of && and the exit st…

Does mv run? Justify using the meaning of && and the exit status of cp.

Read Details

Answer all three parts. (a) After chmod 640 notes.txt, enter…

Answer all three parts. (a) After chmod 640 notes.txt, enter the 10-character permission string exactly as it would appear in the first column of ls -l. (b) Can users in the “other” category read notes.txt? (yes/no) (c) Enter the octal form of rwxr-xr-x.

Read Details

Posts pagination

Newer posts 1 … 16 17 18 19 20 … 96,427 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top