Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

linux Problem

  • 16-04-2002 11:17am
    #1
    Closed Accounts Posts: 390 ✭✭


    I am currently writing a script which needs to print out the no. of users within in my group are logged on. Also i need to write out the OS version, release number and kernal version. And finally i need to print out information about the cpu as well


Comments

  • Registered Users, Registered Users 2 Posts: 4,676 ✭✭✭Gavin


    hm.m.. useful commands would be

    groups will show all your groups.
    w will display logged on users.
    uname will show os details
    cat /proc/cpu i think will show cpu stats.

    Gav


  • Registered Users, Registered Users 2 Posts: 5,836 ✭✭✭Vokes


    tut tut tut john....

    you should be doing your assignment on your own not getting ppl from boards to do it for you.

    all the info you need is in your class folder


  • Registered Users, Registered Users 2 Posts: 4,676 ✭✭✭Gavin


    Ya uuused me Skinner.. yaaa uuuused me !!!

    Gav


  • Closed Accounts Posts: 390 ✭✭roar_ie


    thanx for all the help.......got most of what i needed working now.

    And i used no one.................just left out some details as why i am writing a script


  • Registered Users, Registered Users 2 Posts: 2,518 ✭✭✭Hecate


    heh, I reckon I did your assignment last year :)

    DT266 right ?

    cat /proc/cpuinfo should get most of the info your looking for (about the hardware anyways), I presume you're using fermat.


  • Advertisement
  • Closed Accounts Posts: 390 ✭✭roar_ie


    FT228-2 actually......however about 3 classes including mine all got the same assignment from Fred Mtenzi including dt266


  • Closed Accounts Posts: 3,859 ✭✭✭logic1


    Don't post your homework here again.

    .logic.


This discussion has been closed.
Advertisement