Ubuntu 18.04 – shell commands check for disk space

Ubuntu 18.04 – shell commands check for disk space

df df – report file system disk space usage or in a more readable format du du – estimate file space usage It estimates the size of all the directories on your system only for your home directory If you want only the total size then THE END!!! Ubuntu 18.04 – shell commands mount and umount Ubuntu 18.04 – shell commands list devices and hardware Ubuntu 18.04 – shell commands find Ubuntu 18.04 – shell commands check for disk space

Ubuntu 18.04 – shell commands check for disk space Read More

Ubuntu 18.04 – shell commands mount and umount

Ubuntu 18.04 – shell commands mount and umount

If you want to access a usb storage device, or any other storage, first you need to mount this device to your filesystem. You need to know the name of the device. If you do not know how to do that, read this post. Then you need to create a mount point. Now you can mount the device to the mount point you created before More information about mount here. Now if you want to unmount this device, you must use umount command THE END!!! Ubuntu 18.04 – shell commands…

Ubuntu 18.04 – shell commands mount and umount Read More

Ubuntu 18.04 – shell commands list devices and hardware

Ubuntu 18.04 – shell commands list devices and hardware

If you want to see all the usb devices/drives and disks then you can use the following commands lsblk list block devices fdisk -l fdisk – manipulate disk partition table dmesg dmesg – print or control the kernel ring buffer lspci lspci – list all PCI devices THE END!!! Ubuntu 18.04 – shell commands find Ubuntu 18.04 – shell commands locate Ubuntu 18.04 – shell commands copy, move and delete items (files/directories) Ubuntu 18.04 – shell commands list devices and hardware

Ubuntu 18.04 – shell commands list devices and hardware Read More

Ubuntu 18.04 – shell commands locate

Ubuntu 18.04 – shell commands locate

How to find a file locate command helps you find files by name. If you installed new files or created a new file, locate will not find the files. You need to update the mlocate.db database by using: now you can find the file If you want to count only the times the search exists in the database then add -c parameter: If you do not want all the result but some for example 10, then add -n 10 More information here THE END!!! Ubuntu 18.04 – shell commands copy,…

Ubuntu 18.04 – shell commands locate Read More