User Profile

Collapse

Profile Sidebar

Collapse
thisissin
thisissin
Last Activity: Jun 25 '07, 12:17 PM
Joined: Jun 22 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • thisissin
    replied to i need a shell script
    well at first when i read that scenario i was mindblow on where to start. but then looked at a couple sample scripts and went to town... all i need to do now is export all that information into a txt file.
    See more | Go to post

    Leave a comment:


  • thisissin
    replied to i need a shell script
    #!/bin/bash
    #
    #
    #


    name=$(uname -s)
    version=$(uname -v)
    hardware=$(unam e -m)
    release=$(uname -r)
    mem=$(free -omt)
    disk=$(df -lh)
    hname=$(uname -n)
    cpu=$(cat /proc/cpuinfo | grep 'cpu MHz' | sed 's/cpu MHz//')
    cpumodel=$(cat /proc/cpuinfo | grep 'model name' | sed 's/model name//')
    who=$(whoami)
    lwho=$(logname)
    uptime=$(uptime |sed...
    See more | Go to post

    Leave a comment:


  • thisissin
    started a topic i need a shell script

    i need a shell script

    i need to make a script that queries relevant system information from the /proc file system, the uname command, the output of dmesg, and possibly other sources on the system. the script should collect this information in variables, format it, then store it in a text file.
    See more | Go to post
No activity results to display
Show More
Working...