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 »

Linux Tutorials: 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: WordPress Debugging & Troubleshooting Guide

Any wordpress issues and problem may be caused by a variety of issues, including: Part – 1- Enable debugging mode in WordPress, follow the steps: Edit wp-config.php and add following…

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 »

SysOps Interview Questions and Answer – Part 1

What is your favorite editor? What is RAID? What is RAID0, RAID1, RAID5, RAID10? Describe the general file system hierarchy of a Linux system. Describe what each of the following…

Read more »

Linux Interview Questions and Answer – Part 6

script/command to delete last word from every line in a file 2.script/command to find the files with more than 1gb size What is Swap Space? What is the maximum length…

Read more »

Linux Interview Questions and Answer – Part 5

How to check the logs? Difference between Journalctl & tail command? What does the subscription-manager do? How to archive a file? What is umask? How to kill a process? How…

Read more »

Linux Interview Questions and Answer – Part 4

What is MAC address? can we change the physical address? How to check system uptime? How to check memory information? What is SWAP? What is the exact memory free in…

Read more »

Linux Interview Questions and Answer – Part 3

What is SetGID, SetUID & Stickybit? Location where all the user information are stored? File where user password are stored? What is the default permission of a file? What is…

Read more »

Linux Interview Questions and Answer – Part 2

What is Linux? What are Linux OS Flavors? Difference between Debian & RPM based OS? What is Kernel? Explain the boot process of Linux OS? How is RHEL different from…

Read more »