Bash directories coloring lost in unix when using ls
This might have some to do with the /home/[your-user-name]/.bashrc file.
Check for that file, if it is not existing at all copy it from /etc/skel/.bashrc using
sudo cp /etc/skel/.bashrc /home/[your-user-name]/.
Then do
source /home/[your-user-name]/.bashrc
DO NE!
Apache not executing PHP code – just renders the as it is
[: too many arguments error in bash script
Regular expression for file and directory listing