Edit a File When You Are Viewing It Using more / less Command
<a href="http://www.cyberciti.biz/faq/edit-file-when-youre-viewing-withmore-less/">Aritcle here.
<a href="http://www.cyberciti.biz/faq/edit-file-when-youre-viewing-withmore-less/">Aritcle here.
<span style="color: #ff0000;">Question: I can use <a href="http://www.cyberciti.biz/tips/less-is-more-the-hidden-treasure-of-less-command.html">less or more pagers to view a file. How do I start an editor (such as vi or other text editor) to edit the current file without leaving the less or more pager command?
Continue readingFedora 12, the latest version of the popular open-source operating systems for desktops and servers, has been released: ”The Fedora Project, a Red Hat, Inc. sponsored and community-supported open source collaboration, today announced the availability of Fedora 12, the latest version of its free, open-source operating system distribution…..
Continue readingGet the Nautilus Script <a href="http://gnome-look.org/content/show.php/moiso?content=84301" target="_blank">here. So what is required is that you have the necessary permission to run mount and umount as normal user with sudo command. If you are using gksu or gnomesu then you can change this in the script that you will get. Once you have got the script then you can run the installer for the script that comes in the package.
If you are running this is Fedora then you would need to make one more change other than the ones done by the installer, which is to allow sudo from non tty devices. Since this will be running from the nautilus so the script will not have any tty device and hence you would need to comment the following in the /etc/sudoers file:
Continue readingI have been looking to do this for sometime. The bash history is per
session basis and the last session to quit overwrites the bash_history
file and thus all other terminals started between the time last terminal
lasted does not get to write the commands in the history file. Secondly
the history gets cluttered with lot of duplicate entries and entries
with ls and cd commands. So finally I added these to the bashrc file:
Fedora has rolled out presto repositories. What this means to the users is that the download size for the updates would be greatly reduced. To use the feature, first install the yum plugin:
sudo yum install yum-presto.noarch
Presto uses delta rpms. These delta rpms are quite small in size (eg few kbs instead of 15 MB for firefox 3.5). These delta rpms are used to re-create the original rpm and this is completely transparent to the end user. So, next time when you update with the plugin installed you will see the difference in the download size.
Continue readingIn packagekit, if you getting the error below:
Traceback (most recent call last):
File ”/usr/share/PackageKit/helpers/yum/yumBackend.py”, line 1215, in _get_depends_not_installed
rc, msgs = self.yumbase.buildTransaction()
File ”/usr/lib/python2.6/site-packages/yum/__init__.py”, line 719, in buildTransaction
self.plugins.run(’postresolve’, rescode=rescode, restring=restring)
File ”/usr/lib/python2.6/site-packages/yum/plugins.py”, line 179, in run
func(conduitcls(self, self.base, conf, **kwargs))
File ”/usr/lib/yum-plugins/remove-with-leaves.py”, line 71, in postresolve_hook
if opts.remove_leaves or remove_always:
AttributeError: ’NoneType’ object has no attribute ’remove_leaves’
then you can resolve it. The solution to the problem is there in the traceback, luckily this time.
Continue readingI was thinking of doing this for some time but never got time to do this. So finally I took some time off yesterday to do the setup. <a href="http://www.howtoforge.com/exim-mysql-cyrus-imapd-horde-centos5.1-p2" target="_blank">Here is a good link on the instructions for the CentOS, but on Fedora also they hold good.
So what you need to do is basically install exim, imp, horde, horde-enhanced and cyrus* packages and then configure imap server and exim to do the mailing part and setup horde to view the mail. To install the packages use the command below:
Continue reading