Often we look for new way to boost up our work, so we write a lot of code to perform jobs at high speed.
Sometimes the right way is the old way, specially if we need to do repetitive jobs. To do this kind of jobs we can use the xargs command, this command used in pipe with other commands can automate our jobs.
For example if we want to remove all C files from a directory and from all subdirectory recursively we can do the following:
This is a preview of
Using xargs to parallelize and speed up jobs.
.
Read the full post (648 words, estimated 2:36 mins reading time)
With the following script you can install Firefox (version 3.5 or version 3.6) on your ubuntu box.
I have checked this script on ubuntu 8.10 umpc, Ubuntu 8.10 and Ubuntu 9.04. This script should also work with Ubuntu 9.10, If you use this script to install Firefox3.5/6 on Ubuntu 9.10 please leave a comment to this post.
This is a preview of
Installing Firefox 3.5 or Firefox 3.6 on Ubuntu
.
Read the full post (421 words, estimated 1:41 mins reading time)
Sometimes could be useful to get automatic access to your Ubuntu box.
December 25th, 2008
admin
If you have a file that you want nobody can change it, you shall type the following command into a shell
# sudo chattr +i filename
You can check the attributes using the following command:
# lsattr
----i------------- ./gg1.txt
This is a preview of
How to make a file unchangeable or unalterable (only for ext2/ext3 file systems)
.
Read the full post (91 words, 1 image, estimated 22 secs reading time)
December 23rd, 2008
admin
In Ubuntu/Hardy you could have this error using xargs, this error is due to the findutils package. To solve this problem you could take the package from the Ubuntu release Intrepid.
Open (as root) the /etc/apt/sources.list file with your preferred editor
# sudo gedit /etc/apt/sources.list
This is a preview of
How to fix Ubuntu Hardy’s xargs bug: Assertion ‘bc_ctl.arg_max <= (131072-2048)’ failed.
.
Read the full post (134 words, estimated 32 secs reading time)
Latest Comments