terminal.cab

All cards so far

Every card that has already been the command of the day, newest first.

Today's card

  1. Command of the day No. 25 sort | uniq -c | sort -rn Counts how often each line occurs, most common first.
  2. Command of the day No. 24 find -type d Lists only folders, no files.
  3. Command of the day No. 23 find -name Finds files by name in every subfolder.
  4. Command of the day No. 22 grep -E '^(ERROR|WARN)' Finds lines that start with ERROR or WARN.
  5. Command of the day No. 21 grep -r Searches every file in a folder and below.
  6. Command of the day No. 20 grep -v Shows every line that does not match.
  7. Command of the day No. 19 grep -n Finds lines and shows their line numbers.
  8. Command of the day No. 18 grep -i Finds lines no matter if upper or lower case.
  9. Command of the day No. 17 wc -l Counts the lines of a file.
  10. Command of the day No. 16 less and / Reads long files page by page and searches them.
  11. Command of the day No. 15 tail -n Shows only the last lines of a file.
  12. Command of the day No. 14 head -n Shows only the first lines of a file.
  13. Command of the day No. 13 cat -n Shows a file with numbered lines.
  14. Command of the day No. 12 rmdir Deletes a folder, but only when it is empty.
  15. Command of the day No. 11 ls first, then rm -i Look first, then delete with a safety question.
  16. Command of the day No. 10 mv to rename Gives a file a new name without copying it.
  17. Command of the day No. 9 cp -i Copies, but asks before overwriting a file.
  18. Command of the day No. 8 touch Creates an empty file or updates its time.
  19. Command of the day No. 7 mkdir -p Creates a folder and every missing folder above it.
  20. Command of the day No. 6 cd without a target Takes you straight home from anywhere.
  21. Command of the day No. 5 cd - Jumps back to the folder you were in before.
  22. Command of the day No. 4 ls -lt Lists entries by time, newest first.
  23. Command of the day No. 3 ls -lh Shows file sizes in K, M and G.
  24. Command of the day No. 2 ls -la Lists every entry with details, hidden ones too.
  25. Command of the day No. 1 pwd Shows the folder you are in right now.