Category: linux

  • ssh Useful commands

    ssh Useful commands

    This is my ssh command reference for AWS – linux – ubuntu – apache2 [1] General Commandsmkdir /var/www/website-namemv = rename folder Unzip a fileGo to the location cd /var/www/website-nameThen unzip filename.zipRemove the zip after extractrm filename.zip [2] Give Permission to be able to connect through fileZillasudo chown -R www-data:www-data /var/www/my-websitesudo usermod -a -G www-data your-sftp-usernamesudo…

    Continue Reading