Using a pipe, sort a directory listing (i.e. list contents of directory and sort)… then pipe this output into cat and redirect the output into a file named “exercise5.7.txt”. I sorted the list contents of the directory. Just need help with how to pipe the output into cat and redirect the output. If someone could give me an example, I'd deeply appreciate it.
k-ramamunroe1@acadnx:~$ ls|sort
biglist
ciss100
list1
list2
ls
names.txt
ramamunroekamanzilink.txt
ramamunroekamanziLL.ba
slist
sort
users
k-ramamunroe1@acadnx:~$