uname tells you what system you are working on. Although our primary focus 
is Linux, knowing how to determine the system can be crucial in 
determining why something does not work. Same for knowing the release info 
from uname. For example, I have a script that uses SQL command to access 
data in a database for which I already have a connection. Source it under 
AIX Korn shell and it works fine. Source it under Linux Bash shell and it 
does not work. Similarly, if you need to depend on something from at least 
kernel x, then you need to know whether you are running a system with at 
least kernel x.

See http://www.ibm.com/developerworks/linux/library/l-lpic1-v3-103-1/ for 
my uname info for LPIC `103.

Ian Shields Ph.D.
Software Developer : dW Software Engineering
IBM Corp
Research Triangle Park, NC
[email protected]



[email protected] wrote on 07/21/2013 06:42:26 PM:

> From: Sergio Belkin <[email protected]>
> To: "This is the lpi-examdev mailing list." <[email protected]>, 
> Date: 07/21/2013 06:43 PM
> Subject: [lpi-examdev] uname in "Topic 103: GNU and Unix Commands"
> Sent by: [email protected]
> 
> Hi LPIC community

> I've found uname in "Topic 103: GNU and Unix Commands" (really 103.1 )

> Perhaps I'm missing something, but I don understand the connection 
> between uname and "103.1 Work on the command line"

> Any ideas?

> Thanks in advance!
> -- 
> --
> Sergio Belkin  http://www.sergiobelkin.com
> Watch More TV http://sebelk.blogspot.com
> LPIC-2 Certified - http://www.lpi.org 
> _______________________________________________
> lpi-examdev mailing list
> [email protected]
> http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-examdev
_______________________________________________
lpi-examdev mailing list
[email protected]
http://list.lpi.org/cgi-bin/mailman/listinfo/lpi-examdev

Reply via email to