The bash shell in macos Catalina has been demoted to the subs bench with the newer zsh shell is now the default shell in use by the new operating system. Also known as the Z shell, it has been around a while, since 1990 (bash was 1988), it is still a Unix based shell and …
Read More
Make an Alias in Bash or Zsh Shell in macOS, OS X Terminal
To make aliases of macOS Unix commands in your bash or zsh shell on macOS and earlier versions, it is done via your .bash_profile or .zshrc file which lives in your home account directory, if the file does not already exist, just create one. As of macOS 10.6 Catalina, Apple has made the zsh shell the default …
Read More
Restart, Start, Stop MySQL from the Command Line macOS, OSX, Linux
To restart, start or stop MySQL server from the command line, type the following at the shell prompt… On Linux start/stop/restart from the command line: /etc/init.d/mysqld start /etc/init.d/mysqld stop /etc/init.d/mysqld restart Some Linux flavors offer the service command too service mysqld start service mysqld stop service mysqld restart or service mysql start service mysql stop …
Read More
Connecting SSH with no Passwords from Local to Live Domain
This guide is about setting up a SSH connection without passwords from a local development environment to a live domain site, the requirements are that you have SSH access to the live domain. Setting up SSH folder on a Remote Domain SSH into the domain as the domain owner. By default some hosting providers do not set …
Read More
Script an FTP connection to login and download your cPanel backup
To create a script that can automatically log in to your website and download a cPanel backup, a couple of things need to be done on the OS X client computer. Its worth remembering that a backup on a website still really needs a copy off it. First, if you need to, see an earlier …
Read More