Important Linux Command
Commands, Linux

Important Linux Command

pwd : The pwd command is a command line utility for printing the current working directory. It will print the full system path of the current working directory to standard output. rm command is used to delete the files and directories in Linux. rm stands for remove. Syntax : rm [options] [-r directories] filenames Options : -i : is used…

Continue Reading

Errors

When Composer Cannot Allocate Memory

Error : nmap() failed can no allocate memory. When Composer Cannot Allocate Memory Sollution 1 : Increasing the limit in your php.ini file (ex. /etc/php/7.2/apache2/php.ini) Sollution 2 : Now if you still run out of memory you can enable swap. sudo /bin/dd if=/dev/zero of=/var/swap.1 bs=1M count=1024 sudo /sbin/mkswap /var/swap.1 sudo /sbin/swapon /var/swap.1 The first command may take a few seconds…

Continue Reading

permission commands in linux
Commands, Linux

Permission Commands in Linux

Linux is a multi-user operating system, so it has security to prevent people from accessing each other’s confidential files. For effective security, Linux divides authorization into 2 levels. Ownership 2. Permission Linux File Ownership : Every Linux system have three types of owner. User : A user is the one who created the file. By default, whosoever, creates the file…

Continue Reading

How to use grunt in Magento 2?
Grunt

How to use grunt in Magento 2?

In this tutorial, I will explain how to use grunt in Magento 2. Before starting the installation, Please rename the existing files package.json.sample and Gruntfile.js.sample in your root folder as package.json and Gruntfile.js respectively. Follow the below steps to use grunt in Magento 2 : Step 1 : Install Node.js First, we need to install a stable version of Node.js.…

Continue Reading