There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.
Accounts which solely post advertisements, or persistently post them may be terminated.
ClemaX , 4 months ago Try this: <span style="font-weight:bold;color:#a71d5d;">for</span><span style="color:#323232;"> file </span><span style="font-weight:bold;color:#a71d5d;">in</span><span style="color:#323232;"> ./</span><span style="font-weight:bold;color:#a71d5d;">* </span><span style="font-weight:bold;color:#a71d5d;">do </span><span style="color:#323232;"> </span><span style="color:#62a35c;">echo </span><span style="color:#183691;">"$</span><span style="color:#323232;">file</span><span style="color:#183691;">" </span><span style="font-weight:bold;color:#a71d5d;">done </span> To do some substitution operation om the filename you can use Bash Parameter Expansion.
Try this:
<span style="font-weight:bold;color:#a71d5d;">for</span><span style="color:#323232;"> file </span><span style="font-weight:bold;color:#a71d5d;">in</span><span style="color:#323232;"> ./</span><span style="font-weight:bold;color:#a71d5d;">* </span><span style="font-weight:bold;color:#a71d5d;">do </span><span style="color:#323232;"> </span><span style="color:#62a35c;">echo </span><span style="color:#183691;">"$</span><span style="color:#323232;">file</span><span style="color:#183691;">" </span><span style="font-weight:bold;color:#a71d5d;">done </span>
To do some substitution operation om the filename you can use Bash Parameter Expansion.