by Ramesh Natarajan
on January 15, 2010
Question: How do I disable mysql history? I don’t want mysql to remember the previous commands that I typed from the mysql> prompt. This is important for me, as when I type some sql commands that contains passwords, I see the clear text password stored in the ~/.mysql_history, which I don’t want to happen.
Answer: Bash history feature stores the Unix commands typed in the command line in the ~/.bash_history file. Similar to bash shell, mysql stores the commands typed in the mysql> prompt in the ~/.mysql_history file.
In this article, let us review how to disable mysql history.
[continue reading…]
by Ramesh Natarajan
on January 14, 2010
I’m happy to announce that my free eBook, Linux 101 Hacks is now available for online browsing in HTML format. I’ve also updated the book with the following minor changes.
- Added “Chapter 13. Bonus Hacks” with 10 additional hacks. I’ll be adding more Linux hacks to this chapter in the upcoming editions.
- Made few minor changes on some of the existing hacks based on readers feedback from the 1st edition.
[continue reading…]
by Bill Duncan, VE3IED
on January 13, 2010

Photo Courtesy: jimray
We have seen in a previous awk introduction article that awk can be an effective tool for everything from small one-liners up through some interesting applications. There are certainly more complex languages at our disposal if a situation calls for it; perl and python come to mind. Applications requiring networking support, database access, user interfaces, binary data or more extensive library support and complexity are best left to other languages with better support in these areas.
[continue reading…]
by S.K. Ganeshwari
on January 11, 2010
If you are a Linux sysadmin who writes occasional perl code (or) a developer who wants to learn perl program language, these 20 basic perl programming tips and tricks explained in this article will give you a jumpstart.
[continue reading…]
by Leonardo Sanchez
on January 8, 2010
The debootstrap utility installs a very minimal Debian system. debootstrap tool will install debian-based Linux OS into a sub-directory. You don’t need an installation CD for this purpose. However, you need to have access to the corresponding Linux distribution repository (for e.g. Debian or Ubuntu).
For the purposes of this article we will discuss how to install Ubuntu using debootstrap.
[continue reading…]
by Sasikala
on January 6, 2010
This is the first article on the new awk tutorial series. We’ll be posting several articles on awk in the upcoming weeks that will cover all features of awk with practical examples.
In this article, let us review the fundamental awk working methodology along with 7 practical awk print examples.
[continue reading…]
by Ramesh Natarajan
on January 4, 2010
This article is part of the on-going 15 example series where 15 examples will be provided for a specific command or functionality. In this series, earlier we discussed about find command, crontab examples, grep command, history command, ping command, and wget examples.
In this article, let us review 15 examples for Linux top command that will be helpful for both newbies and experts.
[continue reading…]
by Ramesh Natarajan
on January 1, 2010