Linux Commands
sudo - Super User DO
su - change user
chgrp - change Gourp
chown - change Owner
chmod - change permissions

  • rwx = 111 in binary = 7
  • rw- = 110 in binary = 6
  • r-x = 101 in binary = 5
  • r– = 100 in binary = 4
  • w– = 010 in binary = 2
  • x– = 001 in binary = 1

Tar Balls
tar -xzvf filename - unzip
tar -cvf files /location
Other
echo “Some String” | md5sum
apt update - updates linux
sudo passwd root - Enables disabled root account
sudo passwd -l root - Disables root account
passwd - Change password
Emacs Commands

Wireless Setup

Logwatch is a tool that will monitor your server's logs and email the administrator a digest on a daily basis.

$ sudo apt-get update
$ sudo apt-get install logwatch

For Ubuntu systems with apache server:
edit /usr/share/logwatch/dist.conf/logfiles/http.conf
See Here

Update

Where I found it

sudo service minecraft@survival stop
sudo wget -O /opt/minecraft/survival/minecraft_server.jar <link location>
sudo service minecraft@survival start
  • Last modified: 2020/12/04 21:38
  • by garrett