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: [...]
January 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 [...]
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, [...]
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. 1. List all Installed Perl Modules from Unix Command Line Get a list of all installed perl [...]
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 [...]
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. Note: Make sure you review [...]
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 [...]
Happy New Year 2010 to all TGS readers. I wish you and your family a happy and prosperous new year. With your tremendous support last year was a big success for the blog. The blog was started in May 2008. Within less than 2 years, the blog has grown to 19,000+ subscribers, and 200,000+ pageviews [...]