Search

iceweasel error : Error: Platform version '24.3.0' is not compatible with

On update of iceweasel in debian we might get the error



leading to failure of launch of iceweasel.

The simple solution is to reinstall iceweasel.

Open the synaptic package manager, search for iceweasel.

Right click and select Mark for reinstalation.

Click on apply

Once the installation is done we should be able to launch iceweasel .

tempfile to create temporary files in llinux

While running certain scripts we might need to create temporary files. To ease the creation of temporary files we can make use of the command



it creates an empty file with the name or with the required sufix and prefix. The default permissions for the file are 0600 that is read, write permission only for the creator.

Examples



The -n option is used to pass the name of the temporary file. The "-d ." indicates that the temporary file needs to be created in the current folder itself. We can pass a path to any folder in which we want the temporary folder.

Instead of a name of a file we can pass a suffix to the filename using -s



We can add a prefix using the option -p



Thus we can see that the the new file has been created with a suffix temp. But the user name is randomly chosen by the system. We can not choose the name of the file with -n option if we want to specify the suffix or prefix. If -n is passed the -s and -p, for prefix, are ignored.


Script to create matrix like background on the linux terminal

Here is a script which when executed on the Linux terminal will create a continuous stream of 1's and 0's to create a background like that of the matrix as shown below.

 photo matrix.png

Here is the script.




Save the script as matrix.sh

Give it execute permission and then execute it as follows



Pleast note that the script will not stop untill you do not press "cntrl + c" or "cntrl + z" or close the terminal.