How to identify whether a file is normal file or directory?
Answer Posted / srinath.p
$ls -l filename/directoryname
if the first digit is - then it is file,if it is d then it
is directory
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What's a command word?
Explain command to view process running?
What is pipe command in unix?
Who command in unix?
Explain the steps that a shell follows while processing a command.
What is the difference between grep and grep?
Name the various commands that are used for the user information in unix.
Which command is used to restrict incoming messages?
How do I search for text in vi?
Name the unix command to find how many days the server has been up.
How do I use grep to find a file?
Explain how to use grep command to list find the records of a file containing 10 different strings?
How do I open a port?
Write a command that will display files in the current directory, in a colored, long format.
What is command statement?