Command to list information about files.

learn more… | top users | synonyms

1
vote
3answers
703 views

Cannot remove or list directory (ls or rm) Linux - Debian

I have a log file directory at /var/log/apache2/vhosts on a Debian dedicated server. Every day I split the main access_log into respective vhostname.com_access_log files in /var/log/apache2/vhosts In ...
0
votes
2answers
48 views

How can I get ls to print output as it goes along?

It seems that under most situations ls will read the whole directory before producing any output - typically because it needs to sort or columnise the output. Normally this is fine but when reading a ...
0
votes
1answer
66 views

Correctly predicting the amount of disk usage with find/ls/stat and df?

I'm trying to programatically calculate the number of files that can fit on a drive. The drive uses LUKS/ext4 and has a block size of 4096. Below is a df printout of the drive. Filesystem ...
1
vote
0answers
214 views

Why does a file on an NFS mount seem to cache randomly, but no longer be cached when running `ls`?

Here's the mount configuration of an NFS mount, we'll call it server2, gotten from running cat /etc/mtab: <ip1>:/mnt/fs101 /mnt/fs101 nfs ...
0
votes
0answers
21 views

Clarifying what modifies atime and the impact the find command might have

So on a regular basis I clear out files from my server which have an atime +160 with a command such as: (technically to delete old files but avoid any file that might have been accessed recently) ...