New Member, bash script getSystemId question

Fernando Mercado fer at fmhq.com.ar
Wed Aug 1 10:15:22 CDT 2012


2012/8/1 Ethan Drower <edrower at jumptrading.com>:
> Hello All!
>
>
>
> My name is Ethan Drower, I’m new to the linux desktop world (several years
> in windows)   I am attempting to write a script that updates dell desktop
> bios and was wondering how I can use the getSystemId command to return
> simply the machine model (ie T3500, T5500 etc.)  Any direction would be
> greatly appreciated!
>
>
>
> Sincerely,
>
>
>
> Ethan Drower
>
>
> ________________________________
>
> Note: This email is for the confidential use of the named addressee(s) only
> and may contain proprietary, confidential or privileged information. If you
> are not the intended recipient, you are hereby notified that any review,
> dissemination or copying of this email is strictly prohibited, and to please
> notify the sender immediately and destroy this email and any attachments.
> Email transmission cannot be guaranteed to be secure or error-free. Jump
> Trading, therefore, does not make any guarantees as to the completeness or
> accuracy of this email or any attachments. This email is for informational
> purposes only and does not constitute a recommendation, offer, request or
> solicitation of any kind to buy, sell, subscribe, redeem or perform any type
> of transaction of a financial product.
>
> _______________________________________________
> Linux-Desktops mailing list
> Linux-Desktops at dell.com
> https://lists.us.dell.com/mailman/listinfo/linux-desktops
> Please read the FAQ at http://lists.us.dell.com/faq

Hi,

The Documentation for getSystemId:
http://linux.dell.com/libsmbios/main/getSystemId.html

And you could try something like:

./getSystemId | grep "Product Name" | awk '{print $3 " " $4}'


Cheers.

-- 
Fernando Mercado
2963 06ED 64F2 927E 4DA7  AD86 2D1C 7905 E19B E936 @ pgp.mit.edu
Registered Linux User #446280



More information about the Linux-Desktops mailing list