ZSH not recognizing my aliases?

if you do a very simple alias in zsh, does it work? open your .zshrc file, and add the following line: alias ls=”ls -GpF” after adding that line, type this line in your Terminal: source ~/.zshrc tell us what happens. Also, just for shiggles, make sure you are using single quotes vs. double quotes, I … Read more

What is /bin/sh -c?

From the man-page of bash: -c string If the -c option is present, then commands are read from string. If there are arguments after the string, they are assigned to the positional parameters, starting with $0. Example: $ bash -c ls will launch bash and execute the command ls. /bin/sh is usually a symlink to … Read more

How does Ctrl-C terminate a child process?

Signals by default are handled by the kernel. Old Unix systems had 15 signals; now they have more. You can check </usr/include/signal.h> (or kill -l). CTRL+C is the signal with name SIGINT. The default action for handling each signal is defined in the kernel too, and usually it terminates the process that received the signal. … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)