I am having a difficult time grasping what is the correct way to read the size of the files since each command gives you varying results. I also came across a post at…
I'm using zfs on my FreeBSD 9.0 x64 and pretty happy with it, but I find it hard to count directory real, not compressed, size.
Surely I can walk over the directory and count every file size with ls, but I'd expect some extra key for du for that…
I had a file on an XFS filesystem which size was about 200 GB. It was a QCOW2 image containing a virtual disk of a KVM-driven virtual machine. Something went wrong (maybe it was some glitch of qemu-kvm, I'm not sure), the virtual machine had crashed…
We have scripts looking at the output of ls -l output for permission information that have been failing recently on RHEL v6 systems which appear to be showing an extra . at the end of the permission entry that didn't used to be there…
I use putty with a black background and was wondering if there was or is a way to change the colors of the dirs which are dark blue.
i noticed
DIR_COLORS.xterm
and
DIR_COLORS
do they play this role?
Df -h is showing a wrong empty space on my server, for one of the disks:
/dev/sda2 450G 393G 34G 93% /
Cpanel shows that it has only 34GB free, but there is a lot more. A few minutes ago, I removed over 80GB of log files. So, I'm…
I used $HOME/.local as prefix to install some applications without root access. There is one directory inside $HOME/.local that I can't execute ls command:
[tuananh@server lib]$ ls
Segmentation fault
[tuananh@server lib]$ cd ..
[tuananh@server…
I'm using CentOS 7 and trying to list a directory's contents but can't. When I try to list the contents, I get the following output:
[entpnerd@myhost ~]$ ls -ali /data/sharedlogs/otherhost/
ls: cannot access /data/sharedlogs/otherhost/vcs: Not a…