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

Answer Posted / shruthi

first character of output of long listing.
if it is 'd' it is a directory. if it is a '-' it is a
regular file.
$ls -l

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name the various commands that are used for the user information in unix.

638


Explain command to display different lines that are found when compare two files?

764


What is the use of cut command in unix?

810


What is unix command line?

705


What does 'mkdir' command do in UNIX?

762






What does sed command do in unix?

657


Which command is used to copy files?

660


What is the function of grep command in unix?

688


How can you see the command line history?

687


What are grep patterns?

674


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

1068


How do I use nslookup?

658


What does the command ' $who | sort –logfile > newfile' do?

892


What is difference between grep and find command in unix?

668


What do chown command do?

626