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 pipe command in unix?
What is {} in find command?
How do I search for a file in unix command?
What does the metacharacter mean?
What is grep and how do you use it?
What is unix command?
What are the differences among a system call, a library function, and a unix command?
What is merge command in unix?
What is .sh file?
How to display no of records in oracle using unix command?
Explain command to display different lines that are found when compare two files?
How many unix commands are there?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What is ‘ps’ command for?
What is grep r?