Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # !/bin/bash
- # Assunto: Informacoes do sistema
- # Compilar: chmod 777
- ## Script ##
- clear
- echo ""
- echo "--------------------------"
- echo " Informacoes do Sistema "
- echo "--------------------------"
- echo ""
- # Comandos
- a=$(whoami)
- b=$(uname -s)
- c=$(uname -v)
- d=$(uname -m)
- e=$(uname -p)
- f=$(uname -i)
- g=$(uname -o)
- echo "1) LOGIN: $a"
- echo "2) KERNEL: $b"
- echo "3) VERSAO: $c"
- echo "4) MAQUINA: $d"
- echo "5) PROCESSADOR: $e"
- echo "6) HARDWARE: $f"
- echo "7) SISTEMA OPERACIONAL: $g"
- echo ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement