How to identify whether a file is normal file or directory?
Answers were Sorted based on User's Feedback
Answer / subbareddy kake
By using file command or
First list the all files by using ls -lrt.you will
following type format.
drwxr--r--
-rwxr--r--
so first one directory second one file only
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / 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 |
What command is used to replace the existing string with some other?
What is grep r?
what is the command to find out which shell you are running?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
How many unix commands are there?
What are the differences among a system call, a library function, and a unix command?
what are the different hardwares available?
Write a command that will display files in the current directory, in a colored, long format.
Give command that will make the file "run.sh" executable?
what does the command 'wc' do?
how to remotely move a file ??? that mean how to move a file one machine to another machine ???
how will you login one server's shell prompt to an another server?
5 Answers Cosmic Infotech, Perot Systems,