What is the output of :
$ ps-e
$ ps-a commands

Answer Posted / upendar

ps -a : print all processes involving terminals.

ps -e : print environment and arguments.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a command that will display files in the current directory, in a colored, long format.

692


What is grep in bash?

591


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

601


What is {} in find command?

588


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:

1769






Is grep faster than awk?

573


What is ctrl d?

602


What is used to type command?

552


How do I delete files from command prompt?

555


What do know about tee command and its usage?

597


What is the use of cut command in unix?

703


What is difference between grep and find command in unix?

587


What is the command to find hidden files in the current directory?

593


Explain command to view process running?

623


What do know about tee command?

613