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. [email protected]:~$ sudo apt install [email protected]:~$ sudo apt install xdotool Then we can resize a MATE Terminal window. xdotool search –onlyvisible –classname "gnome-terminal" windowsize %@ 500xdotool search …

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. [[email protected] Downloads]# sh MaXX-Indy-1.0.0-Installer.sh   >>> Downloading MaXX Interactive Desktop …

This command will show how many kilometers there are in a light year. jason$ units -t ‘1 light year/kilometers’ 9.4605284e+12jason$ units -t ‘1 light year/kilometers’ 9.4605284e+12 If I travelled 800m in 9.58 seconds how many miles per hour is this? jason$ units -t ‘800m/9.58s’ ‘miles/hour’ 186.80053jason$ units -t ‘800m/9.58s’ ‘miles/hour’ 186.80053 Using it this way, …

Creating an alias for bash makes remembering a command easier. This is how longer commands may be simplified. Here is an example. [[email protected]:~] alias lseasy=’ls -lAhF'[[email protected]:~] alias lseasy=’ls -lAhF’ This is the output. [[email protected]:~/Videos] lseasy total 4.8G -rw-r–r– 1 jason jason 18 Mar 24 13:34 authrootseq.txt -rw-r–r– 1 jason jason 23K Mar 24 13:55 heap2.htm …

How to define a string and print it out with the printf() function. #include <stdio.h>   /* Defining a global string. */   #define hi "Hello Sire."   int main(void) { /* Printing out the string. */ printf("%s\n", hi);   return 0; }#include <stdio.h> /* Defining a global string. */ #define hi "Hello Sire." int …

To reboot your Linux machine, use the sudo reboot command. Another way is to type sudo shutdown -r now. To lookup the IP address of a host, use the nslookup command. For example: nslookup google.com. [email protected] ~ % nslookup google.com Server: 172.31.0.2 Address: 172.31.0.2#53   Non-authoritative answer: Name: google.com Address: 74.125.237.193 Name: google.com Address: 74.125.237.194 …