Beginner's Guide to Coding and Data

Level: Beginner

Command line interfaces explained | Introducing CLIs for programming beginners

video

expand_more chevron_left

text

expand_more chevron_left

Unpacking Command-Line Interfaces

Welcome to the fascinating world of command-line interfaces! Let's dive right in and reveal the critical role of code and data within each CLI.

We'll walk through the initial steps as follows:

  1. Understand CLI basics
  2. Run specific CLIs for hands-on practice

Types of CLIs

First up, let's demystify the types of command-line interfaces we'll be covering today.

  • PowerShell CLI on Windows
  • JavaScript Console in Web Browsers
  • Linux Terminal on Ubuntu

Whether we call them shells, consoles, or terminals, these are all forms of command-line interfaces. In each of these, the underlying code and data give them unique capabilities.

Working with PowerShell

On a Windows system, we can find PowerShell easily. All we see initially is a text-based interface with a blinking cursorโ€”also known as the prompt.

We can type commands here, and when we hit enter, the command is executed. For example, we can type Get-Process and hit enter to see a list of running processes.

# Example PowerShell command
Get-Process

Behind the scenes, PowerShell lets us access and manage various aspects of the Windows system through code and data.

For example, we can run programs like Notepad by typing their names and hitting enter.

Exploring the JavaScript Console

We'll find the JavaScript console within our web browser's developer tools. Again, it's text-based.

// Example JavaScript code
console.log("Hello, World!");

In this console, we can interact with the webpage itselfโ€”manipulating and querying elements, checking variables, and so on.

For example, we can access the webpage as a document and see its contents.

The Linux Terminal

Last but not least, we have the Linux Terminal. The appearance is similar, but what sets it apart is the type of code and data it provides access to.

# Example Linux command
ls -l

Here, we can manage a Linux system, from file manipulation to system administration tasks.

For example, we can list the contents of the current directory by typing ls and hitting enter.

As we continue our journey into the world of data science, understanding and utilizing these CLIs will be crucial. For now, feel free to launch a shell yourself, whether it's PowerShell, the JavaScript console, or the Linux Terminal. Happy exploring!

quiz

expand_more chevron_left
deeplizard logo DEEPLIZARD Message notifications

Quiz Results

resources

expand_more chevron_left
Command line interfaces also known as CLIs provide us with a text based way to interact with computers opposed to the graphical way that most of us are used to. They are pretty awesome because they allow programmers to interact with code and data directly. Link: https://www.patreon.com/posts/command-line-for-18227296 1) Windows PowerShell 2) JavaScript Console 3) Bash terminal Let's check it out. Checkout posts for this video: https://www.patreon.com/posts/command-line-for-18227296 https://www.instagram.com/p/BhqQdN-FPDU/?taken-by=deeplizard https://twitter.com/deeplizard/status/986067981020131328 https://steemit.com/data-science/@deeplizard/command-line-interfaces-explained-or-introducing-clis-for-programming-beginners ๐Ÿ•’๐ŸฆŽ VIDEO SECTIONS ๐ŸฆŽ๐Ÿ•’ 00:00 Welcome to DEEPLIZARD - Go to deeplizard.com for learning resources 00:30 Help deeplizard add video timestamps - See example in the description 06:16 Collective Intelligence and the DEEPLIZARD HIVEMIND ๐Ÿ’ฅ๐ŸฆŽ DEEPLIZARD COMMUNITY RESOURCES ๐ŸฆŽ๐Ÿ’ฅ ๐Ÿ‘‹ Hey, we're Chris and Mandy, the creators of deeplizard! ๐Ÿ‘€ CHECK OUT OUR VLOG: ๐Ÿ”— https://youtube.com/deeplizardvlog ๐Ÿ’ช CHECK OUT OUR FITNESS CHANNEL: ๐Ÿ”— https://www.youtube.com/channel/UCdCxHNCexDrAx78VfAuyKiA ๐Ÿง  Use code DEEPLIZARD at checkout to receive 15% off your first Neurohacker order: ๐Ÿ”— https://neurohacker.com/shop?rfsn=6488344.d171c6 โค๏ธ๐ŸฆŽ Special thanks to the following polymaths of the deeplizard hivemind: Mano Prime ๐Ÿ‘€ Follow deeplizard: Our vlog: https://youtube.com/deeplizardvlog Fitness: https://www.youtube.com/channel/UCdCxHNCexDrAx78VfAuyKiA Facebook: https://facebook.com/deeplizard Instagram: https://instagram.com/deeplizard Twitter: https://twitter.com/deeplizard Patreon: https://patreon.com/deeplizard YouTube: https://youtube.com/deeplizard ๐ŸŽ“ Deep Learning with deeplizard: AI Art for Beginners - https://deeplizard.com/course/sdcpailzrd Deep Learning Dictionary - https://deeplizard.com/course/ddcpailzrd Deep Learning Fundamentals - https://deeplizard.com/course/dlcpailzrd Learn TensorFlow - https://deeplizard.com/course/tfcpailzrd Learn PyTorch - https://deeplizard.com/course/ptcpailzrd Natural Language Processing - https://deeplizard.com/course/txtcpailzrd Reinforcement Learning - https://deeplizard.com/course/rlcpailzrd Generative Adversarial Networks - https://deeplizard.com/course/gacpailzrd Stable Diffusion Masterclass - https://deeplizard.com/course/dicpailzrd ๐ŸŽ“ Other Courses: DL Fundamentals Classic - https://deeplizard.com/learn/video/gZmobeGL0Yg Deep Learning Deployment - https://deeplizard.com/learn/video/SI1hVGvbbZ4 Data Science - https://deeplizard.com/learn/video/d11chG7Z-xk Trading - https://deeplizard.com/learn/video/ZpfCK_uHL9Y ๐Ÿ›’ Check out products deeplizard recommends on Amazon: ๐Ÿ”— https://amazon.com/shop/deeplizard ๐Ÿ“• Get a FREE 30-day Audible trial and 2 FREE audio books using deeplizard's link: ๐Ÿ”— https://amzn.to/2yoqWRn ๐ŸŽต deeplizard uses music by Kevin MacLeod ๐Ÿ”— https://youtube.com/channel/UCSZXFhRIx6b0dFX3xS8L1yQ โค๏ธ Please use the knowledge gained from deeplizard content for good, not evil.

updates

expand_more chevron_left
deeplizard logo DEEPLIZARD Message notifications

Update history for this page

Did you know you that deeplizard content is regularly updated and maintained?

  • Updated
  • Maintained

Spot something that needs to be updated? Don't hesitate to let us know. We'll fix it!


All relevant updates for the content on this page are listed below.