Shell Scripting – Checking Conditions with if

Posted by & filed under .

In Bourne Shell if statement checks whether a condition is true or not. If so , the shell executes the block of code associated with the if statement. If the statement is not true , the shell jumps beyond the end of the if statement block & Continues on. Syntax of if Statement : if […]

Screen-after-login

SUSE Linux – Zypper Command Examples

Posted by & filed under .

Zypper is command line interface in SuSE Linux which is used to¬† install, update, remove software, manage repositories, perform various queries, and lot more. In this article we will discuss different examples of zypper command . Syntax : # zypper [--global-opts] <command> [--command-opts] [command-arguments] The components mentioned in brackets are not required. The simplest way […]

mariadb

How to Install MariaDB in Ubuntu 14.04 LTS

Posted by & filed under .

MariaDB is an Open Source database Server & It is 100 % compatible¬† with MySQL, drop-in replacement to MySQL database server. Background of MariaDB : In 2008, MySQL was acquired by Sun Microsystems, which was in turn acquired by Oracle Corporation in 2010. While the initial acquisition by Sun was hailed by many in the […]

17 Squid Proxy Server Interview Questions & Answers

Posted by & filed under .

Q:1 What is Proxy Server and why it is used ? Ans: A proxy server provides Internet access to different users at same time i.e by sharing a single Internet connection. A good proxy server also provides for caching of the requests, which helps to access data from local resources rather fetching the data from […]

wget-resume-download
aside

Linux/UNIX wget command with practical examples

Posted by & filed under .

wget is a Linux/UNIX command line file downloader.Wget is a free utility for non-interactive download of files from the Web. It supports HTTP, HTTPS, and FTP protocols, as well as retrieval through HTTP proxies.Wget is non-interactive, meaning that it can work in the background, while the user is not logged on. In this post we […]

ifconfig-command-in-editor

How to run Unix Commands in vi/vim editor

Posted by & filed under .

There are some scenarios where unix admin wants to run unix commands and insert the output of unix command in vi editor without leaving it. This can be possible using below steps : :!UNIX_command Example : Run the ifconfig command within the /etc/hosts file. linuxtechi@mail:~$ sudo vi /etc/hosts Insert UNIX Command Ouptut in vi editor […]

xarg

Linux/UNIX xargs command examples

Posted by & filed under .

xargs is a command in UNIX like System that reads items from the standard input, delimited by blanks (which can be protected with double or single quotes or a backslash) or newlines, and executes the command (default is /bin/echo) one or more times with any initial-arguments followed by items read from standard input. Blank lines […]

Interview-Questions

20 Linux Virtualization Interview Questions & Answers

Posted by & filed under .

Q:1 What is Virtualization ? Ans: Virtualization is a technique for creating virtual resources (rather than the actual) such as server, storage device, network  and Operating system. Virtualization is dis-associating the tight bond between software and hardware. Q:2 What are the different types of  Virtualization ? Ans: Virtualization can be used in different ways  and  […]