unix

Find a File in a …

If you’ve ever needed to find a file in a directory or subdirectory without clicking around this handy terminal command might help you find the file(s) more quickly. The find command will search directories based on a name or pattern supplied. Example find /path/to/dir -name …

Deleting node_modules (or …

In this video I'll show you a simple command to find and remove all of your node_modules folders, or any folder you have a lot of, quickly and easily.

Useful Command Line …

Here are some useful command line snippets Get the number of files in a directory, by using the ls command this will count the result. ls -l | wc -l List all files in a directory/ directories recursively ls -LR Find all files in a directory based on a pattern ls | grep -P "^A.*[0-9]{2}$" And …