Answer:
Following are the command to this question:
"ls -a ~/UnixCourse/fileAsst > listing.dat"
Explanation:
The above-given code will create a file, that is "listing.dat", and this file will be created in your current directory, which will include the list of all files in the file-asst directory.
In this, Is command is used that uses the directory that is "UnixCourse/fileAsst" and inside this, it will create the "dat" file that is "listing".