Its distros come in GUI (graphical user interface), but basically, Linux has a CLI (command line interface).
In this tutorial, we are going to cover the basic commands that we use in the shell of Linux.
Per apre u terminal, appughjà Ctrl + Alt + T in Ubuntu, o appughjà Alt + F2, scrivite gnome-terminal, è appughjà enter.
How do I get to the Linux command line?
Press Ctrl Alt T in u teclatu. Se preferite, ci deve esse qualcosa chjamatu Terminal in u vostru menu di prugrammi. Pudete cercà pressu u buttone "Windows" è scrivite "terminal". Ricurdativi, i cumandamenti in Linux sò sensibili à u casu (per quessa, e lettere maiuscule o minuscule importanu).
Cumu tornu à u prompt di cumanda in Linux?
Quandu avete eseguitu un cumandamentu "in primu pianu" è vulete sospendellu (per ùn piantà definitivamente) pudete appughjà CTRL + Z . A cunchiglia vi risponderà in una manera simile (per esempiu) Per cuntinuà u travagliu precedente pudete scrive % 1 & (u stessu numeru chì leghje da u terminal). Pudete ancu fà cù bg % 1 .
Cumu possu eseguisce un prugramma da u terminal?
Segui questi passi per eseguisce prugrammi nantu à u terminal:
- Apertura terminal.
- Scrivite cumandamentu per installà gcc o g++ complier:
- Avà andate à quellu cartulare induve create prugrammi C/C++.
- Aprite un schedariu cù qualsiasi editore.
- Aghjunghjite stu codice in u schedariu:
- Salverà u schedariu è surtite.
- Cumpilà u prugramma usendu qualsiasi di i seguenti cumandamenti:
How can I learn Linux commands in Windows?
L'opzioni più cumuni sò:
- Installa Git per Windows. Installarà ancu Git Bash, chì hè un prompt di cumanda chì sustene a maiò parte di i cumandamenti Linux.
- Installa Cygwin.
- Installa una VM (per esempiu VirtualBox) è poi installate una distribuzione Linux in cima (per esempiu Ubuntu).
Foto in l'articulu di "Flickr" https://www.flickr.com/photos/xmodulo/24328438935