I'm sorry if this seems like a trivial question as I'm very new to linux.
Anyway, I need to record the time for executing a shell script I made.
time ./executable_file <input_here> > time_elapsed.txt
But obviously this only gets the output of the script I made. Any way on how to do this?
update: So what I did was do the GNU version to get an output file for it. It worked now.
time command
– steeldriver Aug 30 '20 at 19:55