All the CLI tutorials โคต๏ธ
-
Comparing files in CLI
I use the diff command to compare files in CLI and spot exact line changes instead of rewriting code.
-
tail Command in CLI
The tail command pulls the last lines from files so you can check logs without scrolling. I show how the -n flag lets you pick exactly how many lines to see.
-
head Command in CLI
See how to view the first lines of a file using the head command in CLI. I show the default output and how to change the line count with a simple flag.
-
grep Command in CLI
Use the grep command in CLI to filter logs, exclude patterns, and pipe results into other tools like head or tail.
-
Find files and directories in CLI
I show you how to use find to locate files and directories in CLI, covering type filters and case-insensitive searches to solve specific lookup problems.
-
Create an empty file in CLI
Use the touch command to create an empty file in the CLI. This snippet shows the exact syntax for making an HTML file in a specific directory.
-
Delete a directory in CLI
I show you how to delete a directory in CLI using rmdir for empty folders or rm -rf for those with files.
-
Move and Rename files and directories in CLI
I cover the mv command to move or rename files and directories in your CLI. It's a simple syntax that handles both tasks without extra tools.
-
Copy files and directories in CLI
The cp command copies files and directories from the CLI. I show you how to use the -r flag to handle whole folders without moving them.
-
cat Command in CLI
cat command basics: view files, merge them, and swap case with one-liners. No fluff, just the syntax for daily Linux tasks.