i need to make a command with pipes where i sort a file and display the top 8 lines in the file then output it and saves the output
i have this so far
the bold part is where im guessing the problem is, it saves the output into output.txt but i dont see the output which is also what i need it to do.Code:sort -k 3,5 /home/brian.perry/uli101/data.txt | head -n 8 | cat > output.txt
Any suggestions?