w
: show who is logged on and what they are doingwho
: show who is logged ontty
: show current users pseudo terminalps -ft pts/1
: get process id for the pseudo terminalpkill
: signal process based on name and other attributes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#from : | |
#https://gist.github.com/deviantony/2b5078fe1675a5fedabf1de3d1f2652a | |
#https://gist.github.com/tancou/adbdacd1aa1d3afc68c2d877c6ef353c | |
apt update -y | |
apt install curl -y | |
apt install qemu-guest-agent -y |