How do you find files in Unix?
Answers were Sorted based on User's Feedback
The find command is used to search for files and directories in Unix. It can search based on various criteria, such as name, size, type, and modification time. For example, find /home -name "*.txt" searches for all .txt files in the /home directory.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nashiinformaticssolutions
The find command is used to search for files and directories in Unix. It can search based on various criteria, such as name, size, type, and modification time. For example, find /home -name "*.txt" searches for all .txt files in the /home directory.
| Is This Answer Correct ? | 0 Yes | 0 No |
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<stdlib.h> # include <stdio.h> 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:
How to see unused port number in Solaris?
what is the cmd to remove the comment lines from a file and to display the original text without comments? thanks in advance......
How to check the flavor of UNIX?
Is ‘du’ a command? If so, what is its use?
What is Unix, and how does it differ from other operating systems?
What is a shell in Unix? Name some common Unix shells.
How do you create a file in UNIX
36 Answers Accenture, EMG, Nokia, QA, TD,
How can you change the owner or group of a file?
How would you find the size of a file or directory?
Who command in unix?
Explain the read, write, and execute permissions on a UNIX directory.