40 Questions
4 Views
3.4 Stars

OPS102 W2C1: Linux and Windows Commands

This quiz covers basic commands in Linux and Windows, including echo, cal, date, who, and whoami. Practice your skills in Matrix and Windows CMD environments.

Created by
@VibrantSwamp
Quiz Team

Access to a Library of 520,000+ Quizzes & Flashcards

Explore diverse subjects like math, history, science, literature and more in our expanding catalog.

Questions and Answers

When you're finished on ______, remember to log out.

matrix

You can also use ______ to exit.

ctrl-D

The command prompt will often contain useful information, but usually in a ______ format.

terse

Every user has a default “______ directory” (default folder).

<p>home</p> Signup and view all the answers

A ______ sign indicates a normal user in the Linux default command prompt.

<p>dollar</p> Signup and view all the answers

In Linux, the command __________ is the most commonly used command to display a list of files and subdirectories in the current directory.

<p>ls</p> Signup and view all the answers

You can use Windows CMD window to run the ______ command.

<p>ssh</p> Signup and view all the answers

To change to the parent directory, you need to use the command __________.

<p>cd</p> Signup and view all the answers

You can download and install a third party ______ client program, such as SSH Secure Shell Client or PuTTY.

<p>SSH</p> Signup and view all the answers

The command __________ in Windows is equivalent to the command ls in Linux.

<p>dir</p> Signup and view all the answers

Open a Windows CMD window, and then type the following command and press the enter key: ______ [email protected]

<p>ssh</p> Signup and view all the answers

In Linux, the command __________ -l is used to display a detailed list of files and subdirectories in the current directory.

<p>ls</p> Signup and view all the answers

You should see a prompt from ______ something like this: [senecausername@mtrx-node01pd ~]$

<p>bash</p> Signup and view all the answers

When you are working in __________, you would need to list the contents of a directory often.

<p>CLI</p> Signup and view all the answers

If you encounter an error message, and don’t get properly logged in to ______ – don’t worry!

<p>matrix</p> Signup and view all the answers

Most lab computers have ______ 10 installed on them.

<p>Windows</p> Signup and view all the answers

Linux is available on a server cluster called ______.

<p>matrix</p> Signup and view all the answers

The ______ server consists of several computers running CentOS, all working together to form a cluster.

<p>matrix</p> Signup and view all the answers

All registered students in this course have access to an account on ______.

<p>Matrix</p> Signup and view all the answers

The matrix cluster has been configured to allow users to only interact with the Linux OS using a ______ line interface (CLI).

<p>command</p> Signup and view all the answers

The command to display the calendar is ______ in Linux.

<p>cal</p> Signup and view all the answers

The command to print the name of the current user is ______ in Linux.

<p>whoami</p> Signup and view all the answers

In Linux, the topmost directory is the ______ (/).

<p>root</p> Signup and view all the answers

The command to list information about files and folders is ______ in Linux.

<p>ls</p> Signup and view all the answers

The command to clear the terminal screen and show the prompt in the first line is ______ in Linux.

<p>clear</p> Signup and view all the answers

Whenever a user opens a terminal, their ______ directory is their current working directory.

<p>home</p> Signup and view all the answers

We can navigate in the file system and change our ______ working directory any time using the cd command.

<p>current</p> Signup and view all the answers

In a CLI, we use the command cd to change our ______ working directory.

<p>current</p> Signup and view all the answers

The argument of the cd command can be any type of ______ (absolute, relative or relative to home).

<p>path</p> Signup and view all the answers

The cd command can be used to change directory to your ______ directory.

<p>home</p> Signup and view all the answers

Unix/Linux is ______ sensitive!

<p>case</p> Signup and view all the answers

Windows is not ______ sensitive for file names.

<p>case</p> Signup and view all the answers

Make your file and folder/directory names ______.

<p>meaningful</p> Signup and view all the answers

Avoid using ______ in file names – consider periods, hyphens, and underscores instead.

<p>spaces</p> Signup and view all the answers

A standard Linux distribution follows a ______ structure.

<p>directory</p> Signup and view all the answers

/bin contains ______ system binaries.

<p>Common</p> Signup and view all the answers

/usr is also called ______, where user related programs live.

<p>user</p> Signup and view all the answers

/usr/sbin contains ______ utilities for system administration.

<p>Common</p> Signup and view all the answers

/etc contains ______ configuration files.

<p>System</p> Signup and view all the answers

The ______ directory is the top of the file system hierarchy.

<p>Root</p> Signup and view all the answers

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

More Quizzes Like This

Use Quizgecko on...
Browser
Browser