Which command would create a file called mydirlisting that includes a detailed listing of all the files and directories located within your home directory?
A. ls -alR $HOME > mydirlisting
B. ls -d > mydirlisting
C. mydirlisting < ls -al $HOME
D. ls -al | mydirlisting
Answer:A
Which command would create a file called mydirlisting that includes a detailed listing of all the files and directories located within your home directory?
A. ls -alR $HOME > mydirlisting B. ls -d > mydirlisting C. mydirlisting < ls -al $HOME D. ls -al | mydirlisting