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
What is awk command used for?
What is ‘ps’ command for?
Does cp command overwrite files?
What is the functionality of a top command?
What are awk commands?
What is grep and how do you use it?
What is awk used for?
Is ‘du’ a command? If so, what is its use?
how to sort the content of the file based on numeric values
What is .sh file?
Which command is used to delete all files in the current directory and all its sub-directories?
What is command statement?
What is the general format of unix command syntax?
What are the differences among a system call, a library function, and a unix command?
What is a command and examples?