What is Swap in Linux and Useful Commands to work with Swap Space in Linux?

What is Swap in Linux?Swap is a space on a disk that is used when the amount of physical RAM memory is full. When a Linux system runs out of…

Read more »

5 ways to split your Linux terminal multiplexer

Tmux GNU Screen Konsole Emacs Tilix Terminator Shells, terminals, and consoles The short version: A shell is an input and output screen with a prompt. There’s technically a shell running…

Read more »

Linux command Error- nohup:ignoring input and appending output to ‘nohup.out’

Error : When i am running below command to run start-seodaily-queue.sh file in background showing above error so let’s see how we can solve this error very easily. Command :…

Read more »

Install Jenkins on Ubuntu

In this tutorial we are going to install Jenkins on Ubuntu operating system. Ubuntu is another debian based operating system – open sourced and highly loved by developer community. If…

Read more »

Ubuntu or Linux Error: Unable to access XAMPP MySQL from /opt/lampp/bin/mysql

Here’s the complete article on the solution with baby steps:How to link php from XAMPP installation to use php command from user or any other directory in Ubuntu or Linux

Read more »

How to link MySQL from XAMPP (/opt/lampp/bin) to use mysql command from any directory in Ubuntu or Linux

Assumption: I assume that you have already installed XAMPP in your Ubuntu OR Linux machine.If not, then you may follow this link to do so: https://www.devopsschool.com/blog/installing-xampp-7-4-xxx-on-ubuntu/ and https://www.devopsschool.com/blog/how-to-link-php-from-xampp-installation-to-use-php-command-from-user-or-any-other-directory-in-ubuntu-or-linux/ NOTE: I also…

Read more »

Ubuntu or Linux error: Error: EACCES: permission denied, mkdir ‘/opt/lampp/htdocs/node_modules/node-sass/vendor’

How I got this error:I got this error while running command: npm install in one of my project directory located at /opt/lamoo/htdocs What was the Error: root@ip-ip-address:/opt/lampp/htdocs/[projectName]# npm install ]…

Read more »

How to install latest version of nodejs in Ubuntu or Linux

Steps:1. Login to Ubuntu or Linux machine using ssh client like putty 2. Run command: sudo -s3. Run command: sudo apt-get install curl4. Run command: curl -sL https://deb.nodesource.com/setup_12.x | sudo…

Read more »

How to setup SSH keys on Ubuntu/ Linux

Introduction:If you want to clone a repository from gitlab, github or bitbucket in your Ubuntu machine then you may need to setup SSH Keys in ubuntu and add that key…

Read more »

How to install composer in Ubuntu or Linux machine

To install Composer on your Ubuntu or Linux system, perform the following steps: 1. Check if you have PHP installed and configured properly. If not then please follow this arcticle…

Read more »

How to link php from XAMPP installation to use php command from user or any other directory in Ubuntu or Linux

Assumption:I assume that you have already installed XAMPP in your Ubuntu OR Linux machine.If not, then you may follow this link to do so: https://www.devopsschool.com/blog/installing-xampp-7-4-xxx-on-ubuntu/ How I got the error:After…

Read more »

npm error on Linux: Node Sass could not find a binding for your current environment: Linux 64-bit with Node.js 12.x

Environment:Linux 64-bitLaravel 5.5Node.js 12.x How I got this error:I made some changes in one of the js file of my project. Hence, I needed to rebuild the JS part of…

Read more »

Complete Reference of Debugging WordPress website in Linux in shared hosting

Any wordpress issues and problem may be caused by a variety of issues, including: Bad theme Bad plugin Bad install/upgrade you exhausted the memory limit It could also mean that…

Read more »

Ubuntu, Linux, Unix vi error: swap file .swp already exists

Command that gave me error:vi .env or vi <any file name that starts with a “.” that means it’s a hidden file> Error: Swap file .env.swp already existsor Swap file…

Read more »

Linux Interview Questions and Answer – Part 11

It is common for source packages to be downloaded to which directory? /src /usr/src (Ans) /home /usr/bin Using lsof which character is used to filter by host # = @…

Read more »

Linux Interview Questions and Answer – Part 10

How can we use lsof to display open ports? lsof -i lsof -w lsof -u sudo lsof -i (Ans) On SUSE which file stores the static hostname /etc/hosts /eyc/hostname /etc/HOSTNAME…

Read more »

List of Free Tools for Tabbed Multiple Linux SSH / Putty sessions

PuTTY Connection Manager PuTTY Connection Manager was mentioned in the 12 PuTTY add-ons. One of the major missing features in PuTTY is the ability to display multiple sessions in Tabs…

Read more »

Linux Interview Questions and Answer – Part 9

What is a tunnel and how you can bypass a http proxy? What is the difference between IDS and IPS? What shortcuts do you use on a regular basis? What…

Read more »

Linux Interview Questions and Answer – Part 8

What do the following commands do and how would you use them? tee awk tr cut tac curl wget watch head tail less cat touch sar netstat tcpdump lsof What…

Read more »

Linux Interview Questions and Answer – Part 7

What is the name and the UID of the administrator user? How to list all files, including hidden ones, in a directory? What is the Unix/Linux command to remove a…

Read more »