make-up

1234567891011121314151617181920
Across
  1. 1. -
  2. 3. -lah Lists all files (including hidden) with details like size, date, and permissions.
  3. 5. Prints the current working directory you’re in.
  4. 7. Shows a list of recently visited directories in the shell.
  5. 8. directory—moves you to another location in the filesystem.
  6. 10. /path/to/folder
  7. 12. file.txt → Shows the first 10 lines of a file.
  8. 13. file.txt → Shows the last 10 lines of a file. Add -f to follow live updates (like watching logs).
  9. 15. working directory
  10. 17. -f file
  11. 18. $PWD
  12. 19. -h
Down
  1. 2. the full physical path of a file or link, similar to realpath.
  2. 4. /home/lashun/Documents/file.txt
  3. 6. $PWD -type f -name "*.sh"
  4. 8. file.txt /backup/ → Copies a file to another folder.
  5. 9. the absolute path to a specific file (resolves symbolic links).
  6. 11. /home/lashun/Documents/file.txt
  7. 14. file.txt → Displays the contents of file.txt right in the terminal.
  8. 15. /dir
  9. 16. findmnt -T . -sh $PWD
  10. 17. filename
  11. 20. file.txt → Creates a new empty file named file.txt.