How to check the flavor of UNIX?

Answer Posted / santhosh..

if u want know kernel version then

#uname -r

if u want know architecture of os then

#cat /etc/redhat-releases

if u want know about about flavor of unix

#uname -a...like we have so many commands....

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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


How do I search a whole word in vim?

690


What is the behavioural difference between cmp and diff commands?

672


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

797


Which unix command lists files/folders in alphabetical order?

614






What does the command ' $who | sort –logfile > newfile' do?

768


What is rmdir command?

553


What are the commands in UNIX to list the files in a Directory?

616


How do I run a whois command?

599


What is grep and how do you use it?

575


Differentiate cmp command from diff command.

586


What is unix command line?

606


Explain command to view process running?

611


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

593


What does the md command do?

568