Sunteți pe pagina 1din 1

Tema Comenzi Sistem de operare

Deschideti terminalul de tip PowerShell si urmati instructiunile de mai jos


folosing doar comenzile de terminal (scrieti in dreptul fiecare instructiuni
comanda folosita)
1. Ajuneti in locatia Desktop - cd .\Desktop\
2. In locatia Desktop, create un folder numit �proiect�- mkdir proiect
3. In acest folder mai create 3 foldere �client�, �server�, �test�- cd
.\proiect\==> mkdir client, server, test
4. Intrati in folderol �test� cd .\test\
5. Creati 3 fisiere �index.html�, �style.css� si �readme.txt�- type nul >
readme.txt
6. Editati fisierul �index.html� folosing editorul sublime si create o pagina html
care sa afiseze in browser doar �<h1>Proiect Learning</h1>�
C:\Users\RockOn\Desktop\proiect\test> subl index.html
7. Editati fisierul �style.css� cu editorul de terminal �nano� si dati culoarea
rosie h1-lui din �index.html� - nano style.css //h1 { color: red}// verificare:
start index.html
8. Stergeti fisierul �readme.txt� - rm readme.txt
9. Duce-ti-va un pas in spate din folerul �test� si stergeti folderol �server�-
C:\Users\RockOn\Desktop\proiect\test> cd C:\Users\RockOn\Desktop\proiect/// rm
server
10. In folderul �client� mai creati 2 foldere si in el cate 3 fisiere goale.
- C:\Users\RockOn\Desktop\proiect> cd .\client\///
C:\Users\RockOn\Desktop\proiect\client> mkdir 1, 2, 3
11. Stergeti folderul �client� si tot ce se afla in acesta cu o singura comanda
rmdir client -

Confirm
The item at C:\Users\RockOn\Desktop\proiect\client has children and the Recurse
parameter was not specified. If you
continue, all children will be removed with the item. Are you sure you want to
continue?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is
"Y"): A
PS C:\Users\RockOn\Desktop\proiect> rmdir client

S-ar putea să vă placă și