terminal command as parameter code example
Example: terminal command as parameter
open /Applications/Utilities/Console.app "$(ls -arth Test*log | tail -1)"
open /Applications/Utilities/Console.app "$(ls -arth Test*log | tail -1)"