Combining ls and cat Commands

Posted on Sat 17 August 2013 in misc View Comments • Tagged with shell, sh, linux

Very often, when exploring contents of directory trees, I find myself confused between the the "ls" and "cat" commands and mistakenly type one instead of the other. Both these commands are used pretty often and conceptually they have similar meanings. One says "print out a content of directory". The other …

Continue reading