Empty a file
This one is for those who know the “touch” command. Hope all of us do not follow a command just because it is on one of the popular site without trying to understand the command and the output.
Continue readingThis one is for those who know the “touch” command. Hope all of us do not follow a command just because it is on one of the popular site without trying to understand the command and the output.
Continue readingToday I was working on a bash script written by someone else. And the script was maintained since long and had actually become quite big and there was no indentation followed. So, you can understand how difficult it was to understand the script. So, I set my foot forth to first find a beautifier for the bash script before I fixed it and my search ended here.
Continue readingIf you are looking for a command to see the disk usage by each of the rpm‘s then you can use this command:
|
1
|
And if you use this command very regularly then you can create an alias like
|
1
|
and use it like
Continue readingOne of the things that I never realized that I am missing in Nautilus until they put the feature in was this. When a file is being copied and there is conflict, there should be option to rename the new file being copied. Also, if the file being copied is image then a small preview/thumbnail would be good.
Yesterday while copying some files, suddenly I noticed that this feature is there now. Pretty useful feature to have. Here’s the screen-shot.
Continue readingMake any command read line enabled (on *nix)
|
1
|
Enable readline even if the command line application is not using it.
* View this command to comment, vote or add to favourites * View all commands by pykler
commandlinefu.com
by David Winterbottom (codeinthehole.com)
URL: http://feedproxy.google.com/~r/Command-line-fu/~3/mKEgYoyHCMA/make-any-command-read-line-enabled-on-nix
If you use screen command a lot then this is something that you will like 🙂
Screen enable/disable loggin in all windows
|
1
2 3 |
The command when added in screenrc enables logging all open windows by using the C-l (control-l key combination) and disable by C-o . The lines need to be added in separate lines .
Continue readingHere are some of the links that may be of great help to you if you are having issues with setting up SSL and OpenLDAP. I was having some issues with this setup and these links helped me fix the same.
http://www.faqs.org/docs/Linux-HOWTO/SSL-RedHat-HOWTO.html
http://www.tc.umn.edu/~brams006/selfsign_redhat.html
http://directory.fedoraproject.org/wiki/Howto:SSL http://www.linuxtopia.org/online_books//network_administration_guides/ldap_administration/appendix-common-errors_Common_causes_of_LDAP_errors.html