I always prefer keeping my disk optimized by using the above command. I wanted to know whether this is a safe practice. I am using Ubuntu 16.04
34700
The last time I used sudo apt-get autoremove, nearly every important display driver or parts got deleted. This made me very squeamish about using the command again. However, each time I install something or use apt-get update the terminal reads:   The following packages were automatically installed and are no longer required:   devilspie libturbojpeg:i386 libxrandr-ltsr2 language-pack-kde-en   kde-l10n-engb language-pack-kde-en-base libxv1:i386 libllvm3.2   libllvm3.2:i386 linux-generic-lts-raring Use 'apt-get autoremove' to remove them.     I tried the command clean and the messages stops displaying for a while. My question is whether it's safe running the autoremove command, or will I lose everything once again? Is there a way of checking how safe it is to use autoremove in this particular (or any) case?
50093
When I execute the command df -h /tmp it says disk utilization is 100%, but when it try du -sh /tmp it says disk utilization is 2%.  I want to know why these commands shows different output, how these two commands work and what is the solution to this problem.  Context: /tmp is installed on it own file system. I am using Ubuntu 12.04 server edition on my VPS account. Due to this problem utilization of /tmp 100% according to df some programs complain about free space in /tmp.
1322
In order to save disk space, I want to have two OS installations share a single swap partition (a dual-boot). Is this a good idea?
14772
I want to manipulate options like Disk Cache with python:    Any Ideas?
105710
PARTITIONING (e.g. fdisk) What are some useful commands used for partitioning an additional hard drive from the command-line? Since most published guides steer towards GParted and other graphical utilities, a summary of some command-line sequences would be helpful.  TUNING - RESERVED SPACE, WRITE-BACK &amp; ACCESS TIMES How to remove the reserved disk space set aside (by default) in case the drive becomes 100% full.  Since I is a secondary drive simply for 'data', removing the reserved area ensures the whole drive is available for use.  I'm also curious about write-through vs. write-back and skipping the update of access times (on files and directories) so as to improve performance.
17961
I'm looking for a linux alternative to . I would like to know what is taking up space on my hard drives.  A program that works on console and doesn't require a UI is preferred .
99664
Is there a CPU/RAM overhead associated with using loop-mounted images versus using a physical partition under Linux?
45257
When we want to setup a linux system, there is a common a suggestion to set the swap space  twice as big as your physical memory. I want to know why do we need this, and how it is this suggestion come to be?
61525
I am a graduate student of computational chemistry with access to a Linux cluster.  The cluster consists of a very large (25 TB) fileserver, to which several dozen compute nodes are connected.  Each compute node consists of 8 to 24 Intel Xeon cores.  Each compute node also contains a local disk of about 365 TB.  Since the fileserver is routinely accessed by a dozen or so users in the research group, the fileserver is mainly used for long term file storage (it is backed up nightly, whereas the compute nodes' local disks are never backed up).  Thus, the system administrator has instructed us to run simulations on the local disks -- which have faster I/O than the fileserver -- so as to not slow down the fileserver for the other users.  So, I run simulations on the local disks and then, after they are finished, I copy the trajectory files -- I am running molecular dynamics (MD) simulations -- to the fileserver for storage.  Suppose I have a trajectory file called traj.trr in a directory on the local disk of a node, /home/myusername/mysimulation1/traj.trr.  For long term storage, I always copy traj.trr to a directory in the fileserver, ~/mysimulation1/traj.trr, where ~ represents my directory in the fileserver, /export/home/myusername.  After copying it, then I habitually use du -h to verify that /home/myusername/mysimulation1/traj.trr has the same file size as ~/mysimulation1/traj.trr.  This way, I can be at least reasonably sure that the transfer to the fileserver was successful.  For example:  cd /home/myusername/mysimulation1/ cp -v traj.trr ~/mysimulation1/ du /home/myusername/mysimulation1/traj.trr -h du ~/mysimulation1/traj.trr -h   If the two calls to du -h give the same human-readable file size, then I can be reasonably sure that the transfer/copy was successful.  (My typical traj.trr files range in size from about 15 to 20 GB, depending on the exact simulation I have run.)  If I run du (i.e., without the -h switch) on the two traj.trr files, their sizes in bytes are usually very, very similar -- usually within just a few bytes.  I have been using this overall method for the past year and a half, with no problems.   However, recently I have run into the following problem: sometimes du -h reports that the two traj.trr files are different in size by several GB.  Here is an example:  cd /home/myusername/mysimulation1/            # this is the local disk cp -v traj.trr ~/mysimulation1/ du traj.trr -h cd ~/mysimulation1/                           # this is the fileserver du traj.trr -h   The output from the two calls to du -h is as follows, respectively:  20G     traj.trr 28G     traj.trr   I believe that the former (i.e., the traj.trr in the local disk, /home/myusername/mysimulation1/) is the correct file size, since my simulation trajectories are expected to be about 15 to 20 GB each.  But then how could the file on the fileserver actually be larger?  I could see how it could be smaller, if somehow the cp transfer failed.  But I don't see how it could actually be larger.    I get similar output when I execute the same commands as above, but without the -h switch given to du:  20717480        traj.trr 28666688        traj.trr   Can you think of any reason for the difference?    If, by some unlikely chance, du is somehow malfunctioning, I can be okay with that.  But I just really need to make sure that the copy of traj.trr on the fileserver is complete and identical to its source version on the local disk.  I need to delete the local file so that I have enough local disk space to run new simulations, but I can't afford to have the version of traj.trr on the fileserver be corrupted.    The  is a binary format, not text.  Thus, I am not sure if the files can be reliably compared by a program such as diff.
19876
I am in the process of cleaning up my system. And I see a lot of space occupied by this folder /var/cache/apt/archives (1.5GB). Is it absolutely necessary to keep all these archives?
66512
I am doing experiments with few Linux kernels, also I want to keep all the kernels on my system; I don't want then to be removed automatically. how do I achieve that?  (NOTE: I have mounted /boot on separate 4GB partition so space is not an issue)
22647
I am trying to install a fresh version of Ubuntu in my computer without touching the windows 10 dual boot! In the Installation Type, the first option seems exactly what i wanted to do.  My question is, is this feature is safe to use? because i don't want to lose any windows files and other NTFS partitions on the hard-disk. Please eliminate my confusion. Note as that i dont need any files or media which are in the ubuntu partition, Thanks.
23582
I'm considering getting an SSD drive to run as the primary OS partition.  As I understand, this should provide a substantial improvement in performance.     My question is this: Should I leave the swap file on that drive?     The swap partition will be largely random seeks and so should benefit from the speed.  On the other hand, it will be constantly written to which will wear out the drive faster.
9477
What is the command to find out how much disk space is being used/remaining?
83886
In the terminal I used "top" to check the processes and how much of the CPU was being used as I thought max was 100%, so I restored 292,000 photos with recoverjpeg on my sda1 HDD, I opened the folder and the Nautalis is  fluctuating between 130% and 170% , should I close the program and am I at risk of my gpu locking up ?
73562
I want to build a new PC with a smallish SSD.  I'd like to be able to install some of my games onto the drive (those I care about loading quickly or I play frequently), but have the rest of them on a larger, slower drive.  Anybody know if this is possible?  I'm kind of guessing it's not, but figured I'd ask anyway.
10249
I need to make backups of some files on a network share. However, I need to copy those files to my local drive before burning the disks because those files might be in use. Some of the files won't copy because the file path is too long. Is there any workaround other than changing the file structure?