Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rm hardinfo.txt
- amixer -D pulse sset Master 75%
- aplay /usr/share/sounds/alsa/Front_Right.wav
- aplay /usr/share/sounds/alsa/Front_Left.wav
- clear
- echo "computer gegevens aan het laden, even wachten"
- sudo lshw -short >> temphardwareinfo.cache
- echo "Type Computer:" >> hardinfo.txt
- cat temphardwareinfo.cache | grep -Po 'system\s*\K.*' >> hardinfo.txt
- echo "" >> hardinfo.txt
- echo "Processor:" >> hardinfo.txt
- cat temphardwareinfo.cache | grep -Po 'processor\s*\K.*' >> hardinfo.txt
- echo "" >> hardinfo.txt
- echo "Moederboard:" >> hardinfo.txt
- cat temphardwareinfo.cache | grep -Po -m 1 'bus\s*\K.*' >> hardinfo.txt
- echo "" >> hardinfo.txt
- echo "Ram Geheugen:" >> hardinfo.txt
- cat temphardwareinfo.cache | grep -Po 'memory\s*\K.*\DIMM.*' >> hardinfo.txt
- echo "" >> hardinfo.txt
- echo "Viedokaart/GPU:" >> hardinfo.txt
- cat temphardwareinfo.cache | grep -Po 'display\s*\K.*' >> hardinfo.txt
- echo "" >> hardinfo.txt
- echo "Geluidskaart/Chip:" >> hardinfo.txt
- cat temphardwareinfo.cache | grep -Po 'multimedia\s*\K.*' >> hardinfo.txt
- echo "" >> hardinfo.txt
- echo "Hardeschijf/Optische media:" >> hardinfo.txt
- cat temphardwareinfo.cache | grep -Po 'disk\s*\K.*' >> hardinfo.txt
- echo "" >> hardinfo.txt
- echo "Netwerk:" >> hardinfo.txt
- cat temphardwareinfo.cache | grep -Po 'network\s*\K.*' >> hardinfo.txt
- echo "" >> hardinfo.txt
- echo "Kernel:" >> hardinfo.txt
- uname -r >> hardinfo.txt
- echo "" >> hardinfo.txt
- echo "Linux Version:" >> hardinfo.txt
- lsb_release -d | grep -Po 'Description:\s*\K.*' >> hardinfo.txt
- rm temphardwareinfo.cache
- clear
- cat hardinfo.txt
- # gedit openen voor daniel :D
- gedit hardinfo.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement