Some useful tips for Linux Mint users.

To open a new virtual terminal to enter commands, use the Ctrl-Alt-F2 key combination and enter your username and password. This is a virtual terminal where you can control your system with a distraction free full-screen terminal. There are key combinations to switch between virtual terminals, read more here: http://www.tldp.org/LDP/GNU-Linux-Tools-Summary/html/virtual-terminals.html. To get a version of … Read more

How to send a message to logged on users on your Linux system with a simple command.

The wall command is a perfect way to send a message to all logged on users on a Linux machine. This is used when you shutdown to alert all users that the system will be shutting down. The example below shows me sending the output of the ps command to all users. ubuntu@ip-172-31-20-234:~$ sudo ps … Read more

Sony pictures servers compromised and files stolen.

Sony pictures serves were recently hacked and some files were stolen. Apparently, there was a single folder named “Passwords” and this contained all of the files that were stolen. Apparently a DVDrip of the movie Fury was downloaded as well as countless passwords and other files. 47,000 social security numbers for various Hollywood stars including … Read more

Create a cool looking clock in your terminal.

This simple little script will print an updating clock in the terminal. #!/bin/sh   watch -t -n 1 ‘date +%H:%M:%S | figlet’#!/bin/sh watch -t -n 1 ‘date +%H:%M:%S | figlet’ This version will print a cow that tells you the time. #!/bin/sh   watch -t -n 1 ‘date +%H:%M:%S | cowsay’#!/bin/sh watch -t -n 1 … Read more

More useful bash tricks for navigating your filesystem.

Navigating the Linux filesystem is very easy. The cd command is used to move to another directory. But there are other ways too. To navigate back to the last directory you were in, type cd -. This will take you back to where you were before. ubuntu /usr/share $ cd – /home/ubuntuubuntu /usr/share $ cd … Read more

Useful web page for generating sources.lst files for Ubuntu with a simple interface.

This web page allows a user to generate a sources.lst file for an Ubuntu distribution. repogen.simplylinux.ch is a site that allows you to recreate your sources.lst if it is deleted accidentally. This would be very useful for a person that needs this kind of service in a hurry. So, check this site out and see … Read more

How to mount the Ubuntu filesystem read-write when you have mounted the filesystem in recovery mode.

If you have appended this to the end of the grub command line to change a lost password: init=/bin/bash Ubuntu and you get this error. root@USB-h55-PC:~# passwd jason Enter new UNIX password: Retype new UNIX password: passwd: Authentication token manipulation error passwd: password unchangedroot@USB-h55-PC:~# passwd jason Enter new UNIX password: Retype new UNIX password: passwd: … Read more

More awesome GTK and WM themes for your Linux desktop.

Window manager themes. RISC styled WM theme for Xfce4: http://www.marutan.net/themes.php. GTK themes. Mac OS Classic theme for Xfce4: http://xfce-look.org/content/show.php?content=144719. Mac OS classic GTK2 theme: http://gnome-look.org/content/show.php/Mac+OS+9+Platinum+gtk+theme?content=110444. Plane GTK: http://gnome-look.org/content/show.php/Plane-Gtk3.6?content=156309. Classic 95 Windows `95 theme for MATE and Gnome: http://gnome-look.org/content/show.php/Classic95?content=157298. How to create a look-alike Windows XP desktop using IceWM: http://kmandla.wordpress.com/projects/lookalike-windows-xp-classic/. Windows 3.1 theme for Xfce4: http://xfce-look.org/content/show.php/Redmond3+%28Windows+3.1+theme%29?content=121526. … Read more

Sandisk releases a 400GiB SSD that plugs into your DDR3 RAM slot.

Sandisk have released a 400GiB SSD drive that enables a server machine to expand storage by plugging the device into a standard RAM slot. This is an interesting device, the ability to sacrifice a RAM slot and install a Solid State Drive instead. This device, placing storage closer on the motherboard to the CPU is … Read more

Some miscellaneous Linux commands.

To reboot your Linux machine, use the sudo reboot command. Another way is to type sudo shutdown -r now. This command will also shut down your machine. ┌─[jason@darkstar]─[~] └──╼ $sudo init 0┌─[jason@darkstar]─[~] └──╼ $sudo init 0 Use this command to reboot your computer. ┌─[jason@darkstar]─[~] └──╼ $sudo init 6┌─[jason@darkstar]─[~] └──╼ $sudo init 6 To lookup the … Read more

Interstellar movie shows real physics when depicting a black hole.

The new Interstellar movie is one that showcases science in a positive light as the possible saviour of mankind. We do need to find other planets to settle on, but why not settle on Mars? It has sunlight that we could use for generating power and water. But travelling through a wormhole is one way … Read more

Count how many times users have successfully logged into your Linux machine.

This command will display a count of successful logins to your Linux machine. jason-H55-USB3% grep ‘session opened’ /var/log/auth.log | wc -l 67jason-H55-USB3% grep ‘session opened’ /var/log/auth.log | wc -l 67 This will display a count of failed login attempts to your Linux machine. jason-H55-USB3% grep ‘FAILED LOGIN’ /var/log/auth.log | wc -l 3jason-H55-USB3% grep ‘FAILED LOGIN’ … Read more

How to find a file with the Linux command line.

The Linux command line is very useful for finding files, the find command is the best way to locate files on your filesystem. This is a simple example. knoppix@Microknoppix:~$ sudo find /proc -name "meminfo" /proc/meminfoknoppix@Microknoppix:~$ sudo find /proc -name "meminfo" /proc/meminfo Use the -maxdepth parameter to only search a certain number of levels deep into … Read more

How to install a Windows feature on server 2012 using Powershell.

This Powershell command will install a Windows feature on your Windows 8.1 or server 2012 machine. I am only using the telnet server as an example. PS C:\Users\Administrator> Install-WindowsFeature telnet-server Success Restart Needed Exit Code Feature Result ——- ————– ——— ————– True No Success {Telnet Server} This is how easy it is to install a … Read more

Misc UNIX tips for the desktop UNIX or Linux user.

Ralph using a computer.

Get your uptime with the uptime command on Linux. Last login: Tue Oct 28 13:55:23 on ttys000 iMac05:~ admin$ uptime 11:24 up 111 days, 20:38, 2 users, load averages: 0.35 0.16 0.14Last login: Tue Oct 28 13:55:23 on ttys000 iMac05:~ admin$ uptime 11:24 up 111 days, 20:38, 2 users, load averages: 0.35 0.16 0.14 The … 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