Files
developer-roadmap/roadmaps/shell-bash/content/file-test@PuV5XtaeKgb9vdFIKta5M.md
Arik Chakma 274082fd77 feat: clean roadmap content and sync scripts (#10181)
* refactor: clean to roadmap content

* refactor: move shared helpers into scripts/lib
2026-07-28 05:45:17 +06:00

9 lines
740 B
Markdown

# File Test Operators
File test operators in Bash are used to check the type and attributes of files. These operators allow you to determine if a file exists, if it's a regular file or a directory, if it's readable, writable, or executable, and other file-related properties. The result of a file test is a boolean value (true or false), which can be used in conditional statements to control the flow of a script.
Visit the following resources to learn more:
- [@article@File test operators](https://tldp.org/LDP/abs/html/fto.html)
- [@article@Bash Tests](https://docs.rockylinux.org/10/books/learning_bash/05-tests/)
- [@video@Shell Scripting Tutorial for Beginners 6 - File test operators](https://www.youtube.com/watch?v=uVi5o38NGi0)