Online Bash syntax highlighter for shell script files
// Upload a .sh (Bash) file to view its content here
grep "pattern" file.txt # Search for pattern in file find /path -name "*.txt" # Find files by name chmod 755 script.sh # Change file permissions
name="value" # Set variable echo $name # Use variable echo "$(date)" # Command substitution
if [ condition ]; then # If statement commands fi for item in list; do # For loop commands done