I am new to Ubuntu and I am trying hard to understand the command line.
When I want to see the contents of a tar file I use:
tar tf tarfile.tar
But when I want to see a listing of all file if I use:
ls a filename
It says:
ls: cannot access a: No such file or directory
Why is that?
Why is the minus sign "-" required for one command and not for the other?