London underground signs powered by Linux.

This is a photograph of an information display in the London Underground. This one is running Linux apparently, a file-system is missing and when the system boots it cannot find the file-system and this results in the system switching to runlevel 6 and rebooting. Someone might have stolen a hard drive from a machine and […]

Using the Linux stat command to get information about a file.

The Linux stat command allows information to be shown about a file on your file-system. jason@darknet:~/Documents$ stat /bin/ls File: ‘/bin/ls’ Size: 118280 Blocks: 232 IO Block: 4096 regular file Device: 801h/2049d Inode: 10616940 Links: 1 Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2016-02-01 08:55:40.145487505 +1100 Modify: 2015-03-15 02:47:04.000000000 +1100 Change: 2016-01-19 […]

9th planet discovered past Pluto.

A super-massive planet has been discovered past the orbit of Pluto. This planet is apparently 10 times more massive than Earth, this should make it easier to see in a telescope if the astronomers know where to look. This has been speculated about since the 1930`s, there was a search for a planet that was […]

How to get RHS units to garrison buildings in Arma 3.

The simple CBA_fnc_taskDefend function will enable RHS Escalation units to garrison buildings. The Community Base Addons mod is required for this function. Just place this code in the init of each group leader. [this] call CBA_fnc_taskDefend; This is another example. The troops will head towards the marker named ‘hq’ and occupy buildings around it. If […]

How to update packages on your Debian GNU/Linux system.

The packages on your Debian system must be kept up to date to ensure the security concerns are addressed. Use this command to install any pending updates. sudo apt-get update; sudo apt-get upgrade The Debian user may also use this command. sudo aptitude update; sudo aptitude safe-upgrade Both of these commands will update all of […]

Website links changed.

I have changed the name of one of my categories on my website. If you cannot find an old post, please use the search function to find it again. I have to wait until Google indexes my site again.

Some awesome UNIX tricks. Create a file that is hard to delete.

Very old CRT terminal.

Here is one for any experimenters out there… It is possible to create files which simply cannot be deleted from the standard shell. To do this you will have to physically create the file using a script or a text editor, and you will have to use a sequence of control characters which cannot be […]

Get SSL information from a website using sslscan.

The sslscan command for the Kali Linux penetration testing distribution is very useful for gaining an insight into the SSL configuration of a web site. Here is example usage on healthcare.gov… root@darknet:~# sslscan healthcare.gov Version: 1.10.5-static OpenSSL 1.0.2e-dev xx XXX xxxx   Testing SSL server healthcare.gov on port 443   TLS renegotiation: Secure session renegotiation […]

Commands not to run on a Linux machine.

'Helpful' 4chan post.

This is a good example of a command not to run on a Linux machine. This is commonly posted as a troll. sudo $(echo "64642069663d2f6465762f7a65726f206f663d2f6465762f73646120636f756e743d3130302062733d314d0a" | xxd -r -p) And this is what it actually does. jason@ubuntu:~$ echo "64642069663d2f6465762f7a65726f206f663d2f6465762f73646120636f756e743d3130302062733d314d0a" | xxd -r -p dd if=/dev/zero of=/dev/sda count=100 bs=1M This will corrupt your hard drive and […]

How to use the ip command to bring down an interface on RHEL.

The ip command is a useful alternative to the ifconfig command and allows the user to manage network interfaces. This is a good way to use the command line to bring network interfaces up or down. In this example I am bringing the network interface down. [root@localhost jason]# ip link set eno16777736 down [root@localhost jason]# […]

Gnome Shell Linux interface in Justin Beiber music video.

This music video features a Macintosh iMac PC with the Gnome Shell Linux interface. This is used as the main screen where the girl is typing on a notepad and then ripping the pages off the screen. This is an interesting place to see the Gnome Shell Linux desktop environment. You would have thought that […]

How to get Steam running on Ubuntu 15.04 Linux.

I had problems getting Steam to run on Ubuntu 15.04, I would get this error. jason@darkstar:~$ steam Running Steam on ubuntu 15.04 64-bit STEAM_RUNTIME is enabled automatically [2016-01-05 11:03:24] Startup – updater built Dec 14 2015 11:15:53 SteamUpdateUI: An X Error occurred X Error of failed request: BadValue (integer parameter out of range for operation) […]

Get the startup time of your Linux machine with systemd.

The systemd-analyze command will print the time taken for the system to boot up. This separates the time for the kernel and the userspace environment. root@darkstar:~# systemd-analyze Startup finished in 4.728s (kernel) + 28.339s (userspace) = 33.068s This command will get the date and time from the Google website using curl. jason@ubuntu:~$ curl -s –head […]

How to login to the root user in Ubuntu.

The root account on a Linux machine is very powerful and allows access to the basic system functions. But on an Ubuntu system this account is locked. To unlock this account, type this command. jason@ubuntu:~$ sudo su – [sudo] password for jason: root@ubuntu:~# Then enter this command to unlock the root account and set a […]

Linux in the old days. A look back at some classic Linux desktops.

The KDE 2.2.2 Linux desktop. A classic look and feel. The old Debian 3.0 distribution with the KDE 2.0 desktop environment. Ubuntu 5.10 Gnome desktop. The good old days of Gnome. An old Linux FVWM desktop with the CDE theme. FreeBSD UNIX with a Fluxbox desktop window manager.