How to identify whether a file is normal file or directory?

Answer Posted / vasavi

using file command

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do know about tee command and its usage?

582


Why is it called grep?

557


How does pipe () work?

587


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

574


What does the “echo” command do?

622






What is s and g in sed command?

553


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)?

949


How can we use grep command in unix?

608


What is the search command in unix?

595


What is command statement?

539


What is rmdir command?

545


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

674


Name the unix command to find how many days the server has been up.

596


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

584


What do chmod, chown, chgrp commands do?

626