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