df -h
du -hs /path/to/dir
du -h | sort -h
su root
nano /etc/sudoers
Then add the user below admin user like below syntax.
{YOUR_USERNAME} ALL=(ALL) ALL
sudo visudo
In the bottom of the file, add the following line:
$USER ALL=(ALL) NOPASSWD: ALL
sudo lsof -i :8000
kubectl create job --from=cronjob/<cronjob-name> <job-name-to-be-created> -n <namespace-name>
select max_conn, used, res_for_super,((max_conn - res_for_super)-used) as res_for_normal
from
(select count(*) used from pg_stat_activity) t1,
(select setting::int res_for_super from pg_settings
where name='superuser_reserved_connections') t2,
(select setting::int max_conn from pg_settings where name='max_connections') t3
https://codetryout.com/vbox-guest-additions-ubuntu-22/
https://kentwest.neocities.org/westk/librnnoise
export $(cat .env | xargs) && python main.py