Skip to main content

Week 0: Problem Sets

 Distributions 1

Let's test your memorization, your task is to list the top three Linux families with their distributions.

If you don't remember all of them here they are:

The Red Hat Family

RHEL

CentOS

Fedora

Oracle Linux


The SUSE Family

SLES

openSUSE


The Debian Family

Debian

Ubuntu

Linux Mint


I need you to print out this list in the terminal window using echo utility. You may need to write many lines of echo commands in a file called distributions1.sh then run it with bash command. You can create the file in week0 directory to be organized.

The result should look like this one:


check your solution using check50:

check50 kobros-tech/scratch-linux/2023/problems/distributions1


submit your file using submit50:

submit50 kobros-tech/scratch-linux/2023/problems/distributions1

 Distributions 2

You may get bored of repeating the same echo command. In this problem, I need you to write the list of Linux families and distributions in a text file then using cat utility you can print out the contents of the file in the terminal window.

You may wonder how to write cat command, here it is:

$ cat <filename>

The name of the text file will be called distributions.txt, and the cat command that displays distributions names will be saved in a file called distributions2.sh

To make sure your steps are all fine you can run this:

$ bash distributions2.sh


check your solution using check50:

check50 kobros-tech/scratch-linux/2023/problems/distributions2


submit your file using submit50:

submit50 kobros-tech/scratch-linux/2023/problems/distributions2