If I write a simple echo $i, I have no problem: it shows me the variable. But if I try do something with it$($i|cut -d. -f1-3)then I get an error messages : -bash: /...file.backup: Permission denied (in root env)Can someone show me the way to solve it?for i in $(find  /directory -type f -name '*.backup')do   echo $i $($i|cut -d. -f1-3)done
Syntax error when trying to cut part of a variable
bash;shell script;variable