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] call CBA_fnc_taskDefend; This is another example. The troops will head towards the marker named ‘hq’ and occupy buildings around … Read more

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

The packages on your Debian GNU/Linux 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 upgradesudo apt-get update; sudo apt-get upgrade The Debian user may also use this command. sudo aptitude update; sudo aptitude safe-upgradesudo aptitude update; … Read more

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 … Read more

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 … Read more

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]# … Read more

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)jason@darkstar:~$ … Read more

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.068sroot@darkstar:~# systemd-analyze Startup finished in 4.728s (kernel) + 28.339s (userspace) = 33.068s This command will get the date and … Read more