Results for “ORDER BY”
Small, practical examples. Search by task or narrow things down below.
List files containing a match
Linux Commands: Use grep -l when only the matching filenames are needed.
Linux Commands✓ Tested
List files in a folder
List the names of regular files in a folder in alphabetical order, excluding subdirectories.
directory✓ Tested
List local branches
Print branch names in sorted order.
branch✓ Tested
List modified tracked files
Git: List modified tracked files inside the disposable repository created by the input setup.
Git✓ Tested
List newly added staged files only
Git: Filter the cached diff by added status while leaving modified files out.
Git✓ Tested
List paths saved in the latest commit
Git: List paths saved in the latest commit inside the disposable repository created by the input setup.
Git✓ Tested
List regular files
List immediate regular files in sorted order and close the Java directory stream.
Java✓ Tested
List tracked file paths
Git: List tracked file paths inside the disposable repository created by the input setup.
Git✓ Tested
Locate a value in a sorted array
Java: Use Arrays.binarySearch only after establishing ascending order.
Java✓ Tested
Make a second copy of a practice file
Linux Commands: Make a second copy of a practice file using GNU/Linux commands in an empty practice directory.
Linux Commands✓ Tested
Match a whole word
Linux Commands: Use grep -w to exclude a matching substring inside a longer word.
Linux Commands✓ Tested
Match any pattern from a file
Linux Commands: Use grep -F -f with one literal pattern per line.
Linux Commands✓ Tested