Sometimes you need to get numerical permissions while doing ls. Numerical permissions are like 777 or 644. Here is how to do it: You can create a bash file in /usr/local/bin to access this command quickly
Tag: howto
VirtualBox init.d service autostart script
I’ve just installed started using VirtualBox on my Fedora 11 x86_64 and it works just perfectly. I’ve migrated from VMWare when it figured out that it is unable to work with latest kernel version. So I need to start some virtual machines in the background with system startup. I’ve made a lot of googling and …
Howto delete all .svn folders from SVN working directory
To delete all .svn folders from SVN working directory for releasing folder from SVN just do this simple steps. Create new file in /usr/local/bin with name svnrm with following content #!/bin/sh find . -name .svn -print0 | xargs -0 rm -rf Save it. From now on you can execute svnrm command in your working directory …
Bugfix: Howto turn off gpg-agent usage in Enigmail in Thunderbird
There is some bug in Enigmail v0.95.7 for Thunderbird. If you untick the checkbox “Use gpg-agent for passphrases” in Advanced tab of Advanced settings menu, Thunderbird in anyway will try to use gpg-agent if GPG_AGENT_INFO environment variable is set. The reason is some little bug in Enigmail source code. To fix it, first close Thunderbird, …
Howto recursively add unversioned files into SVN repository
Because svn add command does not support recursive addition of unversioned files you can use this little script to do it. Create new file in /usr/local/bin with name svnadd with following content #!/bin/sh svn status | perl -ne ‘s/^\?\s+(\S.+)$/\1/g;chomp;system(“svn add \”$_\””);’ Save it. From now on you can execute svnadd command in your working directory.
Howto run Gajim with root privileges
Gajim 0.12.1 says that he can’t run with root privileges. This is new feature that appeared in Fedora 10. In earlier versions it was normaly running under root. Anyway let’s turn off this feature in case that you need to run Gajim under root. Open /usr/bin/gajim with your favorite text editor, find 24th line and …