Search Header Logo

Linux Donnerstag 2022

Authored by test test

Other

Professional Development

Used 3+ times

Linux Donnerstag 2022
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Welcher der folgenden Befehle führt ein Skript aus und beendet dann die Shell?

run

source

./

exec

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Welche Zeichenfolge führt zwei Befehle aus, aber nur, wenn der erste Befehl erfolgreich beendet wird?

--

&*

&&

&

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Sie haben ein einfaches Shell-Skript geschrieben, das nichts anderes tut, als Programme zu starten. Um sicherzustellen, dass das Skript mit den meisten Benutzer-Shells funktioniert, sollte die erste Zeile lauten

#!/bin/sh

/bin/sh

# /bin/sh

bash

#!bash

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Der Bash-Skriptbefehl ________ wird verwendet, um Eingabeaufforderungen für einen Benutzer in einem Shell-Skript anzuzeigen.

case

while

if

echo

exit

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Der Bash-Skriptbefehl ________ steuert den Rückgabewert, der von einem Skript erzeugt wird, unabhängig von den anderen im Skript verwendeten Befehlen.

case

while

if

echo

exit

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Welchen Befehl würden Sie (als root) eingeben, um den Eigentümer von somefile.txt von ralph auf tony zu ändern?

chown ralph:tony somefile.txt

chmod somefile.txt tony

chown somefile.txt tony

chown tony somefile.txt

chmod tony somefile.txt

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Welche der folgenden Befehle können Sie verwenden, um die Gruppe einer Datei zu ändern?

groupadd

groupmod

chmod

ls

chown

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?