what is the command to find out the difference between
files and folders?

Answer Posted / pitambar mishra

From a layman's point of view,
A file can be stored with in a folder but vice-versa is not
possible.

1. Using ls -l command : In type field (1st field)
d : for directory
- : for general file
2. Using ls -F command :
This command marks the
general file (no mark),
directory as /,
link file as @,
executable file as *.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is awk command used for?

596


What is ‘ps’ command for?

614


Does cp command overwrite files?

620


What is the functionality of a top command?

623


What are awk commands?

582






What is grep and how do you use it?

571


What is awk used for?

616


Is ‘du’ a command? If so, what is its use?

633


how to sort the content of the file based on numeric values

1248


What is .sh file?

614


Which command is used to delete all files in the current directory and all its sub-directories?

660


What is command statement?

541


What is the general format of unix command syntax?

690


What are the differences among a system call, a library function, and a unix command?

567


What is a command and examples?

580