I have a Linux box running as a router/firewall/Xeams firewall. It has 146GB drive. Up until about 2 weeks ago about 20GB was being used consistently. All of the sudden the hard drive is getting full. Xeams told me to run du -h . in the directory where Xeams is installed. I do not see anything that is unusually large.
Learn several ways to interact with files and get file information from the bash shell.
ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands.
Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.: