This shows you the differences between two versions of the page.
|
uso:laboratoare:laborator-03 [2021/10/12 23:32] liza_elena.babu created |
uso:laboratoare:laborator-03 [2025/10/14 12:54] (current) ana.almajanu |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Laborator 03 - Lucrul cu fișiere (partea a 2-a) ====== | ====== Laborator 03 - Lucrul cu fișiere (partea a 2-a) ====== | ||
| + | |||
| + | ===== Pregătirea laboratorului ===== | ||
| + | |||
| + | Pentru pregătirea suportului de laborator, rulați următoarele comenzi în ordine: | ||
| + | |||
| + | <code bash> | ||
| + | student@uso:~$ cd ~ | ||
| + | student@uso:~$ wget http://elf.cs.pub.ro/uso/res/labs/lab3/lab3.zip | ||
| + | --2021-10-18 22:44:01-- http://elf.cs.pub.ro/uso/res/labs/lab3/lab3.zip | ||
| + | Resolving elf.cs.pub.ro (elf.cs.pub.ro)... 141.85.227.116 | ||
| + | Connecting to elf.cs.pub.ro (elf.cs.pub.ro)|141.85.227.116|:80... connected. | ||
| + | HTTP request sent, awaiting response... 200 OK | ||
| + | Length: 14908126 (14M) [application/zip] | ||
| + | Saving to: ‘lab3.zip’ | ||
| + | |||
| + | lab3.zip 100%[===============================================================================================================>] 14,22M 7,61MB/s in 1,9s | ||
| + | |||
| + | 2021-10-18 22:44:03 (7,61 MB/s) - ‘lab3.zip’ saved [14908126/14908126] | ||
| + | |||
| + | student@uso:~$ unzip lab3.zip | ||
| + | Archive: lab3.zip | ||
| + | creating: archive/ | ||
| + | inflating: archive/inregistrare_lab03.mp4 | ||
| + | inflating: archive/inregistrare_lab01.mp4 | ||
| + | inflating: archive/inregistrare_lab04.mp4 | ||
| + | inflating: archive/inregistrare_lab02.mp4 | ||
| + | creating: redirection/ | ||
| + | inflating: redirection/RL | ||
| + | inflating: redirection/USO | ||
| + | inflating: redirection/EGC | ||
| + | |||
| + | # Când vi se cere parola pentru student, scrieți: student și apăsați enter. | ||
| + | # Nu va apărea pe ecran nimic în timp ce tastați. | ||
| + | |||
| + | student@uso:~$ sudo apt update | ||
| + | [sudo] password for student: | ||
| + | |||
| + | </code> | ||
| + | |||
| {{page>uso:laboratoare:laborator-03:io_redirection&nofooter&noeditbutoon}} | {{page>uso:laboratoare:laborator-03:io_redirection&nofooter&noeditbutoon}} | ||