Linux: how to kill process listening to the port
To list any process listening to the port 9000 $lsof -i:9000 To kill any process listening to the port 9000 $kill -9 $(lsof -t -i:9000)
To list any process listening to the port 9000 $lsof -i:9000 To kill any process listening to the port 9000 $kill -9 $(lsof -t -i:9000)
Check RAM $free -m Check CPU $lscpu List hardware $lshw Hardware Information $hwinfo List PCI $lspci List scsi devices $lsscsi List usb buses $lsusb List block devices $lsblk Disk space of file systems $df View mounted file systems $mount
tr -s ‘ ‘
sed -e ‘s/^[ \t]*//’
$lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.5 LTS Release: 12.04 Codename: precise
find . -type f -print0 | xargs -r0 sed -i -e ‘s/http:\/^C/\/\//g’ find . -type f -print0 | xargs -r0 sed -i -e ‘s/HTTP:\/\//\/\//g’
https://blog.mutsuda.com/raspberry-pi-into-an-audio-spying-device-7a56e7a9090e
[ec2-user@ip-172-31-21-110 ~]$ df -h Filesystem Size Used Avail Use% Mounted on /dev/xvda1 7.8G 7.7G 48M 100% / devtmpfs 993M 56K 992M 1% /dev tmpfs 1001M 0 1001M 0% /dev/shm [ec2-user@ip-172-31-21-110 ~]$ sudo resize2fs /dev/xvda1 resize2fs 1.42.12 (29-Aug-2014) Filesystem at /dev/xvda1 is mounted on /; on-line resizing required old_desc_blocks = 1, new_desc_blocks = 1 The filesystem…
nmap -sS -O -p 80 192.168.1.0/24
sudo vi /etc/sysconfig/jenkins set following configuration with any available port JENKINS_PORT=”8081“