How to get system information in Windows with CMD.

The systeminfo command for Windows allows a user to get comprehensive system information. The default usage outputs the most system information in one go. C:\Users\Corporal Kerry>systeminfo | clipC:\Users\Corporal Kerry>systeminfo | clip This command will output the system information in CSV format. C:\Users\Corporal Kerry>systeminfo /FO CSVC:\Users\Corporal Kerry>systeminfo /FO CSV Use the /S parameter to specify a … Read more

Glances. A nice new networking script for Linux that runs on Python.

Glances is a very detailed script that will print out comprehensive information about your Linux workstation or server. To install the Glances script clone the git repository this way. jason@jason-desktop:~$ git clone https://github.com/nicolargo/glances.git Cloning into ‘glances’… remote: Counting objects: 13758, done. remote: Total 13758 (delta 0), reused 0 (delta 0), pack-reused 13758 Receiving objects: 100% … Read more

Retrieve information about your wireless interface on Ubuntu with the command line.

The /proc/net/wireless file contains information about your wireless connection. jason@darknet:~$ cat /proc/net/wireless Inter-| sta-| Quality | Discarded packets | Missed | WE face | tus | link level noise | nwid crypt frag retry misc | beacon | 22 wlan0: 0000 58. -52. -256 0 0 0 1 47 0jason@darknet:~$ cat /proc/net/wireless Inter-| sta-| Quality … Read more

Different ways to get user and system information on Linux.

The who command on Linux and UNIX systems will list all currently logged in users on your system. jason@darknet:~$ who -Htu NAME LINE TIME IDLE PID COMMENT jason :0 2016-02-13 13:43 ? 1895 (:0) jason tty2 2016-02-13 13:43 00:01 2164 jason pts/0 2016-02-13 13:43 . 2178 (:0.0)jason@darknet:~$ who -Htu NAME LINE TIME IDLE PID COMMENT … Read more

Simple Linux commands to get information about your system.

This simple command will print the remaining free space on your hard disk. root@ip-172-31-20-16:~# df -Hla Filesystem Size Used Avail Use% Mounted on /dev/xvda1 32G 9.6G 21G 32% / proc 0 0 0 – /proc sysfs 0 0 0 – /sys none 4.1k 0 4.1k 0% /sys/fs/cgroup none 0 0 0 – /sys/fs/fuse/connections none 0 … Read more

Useful Linux weblinks. Very interesting information.

https://www.cs.cmu.edu/~gilpin/tutorial/. Debugging Under Unix: gdb Tutorial. http://docs.kali.org/general-use/starting-metasploit-framework-in-kali. Setting up the Metasploit framework in Kali Linux. http://www.backtrack-linux.org/forums/showthread.php?t=8154. Using the netdiscover command on Linux to scan for hosts on a network. https://insights.ubuntu.com/2014/10/10/watch-netflix-in-ubuntu-today/. Watch Netflix on Ubuntu with the Google Chrome browser and ditch Windows on your media center machine. http://www.linuxquestions.org/questions/programming-9/how-can-i-list-directories-only-in-linux-375219/. How to list only directories when using … Read more

Get information about your network connection with Linux.

This command will return only the IP address of the host. ubuntu ~ $ hostname -i 172.31.20.16ubuntu ~ $ hostname -i 172.31.20.16 Querying for all local IP addresses on the host. ubuntu ~ $ hostname -I 172.31.20.16 10.8.0.1ubuntu ~ $ hostname -I 172.31.20.16 10.8.0.1 This simple script will ping Google and will check the return … Read more

List all of your IP addresses using the ip command.

The ip command will list all of your ip addresses when combined with the grep command to look for all inet words. This is a very useful one-liner. ubuntu ~/Documents $ ip a | grep "inet " inet 127.0.0.1/8 scope host lo inet 172.31.20.16/20 brd 172.31.31.255 scope global eth0 inet 10.8.0.1 peer 10.8.0.2/32 scope global … Read more

How to get information about your Linux services with systemd.

The systemd init system may be used to get information about your running services. Here I am getting information about the openvpn service. jason@eyjafjallajkull:~$ systemctl -a status openvpn.service ● openvpn.service – LSB: Openvpn VPN service Loaded: loaded (/etc/init.d/openvpn) Active: active (running) since Mon 2015-04-13 14:57:18 AEST; 5h 2min ago Docs: man:systemd-sysv-generator(8) CGroup: /system.slice/openvpn.service └─1719 /usr/sbin/openvpn … Read more

List hardware on your Linux system with some simple commands.

The lsdvb command will list all installed DVB hardware in your Linux system. Here it is showing my Realtek DVB stick. You need to use sudo to enable this command to gather more information. jason-H55-USB3 [lsdvb] ~/Documents jason-H55-USB3% sudo lsdvb   lsdvb: Simple utility to list PCI/PCIe DVB devices Version: 0.0.4 Copyright (C) Manu Abraham … Read more

Some very useful networking tricks for Linux/UNIX users.

Get your gateway IP address with curl on the command line. [homer@localhost ~]$ echo $(curl -# http://ipecho.net/plain) ######################################################################## 100.0% 153.107.97.164[homer@localhost ~]$ echo $(curl -# http://ipecho.net/plain) ######################################################################## 100.0% 153.107.97.164 Another way to list the IP addresses of your network interfaces. Using the ip command. [homer@localhost ~]$ ip a | grep inet* inet 127.0.0.1/8 scope host lo … Read more

How to get hardware information about your network adapters on Windows Server 2012.

Windows Server 2012 R2 supports quite a few cmdlets that allow the user to gain quite a bit of information about the networking configuration of the server machine. Here are a few examples with output. This command: Get-NetAdapterHardwareInfo gets hardware information about your wireless adapters. PS C:\Users\Administrator> Get-NetAdapterHardwareInfo   Name Segment Bus Device Function Slot … Read more

My useful system information script for any Linux user who wants quick system information.

This is a system information script I am working on. This shows some useful information about your Linux system. #!/bin/bash   echo " My System information script." echo " " echo " "   echo "The computer has: $(awk < /proc/meminfo ‘{ if ($1 == "MemTotal:") { print $2 }}’) Kilobytes of RAM." echo "The … Read more

Useful networking study resources for students.

Some useful networking resources. http://www.routeralley.com/ra/docs/tcp_udp.pdf TCP and UDP reference. http://www.razorpoint.com/PDF/Rz.PortsList.pdf TCP/IP Ports listing. This is very useful for reference. http://www.gasmi.net/tcp.php Another TCP ports listing in HTML. http://www.hardwaresecrets.com/article/431 An introduction to the OSI model and how the TCP/IP  Protocol works. http://www.protocols.com/pbook/tcpip1.htm A definition of common TCP/IP names. Intro to TCP/IP. TCP/IP and subnet masking explained. Kali … Read more

Useful commands for getting information about your computers memory status and hard drives.

This command used with grep will return information about your computers memory. jason@jason-desktop:~/Documents$ cat /proc/meminfo | grep Total MemTotal: 12219468 kB SwapTotal: 70311928 kB VmallocTotal: 34359738367 kB CmaTotal: 0 kB HugePages_Total: 0jason@jason-desktop:~/Documents$ cat /proc/meminfo | grep Total MemTotal: 12219468 kB SwapTotal: 70311928 kB VmallocTotal: 34359738367 kB CmaTotal: 0 kB HugePages_Total: 0 If you want to … Read more

Listing the free space on your Linux system. And other useful Linux shell commands.

Listing the free space on your Linux system. Using the df command to list this on the command-line. The df command for Linux will display a listing of your partitions and how much space is available. The -H parameter shows the outputs in human readable formats. ubuntu@ubuntu:~/Documents$ df -Hla Filesystem Size Used Avail Use% Mounted … Read more

Viewing information about your user on Linux.

View information about your user on a Linux system The groups command displays the list of groups that your user is a member of. [neo@deusexmachina]:~> groups neo cdrom floppy audio dip video plugdev bluetooth scanner netdev[neo@deusexmachina]:~> groups neo cdrom floppy audio dip video plugdev bluetooth scanner netdev Using the id command will display a more … Read more

Securing your Facebook profile.

These are the cookies stored on my machine that Facebook has stored on my computer without me knowing. This happens because a website has put the Facebook Like button on their page, then Facebook can track you and see what browsing you are doing after you leave your Facebook session. There is a good article … Read more

Useful *nix information and links.

Linux is not Windows. http://linux.oneandoneis2.org/LNW.htm This is a very good web page that explains the fundamental differences between Windows and Linux. There are many fundamental changes you need to make when making the switch from Windows to a Linux machine, the major changes difference is that Linux is not as susceptible to viruses as Windows … Read more