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

Some very useful Gentoo Linux tips for using the emerge command to install software.

The emerge -atv emacs command will tell you what packages will be merged when installing a copy of Emacs on your Gentoo GNU/Linux system. ec2-user@ip-172-31-30-35 ~ $ sudo emerge -atv emacs   * IMPORTANT: 8 news items need reading for repository ‘gentoo’. * Use eselect news to read news items.     These are the … Read more

New Windows package manager available in Powershell 5.0 This is quite revolutionary.

There is a new package manager available for Windows 8.1, this allows the installation of Windows software with the Powershell command line. Windows PowerShell Copyright (C) 2014 Microsoft Corporation. All rights reserved. PS C:\WINDOWS\system32> Install-Package -name Chrome WARNING: Skipping package provider provider ‘NuGet’– missing required option ‘Destination’ The package ‘xChrome’ comes from a package source … Read more