Tag Info

Hot answers tagged

3

What you have is a free fall sensor, (accelerometer) whether it is failing, or giving erroneous data, I'm not sure. I recomend you black list the free fall sensor, and depending on how critical your hard disk drive space is, delete or clear the syslog file as well. sudo > /var/adm/sylog I am suspicious that there is another issue as well, that logs ...


2

Using the df command to keep track of the disk space, and the lsblk command to keep track of the mounted drives, the script below, run in the background, will log changes in the free space of all mounted drives. It creates a log file: ~/disklog where it writes changes to (in k). If you run it in the terminal, it will output the result simultaneously. The ...


2

You can try this bash script: #!/bin/bash all_files=( $(dpkg -L "$1") ) for file in "${all_files[@]}"; do [ -f "$file" ] && du -h "$file" done Pass the name of the package as first argument e.g. bash script.sh nano. dpkg -L package will list all the files installed by package, we have saved the list as an array. It will include the parent ...


1

Could not resist expanding a bit, completely based on heemayl's concept, to make a script with two options: Only output the (total) size of an installed package (but without its dependencies, since dependencies are practically always shared, so which package should have it on its "account"?) an example: $ check_size gimp 6644.1K or: ...


1

Move /home, /var and/or /usr folder to external drive To free up some space, you can move your /home, /var and/or /usr folder to your 1TB drive: Boot into an Ubuntu live CD/USB Shrink the other partitions on the 1TB disk to make space for the new partitions Make new partitions for /home, /var and/or /usr, depending on your preference. They should be of ...



Only top voted, non community-wiki answers of a minimum length are eligible