Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Share your Scripts
New Posts  All Forums:Forum Nav:

Share your Scripts - Page 2

post #11 of 302
Quote:
Originally Posted by Rookie1337 View Post

Damn. Now I can't demand credit because mine isn't as good. Why must you upstage? JK. That's probably a far better way to do it. Thanks for the demo.

To be honest, yours is better because it's more readable. I was just showing off smile.gif
post #12 of 302
Here's another probably pointless one (needs lm-sensors installed)
Code:
#!/bin/sh
#Chmod +x first
#Requires the lm-sensors package/program installed first
watch -n 240 sensors
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
post #13 of 302
Quote:
Originally Posted by Rookie1337 View Post

Here's another probably pointless one (needs lm-sensors installed)
Code:
#!/bin/sh
#Chmod +x first
#Requires the lm-sensors package/program installed first
watch -n 240 sensors

That's not even a script, just a file to call a cli command....lol


Script to multipart rar files in a dir, which could probably be done in one line....
Code:
#!/bin/bash

list="`ls | grep -v rar.sh`"

for file in $list

do
        rar a -m4 -v10M -vn $file.rar $file
done

Edited by herkalurk - 4/11/14 at 2:19pm
post #14 of 302
Had to make a script at work to set service account passwords and lock them out of ssh
Code:
#!/bin/bash

USER="list users here"
# time in days for password expiration, -1 == never
EXP="-1"
DATE="`/bin/date +%m_%d_%Y`"
SSH="/etc/ssh/sshd_config"

## If not root, exit
if [ `whoami` != 'root' ]
        then
        echo "ERROR: This script must be run as the root user"
        exit 1
fi


for id in $USER

do

if [ `grep -c $id /etc/passwd` -eq 1 ]
then
        # set passwort to never expire
        chage -M $EXP $id
        # generate new random password
        PASS="`openssl rand -base64 45`"
        # set new random password
        echo $PASS | passwd --stdin $id
        echo "User $id password updated"
fi

done

cp $SSH $SSH.$DATE
# lock out ssh for system accounts
if [ `grep -c "DenyUsers" $SSH` -ge 2 ]
        then
        echo "Multiple DenyUser lines in $SSH, manual intervention needed"
        exit 1
# if there is a list, then add our new users to it
elif [ `grep -c "DenyUsers" $SSH` -eq 1 ]
        then
        # define list of users we are adding
        declare -a ADDUSER=( uc4 banner banjobs oracle )
        # get a lust of currently denied users
        CURR_USER=(`grep "DenyUsers" $SSH | awk -F' ' '{ print $2 }' | tr "," " "`)
        # generate a list of the users not current list, but in add list
        for i in "${ADDUSER[@]}"
        do
                skip=
                for j in "${CURR_USER[@]}"
                do
                        [[ $i == $j ]] && { skip=1; break; }
                done
                [[ -n $skip ]] || DIFF_USER+=("$i")
        done
        declare DIFF_USER
        declare FINAL_USER
        # make sure each user is in /etc/passwd before adding to final deny list
        for a in "${DIFF_USER[@]}"
        do
                if [ "$a" ]
                then
                        if [ `grep -c $a /etc/passwd` -eq 1 ]
                        then
                                FINAL_USER[${#FINAL_USER[*]}]="$a"
                        fi
                fi
        done
        for b in "${CURR_USER[@]}"
        do
                if [ "$b" ]
                then
                        if [ `grep -c $b /etc/passwd` -eq 1 ]
                        then
                                FINAL_USER[${#FINAL_USER[*]}]="$b"
                        fi
                fi
        done


        # create deny users line and put it into config
        DENY="DenyUsers `echo ${FINAL_USER[*]} | tr " " ","`"
        grep -v "DenyUsers" $SSH.$DATE > $SSH
        echo $DENY >> $SSH
        /sbin/service sshd restart
        echo "SSHD denied user list updated"


# if no deny users entry, then add our entry
elif [ `grep -c "DenyUsers" $SSH` -eq 0 ]
        then
         # define list of users we are adding
        declare -a ADDUSER=( uc4 banner banjobs oracle )
        declare FINAL_USER
        # make sure each user is in /etc/passwd before adding to final deny list
        for a in "${ADD_USER[@]}"
        do
                if [ "$a" ]
                then
                        if [ `grep -c $a /etc/passwd` -eq 1 ]
                        then
                                FINAL_USER[${#FINAL_USER[*]}]="$a"
                        fi
                fi
        done
        DENY="DenyUsers `echo ${FINAL_USER[*]} | tr " " ","`"
        grep -v "DenyUsers" $SSH.$DATE > $SSH
        echo $DENY >> $SSH
        /sbin/service sshd restart
        echo "SSHD denied user list added"
fi
post #15 of 302
My other long script from work to find a local users files, and change the ownership to the users to new ldap UID/GID. This one took forever to test and implement the bugs out of.
Code:
#!/bin/bash


# If not root, exit
if [ `whoami` != 'root' ]; then
        echo "ERROR: This script must be run as the root user"
        exit 1
fi

# Set our default mode
MODE="simulation"
SENDMAIL="0"
# check if we are in commit mode
while [ $# -gt 0 ]; do
        case $1 in

        '-c')
                # If commit mode, then set mode variable
                MODE="commit"
                shift
        ;;
        '-u')
                shift
                # set username variable
                USERNAME="${1}"
                # find and set old UID
                OLD_UID="`grep \"^${USERNAME}:\" /etc/passwd | awk -F ':' '{ print $3 }'`"
                # verify that there is only group for this user in /etc/group, if not, errors
                if [ `grep -c "^${USERNAME}:" /etc/group` -eq 1 ]
                then
                        OLD_GID="`grep \"^${USERNAME}:\" /etc/group | awk -F ':' '{ print $3 }'`"
                        NO_GRP="0"
                elif [ `grep -c "^${USERNAME}:" /etc/group` -gt 1 ]
                then
                        echo "ERROR: More than one primary group with ${USERNAME}"
                        echo "Verify username in /etc/group"
                        exit
                else
                        NO_GRP="1"
                fi
                shift
        ;;
        '-n')
                shift
                # verify that the arguement entered is a number, if not fail, let user know errir, and exit
                if ! [[ "${1}" =~ ^[0-9]+$ ]] ; then
                   exec >&1; echo "Error: ${1} Not a number"; exit 1
                fi
                # set new GID and UID variable
                NEW_UID="${1}"
                NEW_GID="${1}"
                shift
        ;;
        '-e')
                #if there is a username to sendmail to, set sendmail variable
                SENDMAIL="1"
                shift
                # set email variable
                EMAIL="${1}"
                shift
        ;;
        *)
                echo "USAGE: $0 [-c] -u OLD_USER_NAME -n NEW_UID [-e EMAIL]"
                exit
        ;;
        esac
done

#define list of folders to search in
FOLDERS="`ls / | grep -v boot | grep -v sys | grep -v proc | grep -v dev | grep -v lost | grep -v selinux | grep -v root`"
# define log file
LOG="/tmp/transition_of_${USERNAME}_to_${NEW_UID}.log"
# change working drectory to /
cd /

for USER_ITEM in ${FOLDERS}
do      #find items in each folder, except certain ones
        find ${USER_ITEM} -uid ${OLD_UID} 2> /dev/null | while read object
        do
                if [ "${MODE}" = "commit" ]
                then
                        chown -v "${NEW_UID}" "$object" >> ${LOG}
                        tail -n 1 ${LOG}
                else    # if not commit, then display command that would be used
                        echo "chown -v ${NEW_UID} \"$object\"" >> ${LOG}
                        tail -n 1 ${LOG}
                fi
        done
done

if [ ${NO_GRP} -eq 0 ]
then
        # find all files owned by only old gruop
        for GROUP_ITEM in ${FOLDERS}
        do
                find ${GROUP_ITEM} -gid $OLD_GID 2> /dev/null | while read object
                do #if commit mode, then change group ID
                        if [ "${MODE}" = "commit" ]
                        then
                                chgrp -v "$NEW_GID" "$object" >> ${LOG}
                                tail -n 1 ${LOG}
                        else    # if not commit, then display command that would be used
                                echo "chgrp -v $NEW_GID \"$object\"" >> ${LOG}
                                tail -n 1 ${LOG}
                        fi
                done
        done
else
        # if no group, then let user know
        echo "User ${USERNAME} doesn't have a group on this system"
        echo "User ${USERNAME} doesn't have a group on this system" >> ${LOG}
fi

# if user has old local directory, and new ldap user directory, then move ldap user stuff inside old user dir
if [ -d /home/${USERNAME} ] && [ -d /home/ldap${USERNAME} ]
then
        if [ "${MODE}" = "commit" ]
        then
                mv -v /home/ldap${USERNAME} /home/$USERNAME/old_ldap_home >> ${LOG}
        else
                echo "mv -v /home/ldap${USERNAME} /home/$USERNAME/old_ldap_home" >> ${LOG}
                tail -n 1 ${LOG}
        fi
# if there is no builtin user home directory, but a new ldap user home directory, move ldap user dir in place for new name
elif [ ! -d /home/${USERNAME} ] && [ -d /home/ldap${USERNAME} ]
then
        if [ "${MODE}" = "commit" ]
        then
                mv -v /home/ldap${USERNAME} /home/$USERNAME >> ${LOG}
        else
                echo "mv -v /home/ldap${USERNAME} /home/$USERNAME" >> ${LOG}
                tail -n 1 ${LOG}
        fi
# if user only has original home dir, then echo into log nothing movied.
elif [ -d /home/${USERNAME} ] && [ ! -d /home/ldap${USERNAME} ]
then
        echo "No extra user directories, no files moved" >> ${LOG}
        tail -n 1 ${LOG}
else
        # if other weird scenario, error and exit
        echo "ERROR: verify home directories manually" >> ${LOG}
        tail -n 1 ${LOG}
        exit
fi
# if commit mode, then delete the users
USER_GROUPS="/tmp/group"
if [ "${MODE}" = "commit" ]
then
        grep ${USERNAME} /etc/group | awk -F ':' '{print $1}' >> ${USER_GROUPS}
        /usr/sbin/userdel ${USERNAME} >> ${LOG}
        /usr/sbin/groupdel ${USERNAME} >> ${LOG}
        for GROUP in `cat ${USER_GROUPS}`
        do
                /usr/sbin/usermod -a -G ${GROUP} ${USERNAME}
        done
else
        echo "Gathering user groups" >> ${LOG}
        grep ${USERNAME} /etc/group | awk -F ':' '{print $1}' >> ${USER_GROUPS}
        echo "/usr/sbin/userdel ${USERNAME}" >> ${LOG}
        echo "/usr/sbin/groupdel ${USERNAME}" >> ${LOG}
        echo "Readding user to original groups" >> ${LOG}
        cat ${USER_GROUPS} >> ${LOG}
        tail -n 7 ${LOG}
fi
if [ ${SENDMAIL} -eq 1 ]
then
        mail -s "Ldap Transition Results" ${EMAIL} < ${LOG}
fi

rm -rf ${USER_GROUPS}

Edited by herkalurk - 4/11/14 at 2:15pm
post #16 of 302
I also run a usenet indexer (newznab) and I backup the database and nzbfiles to my home server just in case. Have a couple PHP cli scripts to download and clean up the NZB files so I'm consistent with the server.
Code:
<?php
$db=mysqli_connect("host","user","pass","db");
if (mysqli_connect_error($db))
{
 echo "Failed to connect to MySQL database: " . mysqli_connect_error();
}
$folders=array('0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f');
foreach($folders as $folder)
{
 $query=mysqli_query($db,"select guid from newz.releases where postdate > date_sub(NOW(), interval 7 day) and guid like \"$folder%\";");
 echo "Starting folder $folder\n";
 while($row=mysqli_fetch_array($query))
 {
  $guid=$row['guid'];
  $name="nzbfiles/$folder/$guid.nzb.gz";
  if (!file_exists($name))
  {
   echo "Getting nzb: $guid.nzb.gz";
   $url="https://example.com/nzb/$folder/$guid.nzb.gz";
   $path="nzbfiles/$folder/$guid.nzb.gz";
   $fp=fopen($path, 'w');
   $ch=curl_init($url);
   curl_setopt($ch, CURLOPT_FILE, $fp);
   curl_setopt($ch, CURLOPT_USERPWD, "user:password");
   curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
   curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
   curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
   curl_exec($ch);
   if(curl_errno($ch))
   {
    echo 'Curl error: ' . curl_error($ch);
    exit;
   }
   $info=curl_getinfo($ch);
   echo ' size: ' . $info['size_download'] . ' download time: ' . $info['total_time'];
   echo "\n";
   curl_close($ch);
   fclose($fp);
  }
 }
}
mysqli_close($db);
?>
Code:
<?php
$db=mysqli_connect("host","user","pass","db");
$folders=array('0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f');
$log=fopen('delete.log', 'a');
foreach($folders as $folder)
{
 if($base = opendir("nzbfiles/$folder"))
 {
  while (false !== ($entry = readdir($base)))
  {
   if ($entry != "." && $entry != "..")
   {
    $guid=preg_replace("/.nzb.gz/","",$entry);
    $query=mysqli_query($db,"select count(*) from releases where guid = '$guid';");
    $result=mysqli_fetch_array($query);
    if ($result[0] == 0)
    {
     fwrite($log, "Removing file ./nzbfiles/$folder/$entry\n");
     echo "Removing file ./nzbfiles/$folder/$entry\n";
     unlink("./nzbfiles/$folder/$entry");
    }
   }
  }
 }
}
closedir($base);
fclose($log);
mysqli_close($db);
?>

Edited by herkalurk - 4/11/14 at 12:49pm
post #17 of 302
Quote:
Originally Posted by herkalurk View Post

That's not even a script, just a file to call a cli command....lol
/snipped

Shhh....No one needs to know how lazy I am. I'm so lazy I didn't even bother turning that into an alias. Not that it would work as an alias since the watch part would be ignored. redface.gif
Speaking of which...how would I make a script that creates the bash alias file and then populates it with the following? Aliases (Click to show)
alias aliases='less .bash_aliases'
alias update='sudo apt-get update && sudo apt-get upgrade'
alias upgrade='sudo apt-get dist-upgrade'
alias install='sudo apt-get install'
alias sinstall='sudo apt-get install -s'
alias purge='sudo apt-get purge'
alias spurge='sudo apt-get purge -s'
alias memory='free -m'
alias drives='df -h'

Something like...?
Code:
#!/bin/bash

touch /home/.bash_aliases

cat "alias aliases='less .bash_aliases'
alias update='sudo apt-get update && sudo apt-get upgrade'
alias upgrade='sudo apt-get dist-upgrade'
alias install='sudo apt-get install'
alias sinstall='sudo apt-get install -s'
alias purge='sudo apt-get purge'
alias spurge='sudo apt-get purge -s'
alias memory='free -m'
alias drives='df -h'" > /home/.bash_aliases

On the topic of sudo...how would one go about using sudo in a script that say launches a program or something that prevents you from getting back to the CLI to enter your password?
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
post #18 of 302
sudo execute the script...?

can be dangerous if you don't know what you're doing
post #19 of 302
Those are some nice ones Herkalurk, thanks for sharing.

Wrote this yesterday. Needed to find all the scripts on our embedded system to remove any bashisms, as I'm moving the init system from sysVinit to busybox init, so I can remove all GPLv3 code (like bash) so we can do secure boot.
Code:
#!/bin/sh

# Check for bashisms in all scripts (that I can recognize) on the system.
FOUND_SCRIPTS=$(find . -type f -exec file {} + | grep ASCII | grep shell | awk '{print $1}' | sed "s|:$||")


for file in $FOUND_SCRIPTS; do
    # checkbashisms is a script from the Debian dev team
    # To install: apt-get install devscripts
    checkbashisms -p $file
done


I have so many more scripts but they are pretty specific and I doubt useful to many others.
BlackMesa
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 Gigabyte XFX RF460 16gb G.Skill 
Hard DriveHard DriveOSMonitor
OCZ Vertex2 Sata II Coorsair Force GS Sata III Debian (testing) Shimian 27" 
KeyboardMouse
Filco w/ blue cherries Who needs a mouse? 
  hide details  
Reply
BlackMesa
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 Gigabyte XFX RF460 16gb G.Skill 
Hard DriveHard DriveOSMonitor
OCZ Vertex2 Sata II Coorsair Force GS Sata III Debian (testing) Shimian 27" 
KeyboardMouse
Filco w/ blue cherries Who needs a mouse? 
  hide details  
Reply
post #20 of 302
So I'm thinking about trying to make my pulseaudio guide into a script so that way it's easier for people to do (already had one person post that my guide wasn't easy to follow redface.gif). So with that in mind I thought I'd try to put the links enorbet2 gave me to practice and started trying to use sed. Unfortunately, I'm stumped as to why the following doesn't work. Sed complains about $ which makes me wonder...can it not handle variable substitution?
Code:
#!/bin/sh


realtime_on="realtime-scheduling = yes"
realtime_off="; realtime-scheduling = no"


sed /s/'$realtime_on'/'$realtime_off' daemon.conf 

That's just the basics I'm working on. Plan on hopefully getting something more (possibly a finished script if I get enough help) by Monday. So...what am I doing wrong here with sed? And yes, the file I'm testing is in the same directory; I'll deal with full path directions later.
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
     
CPUGraphicsRAMHard Drive
Intel Core m3-6Y30 Intel HD515 8GB 1866DDR3L Micron M600 MTFDDAV256MBF M.2, 256 GB 
CoolingOSOSMonitor
Fanless Win10 Home x64 Kubuntu 16.04 (requires Linux kernel 4.5/4.6) 13.3 inch 16:9, 1920x1080 pixel, AU Optronics A... 
CPUMotherboardGraphicsRAM
AthlonIIX4 640 3.62GHz (250x14.5) 2.5GHz NB Asus M4A785TD-M EVO MSI GTX275 (Stock 666) 8GBs of GSkill 1600 
RAMHard DriveHard DriveHard Drive
4GBs of Adata 1333 Kingston HyperX 3k 120GB WD Caviar Black 500GB Hitachi Deskstar 1TB 
Optical DriveCoolingOSOS
LG 8X BDR (WHL08S20) Cooler Master Hyper 212+ Kubuntu x64 Windows 7 x64 
OSMonitorPowerCase
Bodhi Linux x64 Acer G215H (1920x1080) Seasonic 520 HAF912 
CPUMotherboardGraphicsRAM
N450 1.8GHz AC and 1.66GHz batt ASUS proprietary for 1001P GMA3150 (can play bluray now!?) 1GB DDR2 
Hard DriveOptical DriveOSOS
160GB LGLHDLBDRE32X Bodhi Linux Fedora LXDE 
OSOSMonitorKeyboard
Kubuntu SLAX 1280x600 + Dell 15inch Excellent! 
PowerCase
6 cells=6-12hrs and a charger 1001P MU17 Black 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Share your Scripts