Showing posts with label macOS. Show all posts
Showing posts with label macOS. Show all posts

Sunday, May 2, 2021

How to find the executable path of a php,mysql program? - Try which and whereis

You may want to find out where the executable is installed or is being executed from

which php

/usr/php


which mysql

/usr/local/mysql/bin/mysql

 

Alternative command for the same results as above.

whereis php

whereis mysql

Friday, April 16, 2021

How to increase the font size of MacOS terminal?

Open a command Terminal. 

Use command + command - to increase or decrease the font size

How to list directories in linux macOS

The following are few of the different ways to list the directories in linux
  1. find * -maxdepth 0 -type d
  2. ls -al | grep '^d'