Question 1
Create a link named todo in the current directory that its source is /todo.txt such that the link should work after deleting and creating the file /todo.txt
Create a link named todo in the current directory that its source is /todo.txt such that the link should work after deleting and creating the file /todo.txt
Write a command to move the file (not directory) that has the extension .jpg or .jpeg in the current working directory to the directory named photos present in the current working directory. Create photos directory if it is not present in the current directory.
Write a script to read an integer from standard input and check for the divisibility of 7 and print YES <number> <remainder> if it is divisible else print NO <number> <remainder>
Replace the <number> with integer read from stdin and <remainder> with remainder when divided by 7.
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.
The IIT Madras BS System Commands (System Commands) OPPE 1 paper sat on Sept 2022, in the September 2022 term: 8 questions for 140 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.
| Feature | System Commands OPPE 1 Sept 2022 at a glance |
|---|---|
| Term | September 2022 term |
| Subject | System Commands |
| Course code | BSSE2001 |
| Questions | 8 |
| Marks | 140 |
| Duration | 180 min |
| Programming | 8 |
| Official paper | OPPE 1, Sep 2022 |
| Negative marking | No negative marking. |
| Updated |