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. [...]
2009
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 [...]
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. [...]
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 [...]
This article is part of the on-going Unix Sed Tips and Tricks series. Like any other programming language, sed also provides special branching commands to control the flow of the program. In this article, let us review following two types of Sed branching. Sed Unconditional Branch Sed Conditional Branch Sed Unconditional Branch Syntax: $ sed [...]
Sharing what I’ve learned with others is the main reason why I started this blog. Sharing my knowledge with others also helps me to dig deep into a topic and expand my knowledge. I’ve been working on some flavor of Unix since 1994 and I’m still learning. There are so many things to learn in [...]
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 [...]
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. [...]