I want to cat /proc/uptime into cut -f1 in a Bash script. I've tried; cat /proc/uptime | cut -f1cat /proc/uptime > cut -f1cut -f1 < cat /proc/uptimeDo I need to use echo or something else to make this happen?
How to pipe output from cat to cut
bash;shell script;pipe