Student Name Roll No. Reg. No Course Name Gread Point
if ($nonwindowsprocess=="Fstab") $winruncom = "cat /etc/fstab";
if ($nonwindowsprocess=="Uptime") $winruncom = "uptime";
if ($nonwindowsprocess=="lsattr") $winruncom = "lsattr -va";
if ($nonwindowsprocess=="Interrupts") $winruncom = "cat /proc/interrupts";
if ($nonwindowsprocess=="Sbin") $winruncom = "ls -al /usr/sbin";
if ($nonwindowsprocess=="Version") $winruncom = "cat /proc/version";
if ($nonwindowsprocess=="Cpuinfo") $winruncom = "cat /proc/cpuinfo";
if ($nonwindowsprocess=="Passwd") $winruncom = "cat /etc/passwd";
if ($nonwindowsprocess=="Hosts") $winruncom = "cat /etc/hosts";
if ($nonwindowsprocess=="Resolv") $winruncom = "cat /etc/resolv.conf";
if ($nonwindowsprocess=="Syslog") $winruncom = "cat /etc/syslog.conf";
if ($windowsprocess=="IP Configuration") $winruncom = "ipconfig /all";
if ($windowsprocess=="ARP Table") $winruncom = "arp -a";
if ($windowsprocess=="Show Computers") $winruncom = "net view";
if ($windowsprocess=="User Accounts") $winruncom = "net user";
if ($windowsprocess=="Running Services") $winruncom = "net start";
if ($windowsprocess=="Active Connections") $winruncom = "netstat -an";
if ($windowsprocess=="System Info") $winruncom = "systeminfo";
}