Lädt...


🔧 🖥️ Terminal Buyruqlari va .NET CLI: Boshlang'ich dasturchilar uchun qo'llanma


Nachrichtenbereich: 🔧 Programmierung
🔗 Quelle: dev.to

Dasturlash dunyosida samaradorlikni oshirish uchun terminaldan foydalanishni bilish juda muhimdir. 💻 Ayniqsa, .NET dasturchilari uchun terminal orqali loyihalarni yaratish va boshqarish jarayonini tushunish boshlang'ich qadamdir. Ushbu maqolada eng asosiy terminal buyruqlari va .NET CLI buyruqlarini o'rganamiz. 🛠️

Terminal buyuruqlari

Bu qismda joylashuv va fayllarni boshqarish uchun ishlatiladigan eng kerakli terminal buyruqlarini ko'rib chiqamiz. 📂

  • 🧭 pwd — Joriy joylashuvni ko'rsatadi:
pwd
  • 📜 ls — Joylashuvdagi fayllar va papkalarni ko'rish uchun:
ls
  • 🚪 cd — Boshqa joylashuvga o'tish:
cd folder_name
  • ⬆️ cd .. — Bitta fayl ortga qaytish:
cd ..
  • 🗂️ mkdir — Yangi katalog yaratish:
mkdir folder_name
  • 🗑️ rm — Faylni o'chirish:
rm folder_name
  • 🗑️ rm * — Barcha fayllarni o'chirish:
rm *

> * degani all ya'ni barchasi degani. Bu yulduzcha ko'p joylarda all ya'ni barchasi degan ma'noda qo'llanilib keladi.

.NET loyihalarini yaratish va boshqarish:

Endi .NET dasturchilari uchun foydali bo'lgan CLI buyruqlarini ko'rib chiqamiz. 🌐 Bu buyruqlar yordamida yangi loyihalar yaratish va boshqarish juda oson. ⚙️

  • 🆕 dotnet new console -n — Yangi konsol dasturini yaratish:
dotnet new console -n ProjectName

Tushuntirish: -n belgisi ism berish uchun ishlatilinadi. Agarda -n belgisisiz komanda beriladigan bo'lsa loyiha nomi fayl nomi qanday bo'lsa shundayligicha bo'ladi!

  • 🛠️ dotnet new solution — Yangi .NET yechimini yaratish:
dotnet new solution
  • ➕ dotnet add solution — Loyihani yechimga qo'shish:
dotnet add solution solution_name.csproj
  • 🏗️ dotnet run — Loyihani ishga tushirish:
dotnet run

Eslatma: Agarda terminal ochilgan faylda C# fayl bo'lmasa bu komanda ishlamaydi!

Terminal buyruqlari va .NET CLI orqali ishlash dasturchining hayotini ancha yengillashtiradi va ishni tezlashtiradi. ⏩ Yangi boshlanuvchilar uchun bu qadamlar kichik bo'lib ko'rinsa-da, ular keyinchalik kattaroq va murakkab loyihalar bilan ishlashda juda muhim asos bo'lib xizmat qiladi. 🚀

...

🔧 🖥️ Terminal Buyruqlari va .NET CLI: Boshlang'ich dasturchilar uchun qo'llanma


📈 198.63 Punkte
🔧 Programmierung

🔧 🖥️ Terminal Buyruqlari: Dasturchilar Uchun Asosiy Vosita


📈 106.91 Punkte
🔧 Programmierung

🔧 Bugungi Terminal Komandalari: Produktiv Kun Uchun Eng Yaxshi Amaliyotlar


📈 39.57 Punkte
🔧 Programmierung

🔧 setw() & setfill() | C++ boshlang'ich


📈 38.67 Punkte
🔧 Programmierung

🔧 cin | C++ boshlang'ich


📈 38.67 Punkte
🔧 Programmierung

🔧 Maxsus belgilar | C++ boshlang'ich


📈 38.67 Punkte
🔧 Programmierung

🔧 Replit saytidagi shell buyruqlari haqida


📈 32.65 Punkte
🔧 Programmierung

🔧 O'QITUVCHILAR UCHUN MALAKAVIY TESTLAR TIZIMI


📈 31.24 Punkte
🔧 Programmierung

🔧 CLI and .NET CLI Commands


📈 24 Punkte
🔧 Programmierung

📰 John Waters: "Als ich Elvis sah, wusste ich, ich bin schwul"


📈 22.31 Punkte
📰 IT Nachrichten

📰 Ich kauf Twitter nicht, ich kauf Twitter, ich kauf Twitter nicht


📈 22.31 Punkte
📰 IT Nachrichten

📰 Total War Rome Remastered im Test: Ich kam, ich sah, ich fluchte


📈 22.31 Punkte
📰 IT Nachrichten

🔧 Revitalizing Legacy .NET Apps: Upgrading From .NET 4.7 to .NET 7 With the .NET Upgrade Assistant Tool


📈 21.78 Punkte
🔧 Programmierung

🔧 Microsoft .NET Maze: Understand .NET Core Vs .NET Framework Vs ASP.NET


📈 21.78 Punkte
🔧 Programmierung

🎥 TWC9: .NET Conf, .NET Core 3.0, Windows Terminal 1909, Xamarin + Azure Functions, and more


📈 19.22 Punkte
🎥 Video | Youtube

🔧 O poder do CLI com Golang e Cobra CLI


📈 18.56 Punkte
🔧 Programmierung

🕵️ CVE-2023-20050 | Cisco NX-OS CLI command injection (cisco-sa-nxos-cli-cmdinject-euQVK9u)


📈 18.56 Punkte
🕵️ Sicherheitslücken

🐧 halp: A CLI tool to get help with CLI tools


📈 18.56 Punkte
🐧 Linux Tipps

🎥 Power Platform CLI Exposed: PAC CLI Overview


📈 18.56 Punkte
🎥 Video | Youtube

🕵️ CVE-2022-20930 | Cisco SD-WAN CLI argument injection (cisco-sa-sdwan-privesc-cli-xkGwmqKu)


📈 18.56 Punkte
🕵️ Sicherheitslücken

🕵️ CVE-2022-30301 | Fortinet FortiAP-U CLI up to 5.4.6/6.0.4/6.2.3 CLI Command path traversal


📈 18.56 Punkte
🕵️ Sicherheitslücken

🐧 Since xfreerdp is discontinuing its CLI support, what CLI-based xRDP client will you be using?


📈 18.56 Punkte
🐧 Linux Tipps

🕵️ Medium CVE-2020-7633: Apiconnect-cli-plugins project Apiconnect-cli-plugins


📈 18.56 Punkte
🕵️ Sicherheitslücken

🐧 I created a NordVPN profile manager CLI for OpenVPN called "nordvpn-cli", in bash/node.


📈 18.56 Punkte
🐧 Linux Tipps

🐧 Transparently transform the macOS CLI into a fresh GNU/Linux CLI experience.


📈 18.56 Punkte
🐧 Linux Tipps

🐧 DD-CLI-HELPER and VBOXMANAGE-CLI-HELPER


📈 18.56 Punkte
🐧 Linux Tipps

🔧 Pinata CLI: A CLI Application for the Pinata.Cloud Files Interface


📈 18.56 Punkte
🔧 Programmierung

🔧 Introducing Eppie-CLI — the official CLI for Eppie, an open protocol encrypted p2p email


📈 18.56 Punkte
🔧 Programmierung

🔧 The power of the CLI with Golang and Cobra CLI


📈 18.56 Punkte
🔧 Programmierung

matomo