Find the answer to your Linux question:
Page 2 of 2 FirstFirst 1 2
Results 11 to 15 of 15
Like Tree2Likes
Originally Posted by jayd512 Okay, people... somebody needs to write a script for this. I think the output of uname should reflect these names! What about this? Code: #! /bin/bash ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #11
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    1,296

    Quote Originally Posted by jayd512 View Post
    Okay, people... somebody needs to write a script for this.
    I think the output of uname should reflect these names!
    What about this?
    Code:
    #! /bin/bash
    #
    [ -h /usr/src/linux ] && namesource=`readlink /usr/src/linux`
    name=`grep NAME $namesource/Makefile`
    echo $name
    exit
    "I'm just a little old lady; don't try to dazzle me with jargon!"
    www.hrussman.entadsl.com

  2. #12
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    yeah, if you got kernel source, it's much easier.

  3. #13
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,025
    LOL!
    I was kidding!
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  4. $spacer_open
    $spacer_close
  5. #14
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    yeah, yeah, i know...

  6. #15
    Linux Enthusiast cousinlucky's Avatar
    Join Date
    Dec 2005
    Location
    New York City
    Posts
    676
    " Pink Farting Weasel " made me think of the principal at one of my elementary schools!!
    Roxoff and jayd512 like this.
    PCLinuxOS Gnome and PCLinuxOS Mate
    Linux user # 414321
    You Should Not Give In To Evils, But Proceed Ever More Boldly Against Them!! -from book six of Virgil's Aeneid
    Everything Within The Universe Is Related; We Are All Cousins!!

Page 2 of 2 FirstFirst 1 2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •