Windows Vs Linux – One more time

2017-04-07 5 min read Linux Uncategorized

Tux, as originally drawn by Larry Ewing
Image via Wikipedia

One of the most written and commented articles has to be Linux vs Windows (of course there are competitors like vim vs emacs) but none has been covered so much as Linux vs Windows. So, what am I going to write here which is not covered earlier in so many other posts. Well a little different perspective 🙂

Continue reading

bash debug – log all executed commands

2014-02-03 1 min read Bash
Screenshot of a Bash 3.1 session demonstrating...
Screenshot of a Bash 3.1 session demonstrating its particularities. Shows exporting a variable, alias, type, Bash’s kill, environment variables PS1, BASH_VERSION and SHELLOPTS, redirecting standard output and standard error and history expansion. A POSIX session is launched from a normal session. Finally, the POSIX session kills itself (since just “exit” would be too boring). (Photo credit: Wikipedia)

Whenever I am writing a script in perl or bash, I always wish that there
was some way to have all the commands logged or output to screen. I know
there is “set -x” option to have debugging enabled, but sometimes that
seems to be too much information and I dont really need all that. So, here
is something I found recently for bash to log all the executed commands.

Continue reading

find more information on ext2/3/4 filesystem

2013-09-20 2 min read Linux
English: Ext3 & Ext4 file systems: fsck time v...
English: Ext3 & Ext4 file systems: fsck time vs Inode Count (Photo credit: Wikipedia)

In my previous post on check filesystem regurlarly, I mentioned tune2fs. That tool give quite a lot of information. But just in case, you did not find what you are looking for in the output, then you can get much more information on these partitions with the dumpe2fs command.

Continue reading

Fedora – Ramdisk creation

2013-05-10 1 min read Fedora

In Fedora, ramdisks are not created by default as is the case with RHEL. So, if you need to get Ramdisks on Fedora, then you can do this:

sudo yum install MAKEDEV

This will create some default Ramdisk’s in the “/dev” directory. Now, if you need to change anything then feel free to go to “/etc/makedev.d” and feel free to change these files.

The Fedora Project logo
The Fedora Project logo (Photo credit: Wikipedia)

 

Continue reading

Allow incoming/outgoing ports on iptables

2012-11-27 2 min read Fedora
Schematic for the packet flow paths through Li...
Schematic for the packet flow paths through Linux networking and Xtables (Photo credit: Wikipedia)

Last couple of years, I just used to disable iptables on my system, this time I decided not to disable it and keep it enabled.

So far so good, now comes the tricky part, I have http server enabled on my system and since this is on local network with already firewall and other security in place so I can allow all incoming to my system and similarly I need to enable XDMCP outgoing. So, I can add the rules like this :

Continue reading

Your own local search engine.

2012-04-09 1 min read Fedora Learning Uncategorized

There are times when you would want to have a local search engine capable of indexing even pdf and doc files. So here is a solution.

You can use “Omega” and here are the instructions.

download omega from http:// xapian.org/download

yum install xapian libuuid-devel

And then make and install omega and for this you can follow the instructions.

Federated Search Engine Diagram
Federated Search Engine Diagram (Photo credit: Wikipedia)

Create index using command omindex
and then you can use quest or search.py to search or you can setup the cgi way so that you can use local browser to search.

Continue reading

visio support comes to Linux with loads of new features of LibreOffice.

2012-03-17 1 min read Linux Uncategorized
Microsoft Visio 2010
Image via Wikipedia

LibreOffice 3.5 was released few days back with loads of features and improvements. Most bragged about feature should be capability to read visio diagrams. You can read the full list of features here. And here are some interesting features:

  • Better UI for header/footer handling. Easily add header or footers. Quickly see what is edited with new changing text boundaries. Quickly edit or remove headers and footers without going through page styles formatting. (Cédric Bosdonnat)
  • New faster built-in grammar checker for English and several other languages. (László Németh)
  • New multi-line input bar in Calc. The arrow-control at the end of the toolbar allows to switch this on/off.  (Anurag Jain, Noel Power)
  • Import filter for Microsoft Visio documents. (Fridrich Štrba, Eilidh McAdam, Valek Filippov)
  • Custom Shapes import was greatly enhanced, many bugs were fixed and new presets implementation added. (Radek Doulik)
  • and many more…
Enhanced by Zemanta
Older posts