I'm a rookie using HPUX and I know this is going to sound like a bonehead question, but when I list the contents of a directory, how can I determine which objects are files and which are folders? I'm using the ll and ls commands to lists the contents. So far I've been determining the object types by trying to cd/more the objects and see what happens. I figured there's gotta be a better way.
Half right , if it starts with a 'd' it's a directory (the r is the start of the permissions and shows that the file owner can read the file - use "man ls" for lots of info on all of the fields displayed by ls)
stands for a regular file
d stands for directory
l stands for a symbolic link
c stands for character oriented device
b stands for block oriented device
You can figure out more by using "man ls" command.
Get "UNIX Essentials and UNIX Core" DVD course or "UNIX in 24 hours" book as them address questions of this sort.
Hope it helps.