How to setup composer properly in your Ubuntu

In order to install composer in your machine, you need to download it. move your current directory to /home/<username> If you already have .composer directory just removed it and uninstall all previous version. Then download the composer setup: php -r “copy(‘https://getcomposer.org/installer&#8217;, ‘composer-setup.php’);” php -r “if (hash_file(‘sha384’, ‘composer-setup.php’) === ’93b54496392c062774670ac18b134c3b3a95e5a5e5c8f1a9f115f203b75bf9a129d5daa8ba6a13e2cc8a1da0806388a8′) { echo ‘Installer verified’; } else…

Make available to autocomplete suggestions in your terminal

Again and again typing the same things in the terminal is the worst things. After a long search, I found a simple solution to enable autocomplete options on the terminal. Normally, Linux bash use readline for its auto-completions, add the following line to enable auto-completions on your terminal. **** Caution **** The following change file…

An A-Z Index of the Bash command line for Linux.

alias Create an alias • apropos Search Help manual pages (man -k) apt-get Search for and install software packages (Debian/Ubuntu) aptitude Search for and install software packages (Debian/Ubuntu) aspell Spell Checker awk Find and Replace text, database sort/validate/indexb basename Strip directory and suffix from filenames bash GNU Bourne-Again SHell bc Arbitrary precision calculator language bg…