Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I need help with this UNIX command. In an earlier assignment, you created a file

ID: 3885205 • Letter: I

Question

I need help with this UNIX command.
In an earlier assignment, you created a fileAsst directory. Some files have just been placed into that directory, some of which are text files (recognizable as such because their names end with “.txt”). Now these files are in your fileAsst directory, but your current working directory is the commandsAsst directory.
Give a command to list the names of those same text files, using a relative path to the fileAsst directory as part of your command. I need help with this UNIX command.
In an earlier assignment, you created a fileAsst directory. Some files have just been placed into that directory, some of which are text files (recognizable as such because their names end with “.txt”). Now these files are in your fileAsst directory, but your current working directory is the commandsAsst directory.
Give a command to list the names of those same text files, using a relative path to the fileAsst directory as part of your command.
In an earlier assignment, you created a fileAsst directory. Some files have just been placed into that directory, some of which are text files (recognizable as such because their names end with “.txt”). Now these files are in your fileAsst directory, but your current working directory is the commandsAsst directory.
Give a command to list the names of those same text files, using a relative path to the fileAsst directory as part of your command. In an earlier assignment, you created a fileAsst directory. Some files have just been placed into that directory, some of which are text files (recognizable as such because their names end with “.txt”). Now these files are in your fileAsst directory, but your current working directory is the commandsAsst directory.
Give a command to list the names of those same text files, using a relative path to the fileAsst directory as part of your command.

Explanation / Answer

Hi ,Let me know if you need more information:-

========================================

1. Assume your current directory:-

commandsAsst directory
to know use pwd comand
2.
ls -ltr fileAsst/*.txt
OR
ls fileAsst/*.txt

======================

Thanks

================================

Thanks