In the manual for Gnu "ls," I see this:
--author
with -l, print the author of each file
Does anybody know what the “author” of a file means in this context?
This is (maybe?) not the file's owner, which is listed already with -l … or is…
For a certain directory DIR on my system, the ls --color=always takes about 8 seconds, although it contains less than 10 files and subdirectories. Without the color argument it takes no time.
Why would ls take so long with the color argument, and…
Lets say we have a default formatted ext3 filesystem, I run under the assumption that folders take 4K of space on the disk.
But, what does it mean when a folder is bigger than 4K?
Here is a pic of one such folder:…
I am having trouble with running out of diskspace of one of my clients servers.
The output of the commands ls -lah in /var/lib/mysql shows:
drwx------ 2 mysql mysql 16K Dec 30 2015 database_xyz
But when I check the filesize in the same catalogue…
On Ubuntu 13.04 running in EC2, all commands through sudo work fine except ls. Here are some example commands to illustrate the issue:
ubuntu at host in ~
$ sudo ls
sudo: command: command not found
ubuntu at host in ~
1 $ sudo which…
How to list files that don't match a glob?
E.g., let's say I have a directory that contains hundreds of files, 97% of which have the filename extension .png.
I know I can list the PNG files with:
ls *.png
But, how do I list the opposite, i.e., just…
I can no longer open the tabs.html and tabs.js files indicated in the output below (2nd and 3rd out of four). Using cygwin I applied a patch to them.
I believe the clue is in the ls -l output. Specifically, unlike the other files, at the end of…
Here is the ls -l after I did rm -f inside the cur and new directories.
I expected the directory "sizes" to shrink back to the default "4096".
[root@example Maildir]# pwd
/var/qmail/mailnames/example.com/noreply/Maildir
[root@example Maildir]# ls…
I am trying to copy, recursively, the content of a directory to another using:
cp -Rv source_dir/* dest_dir/
It seems that everything work ok but when I list that directory with ls -l the change data it is not updated to the current time. So, how…
I have a very strange problem when I log into a remote machine using ssh. Here's the scenario:
I log into a remote machine using ssh (this machine in not in the local lan)
I do ls (it works)
I do ls -a (it works)
I do ls -l (it works)
I do ls -al…
I want to do something like this
du -a | sort -rn | head
But I want to extract files only, ignoring directories.
To be clear, I want to traverse through all sub-directories but I don't want to find directory sizes. Just files sizes.
UPDATE
I also…
I have a directory (my_dir) which has 20 sub directories. Every time I run 'ls' or try to autocomplete a file name in this directory my IO usage goes to 100% and it takes very long time (10 mins) to list 20 sub directories.
Here is some background…
Suppose I am extracting a huge file or slowly building up a huge file. Is there a way to have ls -lh "on" much like tail -f, so that I can constantly see the size of the file grow until I decide to terminate it?
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 the last week or so I have noticed the server has…