Why Linux uses .dotfiles for hidden filenames.

The original UNIX programmers created a bug in the early UNIX code 40 years ago. This code had the side effect of making files starting with a dot hidden to the normal ls command. This was adopted as a ‘feature’. Nowadays, the dotfile is the standard way of hiding configuration…

Read More

Some miscellaneous Linux commands for the desktop user.

Find all files larger than 1 megabyte in a directory. find . -maxdepth 1 -type f -size +1M -printf "%f:%s\n" | sort -t":" -k2find . -maxdepth 1 -type f -size +1M -printf "%f:%s\n" | sort -t":" -k2 Search a file for a certain string. grep "hello" my.txtgrep "hello" my.txt Get…

Read More

Some more useful UNIX commands available for the Mac.

There are a few very useful UNIX commands available on the Apple Macintosh. Mountain Lion is what I am using in Virtualbox and I am having a look at some very useful shell commands and tips. The iostat command. This shows statistics of disk Input/Output. Homers-iMac:Documents homer$ iostat disk0 disk1…

Read More

Some more good themes for the Linux Mint MATE desktop.

Some awesome themes and wallpapers for the Linux Mint MATE desktop Themes http://gnome-look.org/content/show.php/LiNsta+3+%28Linux+is+Not+Vista%29?content=44570 Linux is not Vista. A Windows Vista styled theme for Gnome and MATE. http://gnome-look.org/content/show.php/MacOS-X+Aqua+Theme?content=13548. Mac OSX Aqua theme for MATE. http://gnome-look.org/content/show.php/Murrine+GTK%2B+Cairo+Engine?content=42755. Murrine GTK+ Cairo Engine. http://gnome-look.org/content/show.php/Faenza-Cupertino?content=129008. Faenza-Cupertino icon theme. http://gnome-look.org/content/show.php/OSX-Nostalgie?content=157390. OSX Nostalgia icon theme. http://gnome-look.org/content/show.php/E17gtk?content=163472. E17 GTK….

Read More

Some very good Linux resources for learning programming and BASH scripting.

http://gentoomen.org/tutorials/resources.html. The gentoomen.org resources page. Very good list of links to various tutorials and help pages. http://tldp.org/LDP/abs/html/. The Advanced BASH scripting guide. ftp://ftp.vim.org/pub/vim/doc/book/vimbook-OPL.pdf. The VIM guideboook. http://stommel.tamu.edu/~baum/programming.html. 3000 useful guides to programming and Linux documentation and help pages. http://samizdat.mines.edu/howto/HowToBeAProgrammer.html. How to be a programmer. A short but comprehensive summary. http://www.psychocats.net/ubuntu/index….

Read More

How to add a swapfile with Linux and thoughts on the Die Hard 4.0 movie.

To create a new swapfile on your Linux machine to complement the existing /swap partition; the dd command will come in handy. This command will create the swap file as a loopback filesystem. adeptus-mechanicus ~ # dd if=/dev/zero of=swapfile bs=1024 count=524288adeptus-mechanicus ~ # dd if=/dev/zero of=swapfile bs=1024 count=524288 This command…

Read More

Linux commands that are also available on Android.

There are many Linux commands that are available on Android devices when you are using the terminal emulator app. Firstly the ls command. This is used to list files in a directory. Then the cat command; this is used to view the contents of a text file. The mv command…

Read More

New version of the NetBSD UNIX distribution released.

The new release of the NetBSD UNIX distribution has just been released. This distribution based on the 4.4BSD operating system gives the user a super secure and reliable server operating system that is fully capable of powering an Apache http server; a mail server or MySQL database. This operating system…

Read More