- Details
- Written by: Stanko Milosev
- Category: Ubuntu
- Hits: 14
free -h | awk 'NR==2{printf "\033[36mRAM\033[0m | \033[32m%s\033[0m Total | \033[31m%s\033[0m Used | \033[32m%s\033[0m Free | \033[33m%s\033[0m Avail\n",$2,$3,$4,$7}'
- Details
- Written by: Stanko Milosev
- Category: Ubuntu
- Hits: 16
sudo passwd root
sudo adduser usernameIf you want the user to be able to run administrative commands:
sudo usermod -aG sudo usernameDelete user
sudo deluser username
sudo deluser --remove-home username
- Details
- Written by: Stanko Milosev
- Category: Ubuntu
- Hits: 25
ssh username@ip-addresI receive error like:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the ED25519 key sent by the remote host isThen do
ssh-keygen -R ip-addres