80 Questions
What is the significance of the tilde (~) character in the Linux default command prompt?
Shorthand for the user's home directory
What is the purpose of using the exit or logout commands when finished with Matrix?
To disconnect from Matrix and ensure nothing is left running
What is the significance of the dollar sign ($) in the Linux default command prompt?
Indicates a normal user
What is the purpose of the command prompt string in a command-line interface?
To provide useful information in a terse format
What is the default prompt string for in the Windows CMD command-line interface?
C:\Users\username: Indicates the home directory of the user
What command is used to display the current date and time in Linux?
date
What is the topmost directory in the Linux file system hierarchy?
/
What command is used to list information about files and folders in Linux?
ls
What command is used to clear the terminal screen and show the prompt in the first line in Linux?
clear
What command is used to display the folder and file hierarchy in a tree format in Linux?
tree
What is the command to change to the parent directory in Linux?
cd ..
What is the command to list the contents of the current directory in Windows?
dir
What does the 'ls -l' command do in Linux?
Displays a detailed listing of the contents of the current directory
What type of file is indicated by the 'd' character in the output of the 'ls -l' command in Linux?
Directory
What is the command to list the contents of the /bin directory in Linux?
ls /bin
What type of interface do users interact with on the matrix cluster?
Command Line Interface (CLI)
What is the operating system running on the matrix server?
CentOS (a version of Linux)
What is the purpose of the matrix cluster?
To provide a cost-effective alternative to larger servers
What is unique about the matrix cluster?
It is a set of virtual machines (VM’s) on HyperV
What operating systems are available on the lab computers?
Both Windows OS and Linux OS
What is the purpose of typing 'yes' when connecting to matrix from Windows CMD?
To confirm the 'fingerprint' of matrix
What will you see after successfully logging in to matrix from Windows CMD?
A prompt from bash, such as '[senecausername@mtrx-node01pd ~]$'
What should you do if you encounter an error message when connecting to matrix from Windows CMD?
Read the error message and try to troubleshoot the issue
What is the alternative to using the Windows CMD to connect to matrix?
Downloading and installing a third-party SSH client program
What is the default current working directory when a user opens a terminal?
The home directory
What type of paths can be used as arguments with the cd command?
Absolute, relative, or relative to home
What does the cd command do in a CLI?
Changes the current working directory
What happens when you use the cd command with two dots (..) as an argument?
It navigates to the parent directory
What is the significance of the current working directory in a CLI?
It is the directory where the user is currently working
What is a significant characteristic of Unix/Linux file names?
They are case sensitive
Why should you avoid using spaces in file names?
They can lead to inconsistent results in command line interface
What is the purpose of adopting a consistent file naming scheme?
To help you find your files later
What is the name of the top-level directory in the Linux file system hierarchy?
/
What is the purpose of the /bin directory in Linux?
It contains common system binaries
What is the purpose of the /usr directory in Linux?
It is called 'user', where user-related programs live
Why is it important to understand file names before creating directories?
Because it is important to adopt a consistent file naming scheme
What is the purpose of the /home directory in Linux?
It contains users' home directories
What should you avoid using in file names besides spaces?
Non-alphanumeric characters
What is the benefit of using a consistent file naming scheme?
It helps you find your files later
The command to clear the terminal screen and show the prompt in the first line in Linux is _______.
clear
The command to list information about files and folders in Linux is _______.
ls
The command to display the folder and file hierarchy in a tree format in Linux is _______.
tree
The topmost directory in the Linux file system hierarchy is _______.
root
The command to print the name of the current user in Linux is _______.
whoami
The command to _______________ to the parent directory is 'cd ..' in Linux.
change
In Linux, the command _______________ is used to list the contents of the current directory.
ls
The current working directory, also known as the _______________ directory, is the directory in which you are currently working.
current
In Windows, the command _______________ is used to list the contents of the current directory.
dir
The CLI command _______________ is used to list the contents of the /bin directory in Linux.
ls /bin
The cd command is used to change to the ______ directory.
parent
The cd command is used to change the ______.
current working directory
The ______ command is used to list information about files and folders in Linux.
ls
You can use the ______ character to exit a terminal session.
ctrl-D
The prompt string in a command-line interface often contains useful information, but usually in a ______ format.
terse
Most lab computers have ______ 10 installed on them.
Windows
The matrix server consists of several computers running ______ (a version of Linux) all working together to form a cluster.
CentOS
All registered students in this course have access to an account on ______.
Matrix
The matrix cluster has been configured to allow users to only interact with the Linux OS using a ______ interface (CLI).
command line
You will connect with ______ and practice Linux commands.
matrix
The command to change the _______________ working directory is cd.
current
In a CLI, we use the command _______________ to change our current working directory.
cd
The argument to the cd command can be any type of _______________ (absolute, relative or relative to home).
path
When you open a terminal, your home directory is your _______________ working directory.
current
The cd .. command is used to change to the _______________ directory.
parent
To connect to matrix from Windows, you can use the Windows _______ window to run the ssh command.
CMD
You can download and install a third party _______ client program to connect to matrix.
SSH
When connecting to matrix, you will use the same _______ and host names with any SSH client.
user
To confirm the fingerprint of matrix, enter _______ and press the enter key.
yes
After successfully logging in to matrix from Windows CMD, you should see a prompt from _______ something like this: [senecausername@mtrx-node01pd ~]$
bash
Unix/Linux is ______ sensitive!
case
Windows is not ______ sensitive for file names.
case
A ______ file naming scheme will help you find your files later.
consistent
Avoid non ______ characters, as they may have a special meaning to the system.
alphanumeric
The ______ directory contains users’ home directories.
home
The ______ directory is called “user”, where user related programs live.
usr
The ______ directory is where system configuration files are located.
etc
The ______ directory is the top of file system hierarchy.
root
Avoid using ______ in file names – consider periods, hyphens, and underscores instead.
spaces
The command to change to the ______ directory is 'cd ..' in Linux.
parent
This quiz covers the basics of the Matrix, including commands and file systems, as well as the importance of logging out properly.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free