Salutări dragi membri ai comunitaţii Just4Metin.ro !
Am să vă prezint o listă de comenzi în FreeBSD şi o explicaţie a acestora.
- cd [folder] - această comandă vă va deschide folderul din sistemul de operare şi veţi putea lucra în el. Exemplu: cd /home/game
- pwd - această comandă vă prezintă folderul curent în care lucraţi. Pur şi simplu, scrieţi pwd şi vă afişează folderul curent.
- ls [folder] - această comandă vă afişează conţinutul unui folder. Exemplu: ls /home/game
- cat [fişier] - această comandă vă afişează conţinutul unui fişier. Exemplu: cat server.log
- mkdir [nume] - această comandă vă permite crearea unui folder. Exemplu: mkdir Just4Metin.ro
- rmdir [folder] - această comandă vă permite ştergerea unui folder. Exemplu: rmdir Just4Metin.ro
- cp [fişier-sursă] [fişierul-ţintă] - această comandă vă permite copierea unui fişier. Exemplu: cp /Just4Metin.ro/tutorial.txt /Just4Metin.ro/tutorial.txt
- mv [fişier-sursă] [fişier-ţintă] - această comandă are două funcţii: redenumeşte sau mută un fişier. Exemplu redenumire: mv /Just4Metin.ro/tutorial.txt /Just4Metin.ro/tutorial_old.txt | Exemplu mutare: mv /Just4Metin.ro/tutorial.txt /home/tutorial.txt
- rm [fisier] - această comandă şterge un fişier. Exemplu: rm /Just4Metin.ro/forum.txt
- grep [text] [fişier] - această comandă caută într-un fişier un text. Exemplu: grep j4m/Just4Metin.ro/tutorial.txt
- tar [optiune] [nume-arhivă] [fişiere] - această comandă vă permite crearea unei arhive sau extragerea acesteia.
- zip [opţiune] [nume-arhivă] [fişiere] - această comandă vă permite crearea unei arhive ZIP.
- unzip [opţiune] [nume-arhivă] - această comandă vă permite extragerea unei arhive ZIP.
- compress [fişiere] - această comandă vă permite compresia unor fişiere *.Z
- uncompress [fisiere] - această comandă vă permite decompresia unor fişiere *.Z
Baftă, aveţi grijă cum le folosiţi!