Linux command

Please support our Shell Scripting advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jan 2008
Posts: 6
Reputation: hschitte is an unknown quantity at this point 
Solved Threads: 0
hschitte hschitte is offline Offline
Newbie Poster

Linux command

 
0
  #1
Apr 4th, 2008
How can i get the OS name and its version in linux shell script

Is there any command to extract OS details from linux shell script.
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,273
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 544
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: Linux command

 
0
  #2
Apr 4th, 2008
try the uname command
http://en.wikipedia.org/wiki/Uname
Last edited by jbennet; Apr 4th, 2008 at 7:17 am.
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Shell Scripting Forum


Views: 773 | Replies: 1
Thread Tools Search this Thread



Tag cloud for Shell Scripting
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC