Sunday, September 18, 2011

Linux / Unix: Bash Find Matching All Dot Files

A dot-file is generally any file whose name begins with a full stop. In Linux or Unix like operating system it is also called as hidden file. How do I list all dot files in my home directory?

You can use the ls command to list all dot files in your current directory:

ls  .*
 
Sample outputs:
.bash_history  .bash_profile  .bashrc  .lesshst  .profile  .viminfo

.:
checkfs  checkroot  interfaces interfaces.new scripts  securedata.keyfile

..:
lost+found  root  root.user.only

.aptitude:
cache  config

.keychain:
nas01-csh  nas01-fish  nas01-sh

.ssh:
id_rsa id_rsa.pub  known_hosts

.system_file_bakups:

.vim: 
 
Another option is to use the find command:
$ find . -name ".*"
 
Sample outputs:
 
.
./.bash_history
./.system_file_bakups
./.viminfo
./.bashrc
./.lesshst
./.ssh
./.profile
./.aptitude
./.bash_profile
./.vim
./.vim/.netrwhist
./.keychain  

Friday, September 9, 2011

First update to KDE 4.7 released

The KDE organisation has released the first point update to version 4.7 of the KDE Software Compilation (KDE SC). As expected, this maintenance update to the Linux and Unix desktop contains no new features, but includes a variety of translation updates and bug fixes.
According to the developers, version 4.7.1 of the open source K Desktop Environment (KDE) addresses problems found in, for example, the KDE libraries (kdelibs), the Okular universal document viewer and the Kwin window manager for KDE Plasma Desktops. In the Ark archive manager, a problem that prevented a file name from being suggested when a directory was selected for compression has also been fixed. Users that find bugs in the current version are asked to report them so that they can be fixed in the next update.
Further information about the update can be found in the official release announcement, in the change log and on the KDE 4.7.1 Info Page. Source packages for self-compilation and binary packages for various Linux distributions are available to download from the project's web site. KDE is licensed under a combination of LGPLv2, BSD, MIT and X11 licences for core libraries and the GPLv2 or GPLv3 for applications.