≡ Menu

FAQ

Shell Script Execution Guidelines for Newbies

Question: What are the basic fundamental things I should know to execute a shell script? Also, when I execute my shell script I get “Permission denied” error message. How do I fix it? Answer: Let us review the 4 basic fundamental things you should know about executing a shell script. 1. Locate the shell executable [...]

{ 7 comments }

Question: How do I add shutdown / Reboot functionality to the fluxbox window manager? Can you explain to me with clear examples? Answer: In our previous article we gave an introduction to the fluxbox. In this article, let us review how to add shutdown or reboot functionality to fluxbox. Adding Shutdown / Reboot Functionality to [...]

{ 3 comments }

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 }

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 }

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 }

How To Install and Configure Vi / Vim Editor on Windows OS

Question: On UNIX / Linux platform, I’ve used Vi or Vim editors and I’m very comfortable with it. I would like to use Vim editor on Windows OS also. How do I install and configure Vim editor for Windows platform ( Windows XP, Vista or Windows 7 )? Answer: Follow the steps mentioned below to [...]

{ 12 comments }

Question: I would like to understand the basics of how to write and execute Lisp 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 Lisp program and execute Lisp program on Linux or Unix OS. 1. [...]

{ 2 comments }