To list only the usernames in the /etc/password file use this command. jason@neo:~$ cut -d: -f1 /etc/passwdjason@neo:~$ cut -d: -f1 /etc/passwd This will print a listing of all usernames. This also works on the /etc/shadow file when used as root. jason@neo:~$ su -c ‘cut -d: -f1 /etc/shadow’ Password:jason@neo:~$ su -c ‘cut -d: -f1 /etc/shadow’ Password:

To list all non-free Linux packages that are installed on your Linux Mint system, use this one-liner. This prints out a list of all non-free packages that are installed on a system. jason@jason-virtual-machine ~ $ dpkg-query -W -f ‘${Section}/${Package}\n’ | grep -E ‘^(contrib|multiverse|non-free|partner|restricted)/’ | sort contrib/kernel/virtualbox-guest-dkms contrib/misc/virtualbox-guest-utils contrib/x11/virtualbox-guest-x11jason@jason-virtual-machine ~ $ dpkg-query -W -f ‘${Section}/${Package}\n’ | …

This Cisco command will list all passwords on a switch. mrrobot#sh ru | inc password service password-encryption password 7 00141215174C04140B70 password 7 00141215174C04140B70mrrobot#sh ru | inc password service password-encryption password 7 00141215174C04140B70 password 7 00141215174C04140B70 The inc command looks for any text that matches the argument. Like this: mrrobot#sh ru | inc line line con …

This command will print the make and model of your motherboard. jason@eyjafjallajkull:~$ sudo dmidecode -t baseboard [sudo] password for jason: # dmidecode 2.12 SMBIOS 2.4 present.   Handle 0x0002, DMI type 2, 8 bytes Base Board Information Manufacturer: Gigabyte Technology Co., Ltd. Product Name: H55-USB3 Version: x.x Serial Number:jason@eyjafjallajkull:~$ sudo dmidecode -t baseboard [sudo] password …

This is an example where I am using the rsync command to copy files from one computer to another. homer@deusexmachina ~ $ rsync -avz -e "ssh -p 443" homer@192.168.100.4:/home/homer/Desktop/ /home/homer/Videos The authenticity of host ‘[192.168.100.4]:443 ([192.168.100.4]:443)’ can’t be established. ECDSA key fingerprint is ############################################. Are you sure you want to continue connecting (yes/no)? yes Warning: …

The iptables -L or iptables –list commands will list all of the iptables rules that are set on your Linux machine. Below is abbreviated output of this command on my Fedora 20 system. [root@localhost homer]# iptables –list Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT all — anywhere anywhere ctstate RELATED,ESTABLISHED ACCEPT all …

http://www.securitronlinux.com/bejiitaswrath/how-to-install-the-linux-mint-13-mate-desktop-in-ubuntu-12-10-quantal-quetzal/ How to install the Linux Mint 13 MATE desktop in Ubuntu 12.10. http://www.securitronlinux.com/bejiitaswrath/some-more-nice-themes-for-the-linux-mint-13-mate-desktop/ A list of lovely themes for the Linux Mint 13 MATE desktop. http://www.securitronlinux.com/bejiitaswrath/another-selection-of-very-nice-linux-mint-mate-themes/ Another selection of very nice MATE themes. http://www.securitronlinux.com/bejiitaswrath/mate-desktop-on-linux-mint-13-some-nice-gtk-and-icon-themes-to-make-it-look-very-nice/ A selection of very nice MATE icon themes and GTK styles to theme your desktop. http://www.securitronlinux.com/linux-mint-2/windows-7-lookalike-kde-themes-how-to-make-linux-look-like-vista-or-windows-7/ Some themes and icons for KDE 4.8.0 …

How to list the indexes in a MySQL database table. Easily done using the show command. mysql> show index from customer; +———-+————+——————-+————–+——————–+———–+————-+———-+——–+——+————+———+—————+ | Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | +———-+————+——————-+————–+——————–+———–+————-+———-+——–+——+————+———+—————+ | customer | 0 | …