-
Notifications
You must be signed in to change notification settings - Fork 0
Admin Linux Basics
Alex Thomas edited this page Oct 16, 2022
·
5 revisions
Useful commands for operating and maintaining a linux system:
Creates a new SETI member with an annex drive. If password is not chosen, a secure password is automatically generated.
sudo ~/home/alex/scripts/make_user [username] (password)
Checks file size usage in current directory. This is most useful in /home
to determine who downloaded hundreds of gigs of fits to their desktop without realizing.
sudo du -d 1 -h | sort -rn
Mounts our annex hard drive to store large quantities of data.
sudo mount /dev/sdb1 /mnt/annex
Restarting SSH for X2go issues.
sudo systemctl restart ssh.service
sudo systemctl restart sshd.service