Quiz Space

System Commands OPPE 1: May 2022 (May 2022 term)

Question 1

+15 marksProgramming

Create a file structure as shown below and the commands should not output anything.

/potato_recipes/
├── french_fries
│   ├── ingredients.txt
│   └── procedure.txt
├── frites -> french_fries/
└── potato_wedges
    ├── ingredients.txt
    └── procedure.txt
  • potato_recipes is a directory present in the root directory /.

  • french_fries and potato_wedges are the directories present inside the directory potato_recipes.

  • frites is a symbolic link to the directory french_fries

  • ingredients.txt inside the directory potato_wedges is a hard link to the file ingredients.txt inside the directory french_fries

  • procedure.txt are the text file present inside french_fries and potato_wedges

Note: Submit the assignment to get partial marks based on the above tasks done.

Question 2

+15 marksProgramming

Create a link /data to the file mydata present in the current directory such that the file mydata will be often deleted and recreated with the same name and in the same location.

Question 3

+15 marksProgramming

The file dpkg.log present in the current directory contains the log of installed packages. Find and print the day (YYYY-MM-DD) in which the zsh is installed.

Hint:

YYYY-MM-DD HH:MM:SS status installed <pkg> <installed-version> indicates the status installed for the package <pkg>

9 more questions in this paper

Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.

More on the System Commands OPPE 1 May 2022 paper

The IIT Madras BS System Commands (System Commands) OPPE 1 paper sat on May 2022, in the May 2022 term: 12 questions for 180 marks in 180 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.

FeatureSystem Commands OPPE 1 May 2022 at a glance
TermMay 2022 term
SubjectSystem Commands
Course codeBSSE2001
Questions12
Marks180
Duration180 min
Programming12
Official paperOPPE 1, May 2022
Negative markingNo negative marking.
Updated

More System Commands