How to get the operating system's information in unix?

Answer Posted / vasavi

uname -X
here uname is unix name with the extension

Is This Answer Correct ?    11 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are bash commands?

673


What are grep patterns?

674


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

884


What is the use of the command 'ls -x chapter[1-5]' ?

767


How do you grep a case insensitive?

620






What do chmod, chown, chgrp commands do?

736


What do know about tee command and its usage?

703


What is used to type command?

634


What is .sh file?

728


Why is it called a shebang?

678


Which command can you use to find the currently running process in unix server?

673


What is “chmod” command?

645


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:

1850


What is the comma to display different lines that are found when compare two files?

688


What is ctrl d?

685