mv public_html <some_backup_name> mkdir public ln -s public/ public_html First parameter is directory path, second is symlink name ls -la