≡ Menu

Ramesh Natarajan

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: [...]

{ 3 comments }

Linux 101 Hacks eBook Goes Online – HTML Version

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 [...]

{ 6 comments }

Can You Top This? 15 Practical Linux Top Command Examples

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 [...]

{ 51 comments }

Happy New Year 2010 – From Geek and the Doll

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 [...]

{ 10 comments }

How To Send an Email With Attachment and Body from Linux

Question: How do I send an email with attachment from Linux command-line (or shell script)? Also, can I send both attachment and body text together in an email from Linux command-line? Answer: You can send both attachment and body text (or just the attachment with a subject line) from Linux command line as explained below. [...]

{ 28 comments }

The Beginner’s Guide to The Geek Stuff – A Guided Tour

We’ve published quite a few high quality articles on UNIX/Linux and open source since this blog was started on May 2008. This post is a quick reference guide to all the popular posts in this blog. You might want to go through all these posts in detail by trying out the commands and software mentioned [...]

{ 4 comments }

Question: I would like to understand the basics of how to write and execute Lua program on Linux OS. Can you explain it with a simple example? Answer: In this article, let us review very quickly how to write a basic Hello World Lua program and execute lua program on Linux or Unix OS. 1. [...]

{ 0 comments }

How To Change Password On Ubuntu

Question: How do I change password for my account and other user accounts on Ubuntu Linux OS? Answer: On Ubuntu, you can change password from either GUI or command line as explained below. 1. Ubuntu Change Password from GUI Launch Change Password Window by clicking on “System -> Preferences -> About Me”, which will display [...]

{ 25 comments }