I\'m struggling to parse the output of the time command in bash - and even to stop it from printing out its output when I call it. This is my test code:
#!/b
Although Solutions hover around the same logic, but still I couldn't find following listed, so another version of the solution:
TIME=$(time (ls -lh >/dev/null) 2>&1)