Find the answer to your Linux question:
Results 1 to 3 of 3
I need to change what uname command displays, for example I want it to show "Linux Mrzk 3.2.0-31-generic MyLinux x86_64 x86_64 x86_64 GNU/Linux" instead of "Linux Mrzk-PC 3.2.0-31-generic #50-Ubuntu SMP ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2012
    Posts
    1

    Question change shown name that is displayed with uname


    I need to change what uname command displays, for example I want it to show "Linux Mrzk 3.2.0-31-generic MyLinux x86_64 x86_64 x86_64 GNU/Linux" instead of "Linux Mrzk-PC 3.2.0-31-generic #50-Ubuntu SMP Fri Sep 7 16:16:45 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux". the point is I want to compile my own kernel, so if there is a pre-compile steps needed, I can do it.
    P.S.: I don't want to write a bash to call that instead of calling original uname command
    Any help would be appreciated

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Howdy and Welcome to the best Linux forums anywhere. This link should get you started. Good luck and do let us know how it goes.
    https://help.ubuntu.com/community/Kernel/Compile
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  3. #3
    Linux Newbie Charles4809's Avatar
    Join Date
    Nov 2008
    Location
    Utrecht, NL
    Posts
    138
    The uname command itself offers options for what you want to have displayed. Look in uname --help

    I think the option -smrpo comes close.
    Charles
    ASUS EEE Box B202, Atom 270 1,6GHz, 1 GB, HDD 80GB, XP-SP3 / PinguyOS
    Asus EEE PC 901 with Bodhi-Linux

Posting Permissions

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