Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

hw will u use awk in replacing cahrs and files

3250


How do I search a whole word in vim?

1186


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

1159


Describe the zip/unzip command using gzip.

1168


Which command is used to create a directory?

1177


Which command is used to restrict incoming messages?

1113


What is the command to find hidden files in the current directory?

1196


What is the use of the command 'ls -x chapter[1-5]' ?

1223


How do I search for text in vi?

1052


How do I run a whois command?

1162


What is the use of finger command?

1221


What does the md command do?

1160


Is it inbetween or in between?

1072


What is the unix command to confirm a remote host is alive or not?

1223


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

1239