102-500 Deutsch試験無料問題集「Lpi LPIC-1 Exam 102, Part 2 of 2, version 5.0 (102-500 Deutsch Version) 認定」

Wenn ein Alias ​​1s vorhanden ist, welcher der folgenden Befehle aktualisiert den Alias, sodass er auf den Befehl 1s -1 statt auf das aktuelle Ziel des Alias ​​verweist?

Welche Datei im CUPS-Konfigurationsverzeichnis enthält die Definition der Drucker?

解説: (GoShiken メンバーにのみ表示されます)
Welche der folgenden Methoden ist die beste Methode, um alle definierten Shell-Variablen aufzulisten?

解説: (GoShiken メンバーにのみ表示されます)
Was kann mit useradd angegeben werden? (Wähle zwei.)

解説: (GoShiken メンバーにのみ表示されます)
Welches Zeichen im Passwortfeld von /etc/passwd wird verwendet, um anzuzeigen, dass das verschlüsselte Passwort in /etc/shadow gespeichert ist?

解説: (GoShiken メンバーにのみ表示されます)
Mit welchem ​​Befehl wird die Hardwareuhr mit der Systemuhr synchronisiert? (Geben Sie NUR den Befehl ohne Pfad oder Parameter an.)
正解:
hwclocksbinhwclockusrsbinhwclock
Explanation:
The command that is used to sync the hardware clock to the system clock is:
hwclock --systohc
This command copies the current system time to the hardware clock, which runs even when the system is shut down. It is equivalent to the command hwclock -w12. The hardware clock is also called the BIOS clock or the RTC (Real Time Clock)3.
Welche Konfigurationsdatei wird bearbeitet, um die Standardoptionen für ausgehende SSH-Sitzungen zu ändern?

解説: (GoShiken メンバーにのみ表示されます)
Welcher Port ist der Standardserver-Port für das HTTPS-Protokoll? (Geben Sie die Portnummer mit Ziffern an.)
正解:
443
Explanation:
The port number 443 is the default server port for the HTTPS protocol, which is a secure version of HTTP that uses SSL/TLS certificates to encrypt the data transmission between web servers and browsers. The port number 443 is recognized by the Internet Engineering Task Force (IETF) as the standard port for HTTPS connections1. The port number 443 is part of the topic 109.1: Fundamentals of internet protocols, which is one of the objectives of the LPI Linux Administrator - 102 exam23. Reference: 1: HTTPS Port: What It Is, How to Use It, and More (2023) - Hostinger 2: LPI Linux Administrator - 102 (LPIC-1) 3: Exam 102 Objectives
Auf einer Maschine, auf der mehrere X-Server laufen. Wie identifizieren Programme die verschiedenen Instanzen des X11-Servers?

解説: (GoShiken メンバーにのみ表示されます)
Welches Argument für die Option -type von find stimmt mit Dateien überein, die symbolische Links sind? (Geben Sie nur das Argument und keine anderen Optionen oder Wörter an.)
正解:
l
Explanation:
The -type option of the find command allows you to specify the type of file you want to search for. The argument l (lowercase L) will match files that are symbolic links, which are special files that point to another file or directory. Symbolic links are also known as soft links or symlinks. For example, the command find /home -type l will find all the symbolic links in the /home directory and its subdirectories.
Welche der folgenden Felder sind sowohl in der globalen Datei / etc / crontab als auch in benutzerspezifischen crontab-Dateien verfügbar? (Wählen Sie ZWEI richtige Antworten)

解説: (GoShiken メンバーにのみ表示されます)
Nach dem Konfigurieren des Druckvorgangs auf einem Linux-Server sendet der Administrator eine Testdatei an einen der Drucker und der Druck schlägt fehl. Mit welchem ​​Befehl kann der Status der Druckerwarteschlange angezeigt werden? (Geben Sie NUR den Befehl ohne Pfad oder Parameter an.)
正解:
lpqusrbinlpqlpstatusrbinlpstat
Explanation:
The command lpq can be used to display the status of the printer's queue on a Linux server. The lpq command is part of the cups-bsd package, which provides the Berkeley commands for CUPS (Common UNIX Printing System), the standard printing system for Linux. The lpq command shows the status of a specified printer or the default printer if none is specified. It also lists the jobs that are queued for printing, along with their job IDs, owners, sizes, and names12. For example, to display the status of the printer lp1, we can use the following command:
$ lpq -P lp1
lp1 is ready
Rank Owner Job File(s) Total Size
active user1 123 test.txt 1024 bytes
1st user2 124 report.pdf 2048 bytes
The output shows that the printer lp1 is ready, and that there are two jobs in the queue, one of which is active and the other is waiting. The output also shows the owners, job IDs, file names, and sizes of the jobs. To display the status of all printers, we can use the -a option:
$ lpq -a
lp1 is ready
Rank Owner Job File(s) Total Size
active user1 123 test.txt 1024 bytes
1st user2 124 report.pdf 2048 bytes
lp2 is ready
no entries
The output shows that there are two printers, lp1 and lp2, and that lp2 has no entries in the queue. To display more information about the jobs, such as the priority, submission time, and status, we can use the -l option:
$ lpq -l -P lp1
lp1 is ready
Rank Owner Job File(s) Total Size
active user1 123 test.txt 1024 bytes
priority 50 Apr 27 10:00 processing since Apr 27 10:01
1st user2 124 report.pdf 2048 bytes
priority 50 Apr 27 10:05 waiting for lp1
The output shows that the jobs have the same priority, and that the first job is processing while the second job is waiting. The lpq command can be useful for troubleshooting printing problems, such as checking if the printer is ready, if there are any stuck or failed jobs, or if there are any conflicts or delays in the queue34. Reference: 1: lpq(1) - Linux manual page 2: How to Use the lp Command in Linux to Print Files From Terminal - Make Tech Easier 3: Linux sysadmin printing reference guide - PenguinTutor 4: How to manage print jobs on Linux - Network World
Welche der folgenden Aussagen trifft auf systemd Timer-Einheiten zu?

解説: (GoShiken メンバーにのみ表示されます)
Welche der folgenden SQL-Abfragen zählt die Anzahl der Vorkommen für jeden Wert des Feldes order_type in den Tabellenreihenfolgen?

解説: (GoShiken メンバーにのみ表示されます)
Was ist der Zweck der Datei nsswitch.conf?

解説: (GoShiken メンバーにのみ表示されます)