Looking for COMPSCI9001 Introduction to Linux course 2025-26 test answers and solutions? Browse our comprehensive collection of verified answers for COMPSCI9001 Introduction to Linux course 2025-26 at moodle.gla.ac.uk.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
Do you think Makefile execution can easily be parallelized (e.g. on multiple cores)?
Which character or character sequence at the start of a line indicates a comment line for a Makefile?
Suppose you execute the make command in a directory full of source code files to build. Perhaps it takes several minutes for the build to complete ... then you execute make again immediately. What do you expect will happen the second time you run make?
The sequence of commands to build a specified target file are written on consecutive lines in a Makefile. Each line must be indented as follows:
What is the default name for the file that specifies the build sequence when the 'make' command is invoked?
What does the following vim command do?
:r file.txt
You have just opened vi with a blank file buffer. You enter the following sequence of keys (no space bar presses) ... select what has happened after this key sequence from the options below:
ESCAPE i h h h ESCAPE h h
Why is it most useful to be able to work with a terminal-based text editor like vim, nano or emacs?
The grep command prints out lines of a file that match a specified pattern. The '-v' flag inverts the behaviour so the grep command prints out lines of a file that do not match the specified pattern.
Given a file foo.txt, suppose
grep -v hello foo.txtprints 5 lines of text, and
grep hello foo.txtprints 3 lines of text,
then how many lines are there in the file foo.txt?
Will the following command replace all the vowels in the specified string with the character x?
echo "The Beatles come from Liverpool" | sed 's/[aeiou]/x/'