Shell Command Output Redirection
12 Questions
3 Views
3.8 Stars

Shell Command Output Redirection

Created by
@LegendaryGenre

Questions and Answers

Was entspricht die Kombination 'rw-' in binärer Form?

110

Welcher Datenstrom ist üblicherweise mit der Tastatur des Terminals verbunden?

Standardeingabe (stdin)

Welche binäre Zahl entspricht der Kombination '-wx'?

011

Was ruft die printf() Anweisung in einem C-Programm auf?

<p>write()</p> Signup and view all the answers

Welche Befehlsabfolge wird verwendet, um die Zugriffsrechte einer Datei auf 700 zu setzen?

<p>chmod 700 dateiname</p> Signup and view all the answers

Welche Funktion wird verwendet, um einen Prozess in Linux zu erstellen?

<p>fork()</p> Signup and view all the answers

Welche Funktion wird in Windows verwendet, um eine Datei zu lesen?

<p>ReadFile()</p> Signup and view all the answers

Welche Systemcall-Funktion wird verwendet, um eine Pipe (Puffer Datenstrom zwischen Prozessen) in Linux zu erstellen?

<p>pipe()</p> Signup and view all the answers

Was bewirkt der Befehl 'ls /home/* 2>/dev/null'?

<p>Er leitet die Fehlerausgabe von 'ls /home/*' in die Datei '/dev/null' um.</p> Signup and view all the answers

Was passiert, wenn der Befehl 'cat test' ausgeführt wird?

<p>Der Inhalt der Datei 'test' wird auf dem Bildschirm ausgegeben.</p> Signup and view all the answers

Was bewirkt der Befehl 'echo hallo > test'?

<p>Er leitet die Standardausgabe des Befehls 'echo hallo' in die Datei 'test' um.</p> Signup and view all the answers

Was bewirkt das Pipe-Operator '|' in Unix?

<p>Es verbindet den Standardausgabestrom eines Prozesses mit dem Standardeingabestrom eines anderen Prozesses.</p> Signup and view all the answers

More Quizzes Like This

Shell Scripting Basics
15 questions

Shell Scripting Basics

HallowedMajesty avatar
HallowedMajesty
Environment Variables in Shell Scripting
10 questions
Shell Scripting Basics
6 questions

Shell Scripting Basics

AbundantIndianapolis avatar
AbundantIndianapolis
Use Quizgecko on...
Browser
Browser