wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Exploring the Linux Operating System

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

What is a Linux distribution?

a)

A Linux distribution is an operating system based on the Linux kernel that includes software and tools for users.

b)

A Linux distribution is a cloud service provider.

c)

A Linux distribution is a programming language.

d)

A Linux distribution is a type of hardware.

2.

What is the primary difference between Linux and Windows?

a)

Linux is more user-friendly than Windows.

b)

Windows supports more programming languages than Linux.

c)

Linux is only used for servers, while Windows is for desktops.

d)

Linux is open-source; Windows is proprietary.

3.

What does open source mean?

a)

Software that is only available for purchase.

b)

Applications that are developed in secrecy.

c)

Programs that require a subscription to use.

d)

software with publicly accessible source code.

4.

Which license allows users to modify and distribute software?

a)

Proprietary licenses

b)

Open source licenses

c)

Public domain licenses

d)

End-user license agreements

5.

What command is used to navigate to a directory in Linux?

a)

cd

b)

mv

c)

mkdir

d)

ls

6.

What is the purpose of the 'chmod' command?

a)

To create new files in Unix/Linux systems.

b)

To compile source code in Unix/Linux systems.

c)

To delete files in Unix/Linux systems.

d)

To change file permissions in Unix/Linux systems.

7.

How do you check the permissions of a file in Linux?

a)

Use the command 'ls -l '

b)

Use the command 'ls'

c)

Use the command 'ln -s filename'

d)

Use the command 'chmod '

8.

What is the Linux file system hierarchy?

a)

The Linux file system hierarchy is organized by file types rather than directories.

b)

The Linux file system hierarchy is a structured organization of directories starting from the root '/', including key directories like /bin, /etc, /home, /lib, /usr, and /var.

c)

The Linux file system hierarchy is a single directory with no subdirectories.

d)

The Linux file system hierarchy only includes the /home directory.

9.

What is a hard link in Linux?

a)

A hard link is a symbolic reference to a file that can be used to create shortcuts.

b)

A hard link is a temporary file that is deleted after use.

c)

A hard link is a directory entry that links to the same inode as another file, allowing multiple names for the same file.

d)

A hard link is a backup copy of a file stored in a different directory.

10.

What is a soft link in Linux?

a)

A soft link is a hard link that cannot be deleted.

b)

A soft link is a backup copy of a file.

c)

A soft link is a type of file compression in Linux.

d)

A soft link is a symbolic link that points to another file or directory in Linux.

11.

How do hard links and soft links differ?

a)

Hard links can point to different files; soft links cannot.

b)

Soft links reference the same inode; hard links reference a filename.

c)

Hard links can be created across different file systems; soft links cannot.

d)

Hard links reference the same inode; soft links reference a filename.

12.

What is a file descriptor in Linux?

a)

A file descriptor is a type of file format.

b)

A file descriptor is a unique integer that identifies an open file or socket in a process.

c)

A file descriptor is a network protocol for data transfer.

d)

A file descriptor is a command used to open files.

13.

What command is used to redirect output to a file?

a)

command > filename.txt

b)

command >> filename.txt

c)

command | filename.txt

d)

command < filename.txt

14.

What does the 'ls' command do?

a)

Deletes files in a directory.

b)

Creates a new directory.

c)

Lists the contents of a directory.

d)

Moves files to another directory.

15.

How can you view the contents of a file in Linux?

a)

Use 'open filename' to view file contents.

b)

Type 'view filename' in the terminal.

c)

Execute 'display filename' to see the file.

d)

Use 'cat filename', 'less filename', or 'more filename' to view file contents in Linux.

16.

What is the significance of the root directory in Linux?

a)

The root directory serving as the starting point for all paths and containing all other directories.

b)

The root directory is used exclusively for application installations.

c)

The root directory is where user files are stored.

d)

The root directory is a temporary storage area for system logs.

17.

What command would you use to create a new directory?

a)

rmdir

b)

del

c)

remove

d)

mkdir

18.

What is the purpose of the 'cp' command?

a)

To move files to a different location.

b)

To rename files and directories.

c)

To delete files and directories.

d)

To copy files and directories.

19.

How do you remove a file in Linux?

a)

Use the command 'rm filename' to remove a file.

b)

Type 'remove filename' in the terminal to delete a file.

c)

Execute 'erase filename' to get rid of a file.

d)

Use the command 'delete filename' to remove a file.

20.

"~" symbol in bash shell shows ........

a)
the current working directory
b)
the root directory of the system
c)
the home directory of the current user
d)
the directory of the last executed command