Comment on [deleted]
Clarke311@lemmy.world 1 year agoBecause if you have literally zero by its left on the disc for the OS to write to then you do not have enough space to run RM as it will try to list all the files in a directory before it deletes them one by one. This is the fuck you I’m shredding it command. You could just do find and then delete but that would be very dangerous My command allows you to exclude whatever file type you put in as the string
A string is a data type used in programming, that is used to represent text rather than numbers. A string is a sequence of characters and can contain letters, numbers, symbols and even spaces. It must be enclosed in quotation marks for it to be recognized as a string.
mo_ztt@lemmy.world 1 year ago
I know what a string is.
Have you ever actually seen this happen? I have filled many discs, and the answer has always been to
rm
something, and I literally have not once seen or heard ofrm
not working because the disc is full. The system calls withinrm
that list files in the directory do not consume disc space.Clarke311@lemmy.world 1 year ago
I have seen this quite a few times on Centos on virtualized systems.
mo_ztt@lemmy.world 1 year ago
What error message did
rm
give you?Clarke311@lemmy.world 1 year ago
Something about no space available on disc I don’t know I haven’t seen that in months I was bored I was going through my notes and I found that one liner