The Command-line and scripting

There are two main ways of interacting with computers. The first is the graphical user interface (GUI) and the second is the command-line interface (CLI).


  • Understanding the CLI Video — 00:10:50
    • All operating systems provide at least one command-line interface (CLI). While the CLIs differ, they all share certain features and functions.

  • Navigating the CLI Video — 00:13:30
    • Navigating around your mass storage is one of the most critical CLI functions. To do it, you’ll need to know about specific commands, their relevant switches, and how directories are structured.

  • Working with folders Video — 00:06:27
    • The data stored in our mass storage devices is organized into a large tree of folders (also known as directories). A good tech must understand how to create, delete and move folders.

  • Working with files Video — 00:10:54
    • Within that big tree of folders, the data itself is saved in individual files. A good tech must understand how to create, delete, and move files.

  • Working with drives Video — 00:12:52
    • Every CLI provides a complete set of tools to administer our mass storage drives. You’ll find tools to format and partition drives, scan for errors and correct them, and more.

  • Super copy commands Video — 00:08:21
    • Every CLI provides a basic copy command to move files from one location to another. These basic tools lack special features such as copying entire folder structures. That’s where special “super” copy commands come in.

  • Command-line permissions Video — 00:07:22
    • All Linux/UNIX operating systems share a unique file/folder permission system, very different from Windows’, which requires careful understanding.

  • Advanced Windows commands Video — 00:07:41
    • The Windows command line also provides hundreds of tools, and many have nothing to do with managing files, folders, and drives. A good tech should understand commands for manipulating processes and group policies.

  • Advanced Linux commands Video — 00:11:02
    • The CompTIA exam covers a few more advanced Linux commands. These commands enable some unique navigation.

  • Introduction to scripting Video — 00:09:32
    • Scripting is the process of combining a list of commands into text files in order to easily re-run the whole sequence of commands again later. Every operating system has at least two if not more scripting functions to allow a tech to do exactly this.

  • Interpreted languages Video — 00:12:12
    • Every operating system contains interpreters that can read higher-level programming languages. This episode covers three popular interpreters: Visual Basic, Python, and JavaScript.

  • Scripting and the terminal Video — 00:09:19
    • Scripting can make tedious tasks more efficient, but there are a number of other reasons to use it as well. This video reviews the use cases for scripting, what can happen when scripting goes wrong, and a few other helpful tips.


Course description

In this course, you will learn how to run simple commands in the CLI and understand how to use “switches” to modify those commands. You will then learn about interpreted languages (which are how computers communicate) such as Microsoft Visual Basic, Python, and JavaScript and how to use those to run scripts that can automate long, tedious tasks.

Meet the author

Mike Meyers, affectionately called the “Alpha Geek,” is the industry’s leading authority on CompTIA certifications. He is the president and co-founder of Total Seminars, LLC, a provider of PC and network repair seminars, books, videos and courseware for thousands of organizations throughout the world. Mike has been involved in the computer and network repair industry since 1987 as a technician, instructor, author, consultant and speaker. He has sold over a million IT and certification books, including the best-selling CompTIA A+ Certification All-in-One Exam Guide and CompTIA Network+ Certification All-in-One Exam Guide. He has personally taught thousands of students, including U.S. senators, U.S. Supreme Court Justices, members of the United Nation, every branch of the U.S. Armed Forces, many branches of the Department of Justice, hundreds of corporate clients and academic students at every level.

You're in good company


We use Infosec Skills to provide continuous training to our technicians and to prepare them for various certifications. Infosec Skills allows us to create personalized training programs that focus on each of our technicians’ particular roles and see their progress as they take courses. We also, recommend it to clients to make their IT support teams better.

Caleb Yankus


This has been utilized to bridge the skills gap across our cyber team and to aid them as they prepare for their various certifications. It also has provided a nice learning foundation for our various cyber team members to utilize as we continue to find ways for cross-utilization with operations while minimizing the downtime needed to ensure everyone’s knowledge is the same.

Daniel Simpson


We use Infosec Skills to provide base level knowledge for employees. We also use the services to provide in depth learning for employees as they encounter new technologies. If an employee is is assigned to a new project, we can rely on Infosec Skills to provide a rapid concentrated learning environment. This rapid concentrated learning positions our employees for success.

Infosec Skills Teams client

Plans & pricing

  • Infosec Skills Personal

    $299 / year

    • 190+ role-guided learning paths (e.g., Ethical Hacking, Threat Hunting)
    • 100s of hands-on labs in cloud-hosted cyber ranges
    • Custom certification practice exams (e.g., CISSP, Security+)
    • Skill assessments
    • Infosec peer community support
  • Infosec Skills Teams

    $799 per license / year

    • Team administration and reporting
    • Dedicated client success manager
    • Single sign-on (SSO)
      Easily authenticate and manage your learners by connecting to any identity provider that supports the SAML 2.0 standard.
    • Integrations via API
      Retrieve training performance and engagement metrics and integrate learner data into your existing LMS or HRS.
    • 190+ role-guided learning paths and assessments (e.g., Incident Response)
    • 100s of hands-on labs in cloud-hosted cyber ranges
    • Create and assign custom learning paths
    • Custom certification practice exams (e.g., CISSP, CISA)
    • Optional upgrade: Guarantee team certification with live boot camps

Unlock 7 days of free training

  • 1,400+ hands-on courses and labs
  • Certification practice exams
  • Skill assessments

Award-winning training that you can trust

Comprehensive Cybersecurity Training - Infosec Skills
Cybersecurity Education and Training Gold Award - Infosec IQ
Top Rated Award - Infosec Skills
2021 G2 Summer - Leader - Tech Skills Dev, Online Course, eLearning Content
Top 20 Company - Online Learning Library