[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cat & debian



Stevan Kanban wrote:
> # cat /etc
> cat: /etc: Is a directory
> 
> I cannot find in google the solution how to list a directory file.
> Can someone help?

"cat" is the wrong command, but even the right one can be puzzling - it will
list the contents! Use the -d option:

          ls -ld /etc

Interesting that you're using the command line. I haven't seen anyone
mention the Midnight Commander in quite a while, so install the "mc" 
package and give it a try. Press F9, configure "lynx-like browsing",
and browsing your filesystem will be a breeze.



Reply to: