what is the command to find out the difference between
files and folders?

Answer Posted / vawani

$ls -p
"/" mark will display as directories and others are file.
And answer number 2 also correct.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ‘ps’ command for?

614


How do you grep recursively?

555


What is nr in awk command?

599


What is {} in find command?

582


What are bash commands?

588






What is the difference between grep and grep?

564


What does this command do,"$more readme.txt“?

687


Name the various commands that are used for the user information in unix.

539


What is the size of time_t?

644


Who command in unix operating system?

660


What is merge command in unix?

942


Who wrote grep?

579


What is awk used for?

616


Which command is used to find whether the system is 32 bit or 64 bit?

631


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

1758