I'm relatively new to programming as a whole and some tutorials have been telling me to use
ls -l to look at files in a directory and others have been saying
ll. I know that
ls is a short list, but is there a difference between the other two?
ll is often defined as an alias of
ls -l. In fact,
ls is often an alias itself:
$ which ls alias ls='ls --color=auto' /usr/bin/ls
The actual command is
ls which above is found in
ll is intended as a convenience, but you cannot rely on it being defined on all *nix systems, so it is good to know what it is really doing.