≡ Menu

Perl

How do I run "foo" command 10 times (or n times) under Linux or UNIX like operating systems?
[click to continue…]

I've over 1000's of files starting with _ character as follows:

_file1.txt
_foo1.txt
_2424.txt
_bar10000.txt

How do I remove the first character from a file name:

file1.txt
foo1.txt
2424.txt
bar10000.txt

[click to continue…]

How do I install PostgresSQL interface for perl for programming purpose under Redhat / RHEL / Fedora / CentOS Linux?
[click to continue…]

How do I convert Epoch seconds to the current time under UNIX or Linux operating systems?
[click to continue…]

MySQL: Find Out Which Table is Consuming Resources

Q. How do I find out which table is consuming resources under MySQL Database server from UNIX shell prompt?
[click to continue…]

How do I Be More Productive In Vim?

This is a user contributed FAQ.

Q. I'm just starting in vim text editor but I'm annoying typing and retyping similar statements. Can you address me about it?
[click to continue…]

Linux / UNIX Display Lines Common in Two Files

Q. I'm trying to use diff command, but it is not working. I'd like to display those lines that are common to file1 and file2? How do I do it?
[click to continue…]