We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The following is a list of helpful linux commands for anyone with root access to the server.
misc
cat /etc/passwd
cat /etc/group
apt autoremove
su - csss-site
sudo systemctl start reboot.target
systemd
systemctl status csss-site
systemctl restart csss-site
systemctl --type=service --state=running
journalctl
systemctl restart nginx
deploy the backend manually
ssh root@api.sfucsss.org su - csss-site ./csss-site-backend/deploy.sh
postgres
\du
\list
\c db
\dt
\dt+
\d table
\d+ table
\q
psql table_name -h localhost -p port -U username
docker
docker ps -a
docker start container-name
docker exec -it container-name bash
alembic
alembic upgrade head
alembic downgrade -1
alembic show head