When I use the less
command in order to view a textfile in a directory, it keeps on returning that the file is a directory.Also tried using the cat
command and also get the same result every time.However, when I use the list command it gives me the the content of the directory without the text file.
Where am I getting it wrong?