gzip < source_file > compressed_file.gz
Source:
https://unix.stackexchange.com/questions/46786/how-to-tell-gzip-to-keep-original-file
gzip < source_file > compressed_file.gz
Source:
https://unix.stackexchange.com/questions/46786/how-to-tell-gzip-to-keep-original-file
Ubuntu 18.04 default lvm layout comes with only a 4 GB root partition. Here we will extend it to occupy the full free space in the volume group:
sudo lvextend -l 100%FREE --resizefs /dev/ubuntu-vg/ubuntu-lv
That’s it, Enjoy!
Sources:
sudo apt install arp-scan
sudo arp-scan -l --interface=wlp2s0
Replace wlp2s0 with your NIC’s name, works for both wireless and wired
Source:
https://askubuntu.com/questions/82480/how-to-see-all-computers-connected-to-a-network
sudo ls /sys/class/net
Source: https://askubuntu.com/questions/296152/how-to-check-what-is-my-network-card-on-ubuntu
sudo apt install xmlstarlet
xmlstarlet val XML_FILE.xml