
Learn the command line for Windows and Linux administration. Navigate file systems, use the terminal, and build shell scripts with cmd and ssh.
Explore the command line interface, shell, and terminal, and compare cmd and Windows PowerShell while highlighting historical roots in MS-DOS, Unix, and Bash scripting.
Receive an early course review prompt and learn the course goals while you prepare your environment. Leave an honest review or click the ask me later button to keep watching.
Discover why the command line saves time and resources, enables keyboard-only work, supports loops and automation, and handles package managers, Git, and cross-platform consistency across Windows, Linux, and Bash.
Discover how the Windows command line speeds network information with ipconfig, streamlines file management, and automates registry edits and patches for scalable administration.
Explore the Windows command line basics, including ms-dos and the cmd command, and compare Unix commands used in Linux and Mac. Learn how Cmder and Windows PowerShell support Windows administration.
Open the Windows command prompt via run or search, explore ipconfig, and switch to the Node.js prompt to use node-specific help with dot help and exit back.
Discover how to edit colors and the window title using the command line in Windows, compare it to the graphical user interface, and use color, color space, and title commands.
Master the cd command in Windows to move between folders, go up with double dot, return to root with backslash, use tab completion, create folders with mkdir, and handle errors.
Open Windows Explorer from the command line by typing explorer to access folders on local disk c, and compare CMD's limits with Linux commands that Cmder can support.
Master Windows PowerShell, a task-based command-line that unifies Windows and Linux commands, demonstrates aliases like cd and set location, and explains how clear host compares to clear for Windows administrators.
Explore cmder, a portable console emulator for Windows that unifies Windows cmd with Linux-like commands. Download, unzip, run, and customize cmder with color themes and aliases for efficient navigation.
Compare how quickly you can create multiple folders using the command line with mkdir (md) versus the graphical interface, and learn to list directories with dir or ls.
Master creating folders with spaces in names using mkdir, employing double quotes for multi-word names and single quotes for multi-keyword names, and compare Linux and Windows listing formats.
Learn to create folders in any path with the command line, using dot-dot backslash to place a folder in the bin directory from the css directory.
Learn to create folders across drives using the command line, switching to another drive, naming directories like React, and verifying with Explorer for fast, professional workflow.
Learn to rename and move folders using Windows and Linux commands, employing move and mv to rename directories, with mkdir used to create new folders and organize content.
Move and rename folders using Windows move and Linux mv commands. See how to move between directories, handle existing targets, and verify results with ls and dot dot navigation.
Move a folder across directories using cd to root with backslash, cd to parent with double dot, and direct file paths to place the WW folder into a font directory.
Learn to move and rename folders with the command line, using cd, ls, and mv to perform moving, renaming, or both in flexible ways.
Master renaming files and folders with the rename command in Windows, troubleshoot duplicate names and missing targets, and compare rename with move for renaming or relocating items.
Learn how to use the Windows command line help to master essential commands like move, mkdir, and cd, including switches and path syntax for moving, renaming, and creating directories.
Explore how Windows and Linux commands show built-in command help, using backslash exclamation mark on Windows and dash dash help on Linux, with examples of cp, mv, and cd.
Master recursive directory copying with the cp -R command. Learn when to copy a directory and its contents versus copying a single file, with practical examples.
Copy files with cp and copy folders with cp -R to include all contents. Windows copy handles files only; use PowerShell for copying folders.
Learn to remove directories and all their contents using rm -r, differentiate empty versus nonempty folders, and use /s and prompts to control deletion.
Explore using the rm command with prompt before removal to delete files and folders, including recursive deletion with -R, and learn how to selectively keep items by answering prompts.
Learn to delete empty directories safely with rm -D, avoid deleting non-empty folders, compare with rm -R for recursive deletion, and use -V to see each step.
Learn to use the verbose option (-V) in any position to see, in real time, the steps of copying, deleting, and managing directories with -R and -e prompts.
Learn to use the echo command on Windows to print text, create and modify files, overwrite content with > and append with >>, and view help and settings.
Master command line file viewing by using cat to display file contents, and cut to extract text from multiple files or directories, including wildcards and text files.
Copy all text files into a txt folder with cp and wildcards, list them with ls, view content with cat, then concatenate into a file and append with >>.
Master grep to search plain text across files using global regular expressions, printing matching lines quickly on the command line, even in large log files.
Learn to use grep to search for text across files and folders recursively, using the recursive option to query multiple directories and their contents from the command line.
Use grep to search for expressions across files recursively with -R in the log folder, and print only the file names containing matches with -L.
Learn to search text across paths with grep, using -R for recursive and -l to list files, scanning folders like log, text, and preview on the C drive.
Learn how the file type is determined by content, not extension, using Windows command line examples like bin.txt, doc, and jpg, plus renaming tests.
Display a graphical folder hierarchy with the tree command in Windows, showing folders and files with /f and using /a for ASCII output on a drive or path.
Learn how to abort a current task in the command line using Ctrl+C to stop long-running commands and regain control quickly.
Master the Windows command line to display and export running tasks with task list, identify memory usage and process IDs, and kill processes by PID.
Learn to use and create aliases in the Windows command line to shortcut long commands, view, edit, delete, and reload alias files for faster navigation and tasks.
learn to redirect command prompt output to a file, run multiple commands at once, and save results with > and >>, using examples like ipconfig, whoami, and systeminfo.
Explore the command prompt (cmd) in Windows to troubleshoot networks and systems as a system and network administrator, using administrator privileges to run essential commands that mirror real environments.
Use ping to quickly verify connectivity between a user machine and a server, isolating issues from cables, switches, or providers, and pinpoint outlook or exchange problems.
Use the ping command to verify reachability from your computer to the internet service provider and diagnose whether issues lie with the router, firewall, or the internet service provider.
Master pinging a host until interrupted using the -t option to continuously test connectivity, observe replies and timeouts, and verify network troubleshooting results.
Learn to view and filter your Windows IP configuration with ipconfig, including all adapters (Wi-Fi, Ethernet, VMware), and use ipconfig /all, pipes, and findstr to isolate DNS and IPv6 details.
Use ipconfig to release and renew IPv4 addresses on a Windows machine, see the adapter lose and regain IPs, and enable IPv6 to obtain an IPv6 address if needed.
Learn how to release and renew IPv4 addresses for Windows adapters using ipconfig, including targeting the wifi adapter by name in quotes.
Learn to display the dns resolver cache with ipconfig /displaydns, copy results via a pipeline to clip, and purge the dns cache using ipconfig /flushdns.
Learn to use nslookup to diagnose DNS infrastructure by querying DNS records and retrieving IPv4 and IPv6 addresses, aliases, and type=60 and MCS record data.
Learn how to display your computer's name with the hostname command, and use nslookup to view the DNS server and domain information on Windows.
Learn to obtain mac addresses of your machine's network adapters using the getmac command, view details with /v, identify VMware and other virtual mac addresses, and copy results with clip.
learn to specify the output format in the get command using format csv, format table, or format listing, and copy results to the clipboard or text editor.
Trace the route with tracert to view hop counts and devices. Use the target name and -d to not resolve address, and -4 or -6 for IP versions.
Learn to use net state to display all active and listening connections with protocol, addresses, ports, and state, and explore options like -a, -e, and -p.
Learn to manipulate the Windows routing table with route print, add, delete, and modify commands, IP version four and IP version six, gateways, network destinations, net masks, and interfaces.
Generate a network report in Windows using net and ipconfig, inspect network interfaces, wireless adapters, and wifi profiles, and export findings to a file.
Pathping combines traceroute and ping to identify which routers or subnets have problems by showing per-hop latency and packet loss, with an option to skip DNS resolution.
Run sfc to scan and repair protected system files, replacing corrupted versions with the Microsoft files. Use /scannow and offline repair options to troubleshoot boot issues.
Master deployment image servicing with the DSM tool to display and manage Windows images online or offline, including check health, restore health, and clean image operations.
Master windows power management using powercfg to generate a full energy and battery report, analyze power policies, sleep settings, and cpu utilization to optimize energy efficiency.
Generate a battery usage report from the command line and save an html file showing design capacity, full charge capacity, usage history, and ac vs battery time, with xml export.
View and manage file extension associations on the Windows command line. Associate a dot extension with a chosen program, inspect current file associations, and delete an association to reset it.
Learn to use chkdsk to check and repair disk problems on USB drives, diskettes, or hard disks, using /F to fix errors and /V to display file paths.
Master the system info command to view operating system details, hardware, memory, network adapters, and hotfix data, including remote access options and output formats.
learn to use google to find the right command for windows or linux, then open files, move and rename folders, and launch code from the terminal.
Discover an A–Z index of the Windows and Linux command line, covering Bash and CMD commands with practical examples.
Explore an A–Z index of Windows PowerShell commands, learn to create and manage aliases, use tab completion, and access help to master the Windows command line.
End the course by closing the terminal with the exit command; type exit and press enter in any command prompt to shut the terminal, with or without a mouse.
It doesn’t matter if you’re working with Windows or Linux operating system: taking a good command line tutorial is something every programmer and system administrator should do. Using the terminal gives you greater control and more options, thus making you more flexible and able to deal with a broader set of tasks on hand. In addition to that, it’s faster, uses less RAM than other interfaces, and doesn’t care about the quality of your monitor one bit.
Fettah Ben has been working as a system administrator for over a decade. He knows perfectly well how to use command line the right way – in this 4-hour command line crash course, he will share his knowledge with you too!
Learn command prompts from scratch!
It’s true: we’re living in a world of graphical user interfaces, drag-and-drops, and a multitude of other tools that simplify using technologies to the maximum. However, most programmers will agree you need to understand how to use the command line, which was created back when the only way to call a specific command was by typing.
In this command line tutorial, you will learn all about the command line interface (CLI) and its elements: command line, shell, and terminal window. Fettah Ben will introduce you to the basics file and system navigation and administration in both Linux and Windows:
You will get to know the terminal and understand the benefits of using it in your daily work
You will find out all there is to know about shell scripts and the ways to write them yourself
Last but not least, you will learn command prompts by reviewing syntax patterns. There’s no use in knowing the commands if you’re not writing them properly, right?
Completing this command line tutorial will provide you with enough knowledge to start working on your own server administration projects on Windows or Linux terminals.
A command line crash course – learn in half a day!
Having worked professionally with the command line interface for the last decade, Fettah Ben knows perfectly well what you need to know to begin working on your own projects. In this 4-hour command line tutorial, you will find 71 lessons, conveniently grouped into six distinct sections:
Introduction to the terminology and subject
Picking the terminal: different options you can choose from
Working with files and directories
Your first steps: using cat and echo programs
Tips and tricks to simplify your daily work
Scripting for all your database and OS needs
You might notice some of the lectures are free to review. They offer introductions to the command line tutorial so you know what you can expect from the course. It is also a chance to check whether the instructor’s accent is clear and understandable to you, so make sure to watch them before enrolling in the course.
Learning to work with the command line interface doesn’t take a lot of time, but it can save a lot. Enroll in the comprehensive course introduced by Fettah Ben and master it yourself!