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
Name the unix command to find how many days the server has been up.
Write a command that will display files in the current directory, in a colored, long format.
What is the use of find command in unix?
Enumerate some of the most commonly used network commands in unix?
What is {} in find command?
Write a command to display a file’s contents in various formats?
How do you grep a case insensitive?
What is unix command line?
What does #!/ Bin sh do?
Are you in or at the office?
What is unix command?
How do you grep recursively?
How do I clear my terminal history?
What does the command '$ls | wc –l > file1' do?
How do you repeat a command in terminal?