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 [...]
Linux
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 [...]
You can create line drawings in Vim editor using the Vim DrawIt! plugin. You can draw flow charts, ER diagrams, or any other diagrams that can be created as line drawing inside a text editor using this plugin. 2 Steps to install drawit.vim Step 1: Download latest version of the plugin from vim.org Download the [...]
Question: I would like to understand the basics of how to write and execute XQuery 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 XQuery program and execute XQuery program on Linux or Unix OS. 1. [...]
This article is part of the on-going Unix Sed Tips and Tricks series. In our previous sed articles we learned — sed printing, sed deletion, sed substitute , sed file write, sed multiple commands, sed multi-line operation, and sed manipulate file lines. In our first part of sed tutorial we learned that sed has two [...]
Kill command is use to send signal to a process or to kill a process. We typically use kill -SIGNAL PID, where you know the PID of the process. There are other ways to effectively kill a process — killing a process by name, killing a process by specifying part of the name, killing a [...]
As you already know, ping command is used to find out whether the peer host/gateway is reachable. If you are thinking ping is such a simple command and why do I need 15 examples, you should read the rest of the article. Ping command provides lot more options than what you might already know. Ping [...]
As part of our on going UNIX sed tutorial series earlier we covered the printing, deletion, substitution, file write, file manipulation commands etc., with the single line in the pattern space. In this article let us review how to do the multi-line operation in Sed. Do you remember the Sed working methodology which we learned [...]