ls -l reports the number of blocks allocated to the directory.

On Mon, Oct 30, 2023 at 9:54 AM Rich Shepard <[email protected]>
wrote:

> On Mon, 30 Oct 2023, Bill Barry wrote:
>
> > get the inode number from the first field returned by
> > ls -li
> > then delete based on that inode number
> > find . -inum 123488  -delete
>
> Bill,
>
> # ls -li
> total 12
> 4248357 -rwxrwxrwx 1 root root 11640 Oct 29 07:45
> 8a203b79706a7fd3dcbeb5c173e4e8-134?648.o*
>
> Why 12? There's only one non-hidden file there.
>
> # find . -inum 4248357 -delete
> find: cannot delete `./8a203b79706a7fd3dcbeb5c173e4e8-134\021648.o': No
> such file or directory
>
> Notice the `?' has been replaced by the octal \021.
>
> Thanks for the suggestion.
>
> Regards,
>
> Rich
>

Reply via email to