complex command lines in bash?
Can you do complex commands in bash from the command line without scripting in a file. What Iím think of is : say a for loop that takes all the files in a directory and changes the mode on them.
Enter at the command line prompt
For <all the files>
Chmod 644 file
<tell bash to excute the above.
I saw some hint of this on a site; but was unable to enough details to find out what to call the process or how to do it. The howto's tell you how to do it in a script file but not at the command prompt. Thank you.