If you are working on Linux and found that a disk partition is missing or not visible in your Files browser and you want to check if that exists or not.
Apply any of the following command:
sudo fdisk -l
If you want to mount a partition named /dev/sda4 to a folder in somewhere like /home/userasha/backup, then first create a folder named “backup” into /home/userasha location then give following command:
sudo mount /dev/sda4 /home/userasha/backup
Lsof (LiSt Open Files) lists info about open files, by processes, ports currently running on the system.
netstat is not a default command but can be installed using:
sudo apt install net-tools
To List open ports:
Use this utility to block certain IPs or posrts on the system. It comes pre-installed on most Linux OS.
Network traffic monitor. Can be used for monitoring Internet bandwidth. Not a default package but can be installed.
#ubuntu List Block Device | List all drives without RAM disk