Some very old but still useful tips for Linux users.

Run the urxvt terminal as a transparent colored terminal window. This is very useful indeed. urxvt -fn "fixed" +sr +st -fg "#FFFFFF" -bg "#000033" -bd "#302c64" \ -ip +sb -title "*-Home-${HOME}-Shell-${SHELL}-Display-${DISPLAY}*" \ -tint DarkSlateGrey -fade 50 -fadecolor redurxvt -fn "fixed" +sr +st -fg "#FFFFFF" -bg "#000033" -bd "#302c64" \ -ip…

Read More

List all SCSI hard disks in your Linux system.

This command will list all installed hard disks in your system. This is using the -S parameter to only list SCSI devices. 𒅑 4.4 Mon Mar 23 jason@Yog-Sothoth 0: $ lsblk -n -S sda 0:0:0:0 disk Seagate Expansion Desk 0911 usb sdb 1:0:0:0 disk ATA ST3500418AS CC38 sata sdc 3:0:0:0…

Read More

A one-liner that will list only the mounted removable drives on your system.

This command will only list the mounted removable drives on your Linux system. The ones under /dev/sd*. This is very easy to use. 4.4 Mon Jan 13 jason@Yog-Sothoth 0: $ cat /etc/mtab | grep /dev/s[a-f]/* /dev/sda2 /media/jason/Seagate\040Expansion\040Drive fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0 /dev/sdb4 /media/jason/My\040Stuff fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 04.4 Mon Jan 13…

Read More

Very useful Linux configurations for setting up a desktop.

IceWM configuration fileUseful Linux CommandsVery Verbose ps commandBlackbox ThemeGNU/Linux CD Burning: (Updated! for Debian Linux 6.0.)CD Burning with BraseroWriting Ghost Images to CD IceWM configuration file My ICEWM preferences file. from $HOME/.icewm/preferences. This file has a nice friendly time format and a good Win95 styled theme. This IceWM configuration file…

Read More

Get information about your OpenBSD system easily.

The OpenBSD operating system has many ways to get system info. One way is to use the sysstat utility. This returns comprehensive information about a running UNIX system. Run sysstat with no parameters and you will get output like this. 2 users Load 0.51 0.36 0.16 neo.home 10:32:19   memory…

Read More

Installing OpenBSD is very easy to do.

I am installing OpenBSD in VMware to test out this very nice UNIX operating system, and this should be very easy to do. I chose to install manually, the auto installation option does not work. Then I had to setup the network interfaces for the operating system. I chose to…

Read More

Very cool Linux scripts I have found on the Internet.

A collection of nice Linux scripts I have found on the Internet. Nice pipes terminal screensaver, this is a nice addition to your Linux terminal emulator. https://github.com/pipeseroni/pipes.sh. A collection of very useful MPV user scripts. https://github.com/mpv-player/mpv/wiki/User-Scripts. use Byzanz to capture your Linux desktop to a file for a certain duration….

Read More

Nice commands on Macintosh to keep track of network usage.

The Mac OSX operating system has a lot of very useful commands for keeping track of network usage. Here is a very nice one. The nettop command. As you can see, this shows a constantly updating display of network usage on Mac. This is very useful for watching network throughput…

Read More

Very old but interesting UNIX and Linux documentation.

Very old, but precious UNIX documentation from the 1970`s. These would be very interesting reading for someone interested in UNIX. 1972 UNIX programming manual. https://www.tuhs.org//Archive/Distributions/Research/1972_stuff/unix_2nd_edition_manual.pdf. Tmg compiler-writing language manual. https://www.tuhs.org//Archive/Distributions/Research/1972_stuff/tmg.pdf. UNIX Programmers manual November 1971. https://www.tuhs.org//Archive/Distributions/Research/Dennis_v1/UNIX_ProgrammersManual_Nov71.pdf. UNIX Kernel Subroutine Descriptions March 1972. https://www.tuhs.org//Archive/Distributions/Research/Dennis_v1/Kernel_Subroutine_Descriptions_Mar72.pdf. Intro on how manual pages are laid…

Read More

how to generate long random numbers with the Linux command line.

This simple command prints out a long random number string from /dev/urandom. jason@Yog-Sothoth » img » $ tr -dc "[:digit:]" < /dev/urandom | head -c 64 ; echo 9958048462925775253231939134565711861924198983498274782350446110 Do it this way to remove the newline after the output. This would be good for use in a script. jason@Yog-Sothoth…

Read More

Checking /var/log. How to best find good information about your system.

Checking the /var/log files is very important. This can show you a lot of information about what is happening with your Linux system. The below command shows how to get a list of previously installed programs on a Debian based system. jason@Yog-Sothoth » ~ » $ grep install /var/log/apt/history.log Commandline:…

Read More

How to manipulate Xorg windows with a terminal command.

The Windows in an Xorg session may easily be manipulated with this simple utility. Xdotool. This is a terminal utility to manage Xorg windows. Firstly, install this simple utility. jason@jason-desktop:~$ sudo apt install xdotooljason@jason-desktop:~$ sudo apt install xdotool Then we can resize a MATE Terminal window. xdotool search –onlyvisible –classname…

Read More

How to install a Linux version of the SGI UNIX desktop on Fedora 25.

I just installed the Linux version of the SGI desktop on my Fedora 25 Linux machine. This was not too hard either. Download a copy of the installation script from here: http://www.maxxinteractive.com/site/?page_id=51. Run the script as root to download and install the MaXX desktop tarball. [root@localhost Downloads]# sh MaXX-Indy-1.0.0-Installer.sh  …

Read More

Funny and strange UNIX happenings and C programming tips.

Funny and cool Linux tips 1337 or Leet in the UNIX time. -01:44:57– gordon@deusexmachina [~]$ date +%s 1337096699-01:44:57– gordon@deusexmachina [~]$ date +%s 1337096699 The missing days in 1752. I have mentioned this before, but it is worth mentioning again. -01:45:31– gordon@deusexmachina [~]$ cal 9 1752 September 1752 Su Mo Tu…

Read More