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

What is the significance of the 'tee' command?

824


What is rmdir command?

792


Enumerate some of the most commonly used network commands in unix?

845


What does awk stand for?

794


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

1028


How many unix commands are there?

819


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

814


Explain command to show the space allocation of files?

835


What is command substitution?

884


What is in grep command?

848


What are reported commands?

803


What does the command '$ls | wc –l > file1' do?

903


How do you grep a case insensitive?

734


Which command is used to restrict incoming messages?

786


Who invented grep?

869